# Microsoft Azure Registration

### Application Registration

* Open [Azure Portal](https://portal.azure.com) 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&#x20;

### 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:

<table><thead><tr><th width="214">Microsoft AD</th><th>SOFA Argument Example (MS 365 Outlook)</th></tr></thead><tbody><tr><td>Authorization Server<br></td><td>https://login.microsoftonline.com/11111111-2222-3333-4444-55555555555/oauth2/v2.0/token</td></tr><tr><td>Authorization Scope</td><td>https://outlook.office365.com/.default</td></tr><tr><td>Client ID/Secret</td><td>66666666-7777-888-9999-11111111111</td></tr><tr><td>Client Secret/Value</td><td>puG8Qak340dhfnskfrieuhnfe3dr.456saa.O</td></tr></tbody></table>
