Skip Navigation

Obtain an
Entra
app ID for
BEMS
with credential or passive authentication

If you need to obtain multiple
Entra
app IDs (for example,
Docs
and
BlackBerry Work
), it is recommended that you create a separate app ID for each app.
  1. In the left column, click
    Applications > App registrations
    .
  2. Click
    New registration
    .
  3. In the
    Name
    field, enter a name for the app.
  4. Select a supported account type.
  5. In the
    Redirect URI
    section, 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). Make sure that the Redirect URL matches the URL to the dashboard or authentication might not work as expected.
    • For credential authentication, select
      Web
      and enter
      https://localhost:8443
      .
    • For passive authentication, select
      Public client/native (mobile & desktop)
      and enter the URL that you use to access the
      BEMS
      Dashboard.
      • If you access the
        BEMS
        Dashboard from the computer that hosts the
        BEMS
        instance, enter
        https://localhost:8443
        .
      • If you access the
        BEMS
        Dashboard remotely, enter
        https://
        <FQDN of the computer that hosts the BEMS instance>
        :8443
        .
  6. Click
    Register
    .
  7. In the
    Manage
    section, click
    API permissions
    .
  8. In the
    Configured permissions
    section, click
    Microsoft Graph
    .
  9. Set the following permissions:
    • For
      Microsoft Exchange Web Services
      : Access mailboxes as the signed-in user via Exchange Web Services (
      EWS > EWS.AccessAsUser.All
      )
    • For
      Microsoft Graph
      : For Sign in and read user profile (
      User > User.Read
      ).
  10. Click
    Add permissions
    .
  11. Click
    Grant admin consent
    . Click
    Yes
    .
    This step requires tenant administrator privileges.
  12. To allow autodiscovery to function as expected, set the authentication permissions.
    1. In the
      Manage
      section, click
      Authentication
      .
    2. Under the
      Allow public client flows
      section, select
      Yes
      to
      Enable the following mobile and desktop flows
      .
    3. Click
      Save
      .
  13. Click
    Overview
    . Copy the
    Application (client) ID
    . The Application (client) ID is displayed in the main
    Overview
    page for the specified app. This is used as the
    Client application ID
    when you enable modern authentication and configure
    BEMS
    to communicate with
    Microsoft 365
    .