Servicely Administration
...
Messaging Accounts
Azure configuration
4 min
setting up a microsoft oauth2 provider for email authentication more information can be found in microsofts documentation listed below this page will just show the high level flow of the configuration https //docs microsoft com/en us/exchange/client developer/legacy protocols/how to authenticate an imap pop smtp application by using oauth https //docs microsoft com/en us/exchange/client developer/legacy protocols/how to authenticate an imap pop smtp application by using oauth https //docs microsoft com/en us/azure/active directory/develop/v2 oauth2 auth code flow https //docs microsoft com/en us/azure/active directory/develop/v2 oauth2 auth code flow register an application https //docs microsoft com/en us/azure/active directory/develop/quickstart register app https //docs microsoft com/en us/azure/active directory/develop/quickstart register app add new application goto azure portal → active directory → app registrations redirect url you will then need to place a redirect url onto the azure application to do that, please follow the steps below go to azure’s application registration’s overview page and you will find the “redirect uris” link on the right hand side it looks like the following on the “redirect uris” page, click on the “add a redirect uri” link, and on the resulting page, click on “add a platform” and click on the “web” option please populate the “redirect uris” field on azure note that the redirect uri format is https // \[instancename] servicely ai/sso/oauth callback you can also get the redirect uri from the “system oauth provider” record on servicely that you will use to authenticate to this azure application on that servicely provider record, you will see this field and you can copy its value save your changes back on the application registration’s overview page, you will then see the “redirect uris” link now showing “1 web” add a client secret goto certificates & secrets and add a new client certificate you will need to record and save the value of the generated client secret and then place it into servicely’s corresponding “system oauth provider” record’s client secret field