Configure an Azure App Using Microsoft API
Configure an App in Azure Active Directory, then link the App to CSM.
For more information on Microsoft Graph API use in Azure Active Directory, see https://docs.microsoft.com/en-us/azure/active-directory-b2c/microsoft-graph-get-started?tabs=app-reg-ga.
To set up an Azure App for use with Microsoft Graph authentication:
- Go to Azure Active Directory on the Azure Portal. You must be an administrator in the Azure account.
- Add a new App registration.
- In the Supported account types section, select Accounts in this organizational directory only.
- Create the registration.
- In the newly registered App, edit the authentication options.
- Select Add a platform > Mobile and desktop application.
- In the Redirect URLs section, select https://login.microsoftonline.com/common/oauth2/nativeclient, then select the Copy to clipboard icon.
- In the Advanced settings section, enable public client flows.
- Edit the API permissions options.
- Select Add a permission, then select Microsoft Graph.
- Select Delegated permissions.
- Enter mail in the search function under Select permissions. When the search results appear, choose Mail.
- Expand the Mail options and select Mail.Read, Mail.ReadWrite, and Mail.Send.
- Select Enterprise applications at the bottom of the Configured permissions section.
- Select Users and groups from the left menu.
- Select Add user/group, then add the Cherwell admin user account.
- Grant admin consent to the Cherwell admin user.
- Note the Application (client) ID and Directory (tenant) ID of the App you created. Find those IDs in the Overview page of the App under Essentials. You will use those when you set up MS Graph authentication in CSM Administrator.