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
and BlackBerry Work
), 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, complete one of the following tasks. The Redirect URI is the URL that the user is redirected to after they successfully authenticate to the identity provider (IDP).Important: Make sure that the Redirect URL matches the URL to the dashboard or authentication might not work as expected.
- For credential authentication, selectWeband enterhttps://localhost:8443.
- For passive authentication, selectPublic client/native (mobile & desktop)and enter the URL that you use to access theBEMSDashboard.
- If you access theBEMSDashboard from the computer that hosts the BEMS instance, enterhttps://localhost:8443.
- If you access theBEMSDashboard remotely, enterhttps://.<FQDN of the computer that hosts the BEMS instance>:8443
- ClickRegister. The new registered app appears.
- In theManagesection, clickAPI permissions.
- In theConfigured permissionssection, ifMicrosoft Graphis listed, clickMicrosoft Graph. If it is not listed, addMicrosoft Graph.
- Set the following permissions:
- ForMicrosoft Exchange Web Services: Access mailboxes as the signed-in user via Exchange Web Services (EWS > EWS.AccessAsUser.All)
- ForMicrosoft Graph: For 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.
- 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 theAllow public client flowssection, selectYestoEnable the following mobile and desktop flows.
- 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.