Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 Step 1: Create the new application

  1. Log into the Azure Management Portal for your Office 365 tenant.
  2. Go to

...

  1. the Azure Active Directory

...

  1. tab and select App Registrations.
  2. Select

...

Image Removed

...

Image Removed

  • Select Add an application my organization is developing.

Image Removed

  • Set "Aspire AAD Group Expander" as the application name and "Web application and/or web api" as application type.
  • Click the arrow.

Image Removed

Image Removed

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

Step 2: Get the Client ID and Secret Key

  • Go to Configure.

Image Removed

  • Scroll down until you find the Client ID and the "Keys" Section.
  • First copy and save the Client ID.
  • Then select the duration for the new key.

Image Removed

  • Click Save.

Image Removed

  • You'll now see the Client Key and it's expiration date.
  • Copy this key and save it. It'll not appear again after you leave the page

Image Removed

Step 3: Application Permissions

...

  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.
Note

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

...

.