Obtain an Azure app ID for the BEMS-Connect, BEMS-Presence, and BEMS-Docs component service
Azure
app ID for the BEMS-Connect
, BEMS-Presence
, and BEMS-Docs
component serviceWhen your environment is configured for
Skype for Business Online
, Microsoft
SharePoint Online
, Microsoft OneDrive for Business
, or Microsoft
Azure
-IP you must register the BEMS
component services in Azure
. You can register one or more of the services in Azure. In this task, the Connect
, Presence
, and Docs
services and Microsoft
Azure
-IP are registered in Azure.If you configure the
Connect
service, you can enable the conversation history to allow users to access conversations that are saved in the Conversation History folder of the user's Microsoft
Exchange
mailbox. Saving the conversation history is supported in the following environments:
- Users in aSkype for Businesson-premises environment that have mailboxes on an on-premisesMicrosoft Exchange Server
- Users in aSkype for Business Onlineenvironment that have mailboxes on an on-premisesMicrosoft Exchange Server
- Users in aSkype for Business Onlineenvironment that have mailboxes onMicrosoft Office 365
Saving the conversation history is not supported in an on-premises
Skype for Business
environment where users have mailboxes on Microsoft Office
365
. To grant permissions, you must use an account with tenant administrator permissions.
- 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. For example, AzureAppIDforBEMS.
- Select a supported account type.
- In theRedirect URIdrop-down list, selectWeband enterhttps://localhost:8443.
- ClickRegister.
- Record theApplication (client) ID.This is used as the following in theBEMSdashboard:
- BlackBerry BEMS Connect/Presence Service App IDvalue theBEMSdashboard for theBlackBerry Connectservice
- BlackBerry BEMS Connect/Presence Service App IDvalue for thePresenceservice
- BEMS Service Azure Application IDvalue for the Docs > Settings service
- In theManagesection, clickAPI permissions.
- ClickAdd a permission.
- In theSelect an APIsection, clickAPIs my organization uses.
- If your environment is configured forAzure-IP, search for and clickMicrosoft Information Protection Sync Service. Set the following permission:
- In delegated permissions, select theRead all unified policies a user has access tocheckbox (UnifiedPolicy > UnifiedPolicy.User.Read).
- ClickAdd permissions.
- ClickAdd a permission.
- Complete one or more of the following tasks:ServicePermissionsIf you configureBEMS-Connectto useSkype for Business Online
- Click theMicrosoft APIstab.
- ClickSkype for Business.
- Set the following permissions:
- In application permissions, select all of the permissions.
- ClickApplication permissions.
- Clickexpand all. Make sure that all options are selected.
- In delegated permissions, select all of the permissions
- ClickDelegated permissions.
- Clickexpand all. Make sure that all options are selected.
- ClickAdd permissions.
- If you enable saving the conversation history, complete the following steps:
- On theAPI permissionspage, clickAdd a permission.
- In theSelect an APIsection, clickMicrosoft APIstab.
- ClickExchange.
- In delegated permissions, select theAccess mailboxes as the signed-in user via Exchange Web Servicescheckbox (EWS > EWS.AccessAsUser.All)
- ClickAdd permissions.
If you configureBEMS-Presenceto useSkype for Business Online- Search for and clickSkype for Business.
- Set the following permissions:
- In application permissions, select all of the permissions.
- ClickApplication permissions.
- Clickexpand all. Make sure that all options are selected.
- In delegated permissions, select all of the permissions.
- ClickDelegated permissions.
- Clickexpand all. Make sure that all options are selected.
- ClickAdd permissions.
If you configureBEMS-Docsto useMicrosoft SharePoint OnlineorMicrosoft OneDrive for Business- Search for and clickSharePoint.
- Set the following permissions:
- In application permissions, clear all of the permissions.
- ClickApplication permissions.
- Click expand all. Make sure that all options are cleared.
- In delegated permissions, select theRead and write items and item lists in all site collectionscheckbox. None. Clear the check boxes for all options.
- Delegated permissionsSelect theRead and write items and lists in all site collectionscheckbox. (AllSite > AllSites.Manage)
- ClickAdd permissions.
If you useMicrosoft Azure-IP- ClickMicrosoft Graph. IfMicrosoft Graphis not listed, addMicrosoft Graph.
- Set the following permissions:
- In application permissions, select theRead directory datacheckbox (Directory > Directory.Read.All).
- In delegated permissions, select theRead directory datacheckbox (Directory > Directory.Read.All).
- ClickUpdate permissions.
- Wait a few minutes, then clickGrant admin consent. ClickYes.This step requires tenant administrator privileges.
- To allow autodiscovery to function as expected, set the authentication permissions. Complete the following steps:
- In theManagesection, clickAuthentication.
- Under theImplicit grantsection, select theID Tokenscheckbox.
- In theDefault client type, selectNo.
- ClickSave.
- Define the scope and trust for this API. In theManagesection, clickExpose an API. Complete the following tasks.TaskStepsAdd a scopeThe scope restricts access to data and functionality protected by the API.
- ClickAdd a scope.
- ClickSave and continue.
- Complete the following fields and settings:
- Scope name: Provide a unique name for the scope.
- Who can consent: ClickAdmins and user.
- Admin consent display name: Enter a descriptive name.
- Admin consent description: Enter a description for the scope.
- State: ClickEnabled. By default, the state is enabled.
- ClickAdd Scope.
Add a client applicationAuthorizing a client application indicates that the API trusts the application and users shouldn't be prompted for consent.- ClickAdd a client application.
- In theClient IDfield, enter the client ID that you recorded in step 9 above.
- Select theAuthorized scopescheckbox to specify the token type that is returned by the service.
- ClickAdd application.
- In theManagesection, clickCertificates & secretsand add a client secret. Complete the following steps:
- ClickNew client secret.
- In theDescriptionfield, enter a key description up to a maximum of 16 characters including spaces.
- Set an expiration date (for example, In 1 year, In 2 years, Never expires).
- ClickAdd.
- Copy the keyValue.The Value is available only when you create it. You cannot access it after you leave the page.This is used as theBlackBerry BEMS Connect/Presence Service App Keyvalue in theBEMS-ConnectandBEMS-Presenceservices andBEMS Service Application Keyin theBEMS-Docsservice in theBEMSDashboard.