Microsoft Azure Registration

How to register OAuth 2.0 for Microsoft Azure

Application Registration

  • Open Azure Portal website
  • Select "App Services"
  • Select "App registrations"
  • Select "+ New registration"
  • Enter any name, e.g. "SOFA Application"
  • Add the API permissions required by your application

Create Client Secret

  • Select "Add a certificate or secret"
  • Select "+ New client secret"
  • Enter any desription e.g. "SOFA Client", set the expiration and press "ADD"

SOFA Parameters

Set the calling arguments in the SOFA class as follows:
Microsoft AD
SOFA Argument Example (MS 365 Outlook)
Authorization Server
https://login.microsoftonline.com/11111111-2222-3333-4444-55555555555/oauth2/v2.0/token
Authorization Scope
https://outlook.office365.com/.default
Client ID/Secret
66666666-7777-888-9999-11111111111
Client Secret/Value
puG8Qak340dhfnskfrieuhnfe3dr.456saa.O