Obtain an Entra app ID for BEMS with credential or passive authentication
Entra
app ID for BEMS
with credential or passive authentication- Sign in to portal.azure.com.
- In the left column, clickMicrosoft Entra ID.
- 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, clickMicrosoft Graph.
- Set the following permissions:
- ForMicrosoft Exchange Web Services: Access mailboxes as the signed-in user via Exchange Web Services (EWS > EWS.AccessAsUser.All)In 2022,Microsoftstarted to deprecate theMicrosoft Exchange Web Services(EWS) forMicrosoft Exchange OnlineAPIs replacing the EWS withMicrosoft Graphand this permission may not be available. For more information, visit techcommunity.microsoft.com and read 'Upcoming API Deprecations in Exchange Web Services for Exchange Online'.
- ForMicrosoft Graph: For Sign in and read user profile (User > User.Read).
- ClickUpdate 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 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.