Obtain an Azure app ID for BEMS with credential or passive authentication
Azure
app ID for BEMS
with credential or passive authenticationIf you need to obtain multiple
Azure
app IDs (for example, Docs
, BlackBerry Work
, and BlackBerry Connect
), it is recommended that you create a separate app ID for each app.- Sign in to portal.azure.com.
- In the left column, clickAzure Active Directory.
- ClickApp registrations.
- ClickNew registration.
- In theNamefield, enter a name for the app.
- Select a supported account type.
- In theRedirect URIsection, in the drop-down list, selectWeband enterhttps://localhost:8443
- ClickRegister. The new registered app appears.
- In theManagesection, clickAPI permissions.
- ClickAdd a permission.
- In theSelect an APIsection, clickMicrosoft APIstab.
- ClickExchange.
- Set the following permissions forMicrosoft Exchange Web Services:
- Delegated permissions: Access mailboxes as the signed-in user via Exchange Web Services (EWS > EWS.AccessAsUser.All)
- Select theAdd permissions.
- ClickAdd a permission.
- ClickMicrosoft Graph. If theMicrosoft GraphAPI permission is not listed, addMicrosoft Graph.
- Set the following permissions forMicrosoft Graph.
- Delegated permissions: Sign in and read user profile (User > User.Read).
- Click one of the following:
- If theMicrosoft GraphAPI permission existed in the API permissions list, clickUpdate permissions.
- If you needed to add theMicrosoft GraphAPI permission, clickCreate.
- ClickAdd a permissions.
- ClickGrant admin consent. ClickYes.This step requires tenant administrator privileges.
- To allow autodiscovery to function as expected, set the authentication permissions.
- In theManagesection, clickAuthentication.
- Under theImplicit grantsection, select theID Tokenscheckbox.
- In theDefault client type, selectYes.
- ClickSave.
- ClickOverview. Copy theApplication (client) ID. The Application (client) ID is displayed in the mainOverviewpage for the specified app. This is used as theClient application IDwhen you enable modern authentication and configureBEMSto communicate withMicrosoft Office 365.