Step 1: Create the new application

  1. Log into the Azure Management Portal for your Office 365 tenant.
  2. Go to the Azure Active Directory tab and select App Registrations.
  3. Select New Application Registration.
  4. Give the application a name and keep the default selection of Web App / API.
  5. Enter a Sign-on URL (the value does not matter other than being unique) and click Create.
  6. Select your new application from the Registered Applications list.
  7. Go to Required Permissions and click Add.
  8. In the Select an API section, select the Windows Azure Active Directory"application.
  9. In Select Permissions, select the following Application Permissions:
    • Read Directory
  10. After saving, select Grant Permissions to apply the changes.

Step 2: Get the Client ID and Secret Key

  1. To get the ClientID, copy the value from the Application ID in the App Properties tab.
  2. To get a new client secret key, go to Keys in the Registered App menu.
  3. Add a key description and duration.
  4. After saving, you'll get the key.
  5. Store it in a safe location.

The key is shown only once and will not be available again after leaving the page.




  • No labels