Integration for Employee Experience › Setup for integrating self-configured apps › Setup the Servicenow instance › Integrating ServiceNow with Microsoft Teams and Microsoft 365 › ServiceNow for Microsoft Teams and Microsoft 365 › Unified Employee Experience › Employee Service Management
Create Microsoft Azure application and authenticate users to access Employee Center in Microsoft Teams
Create a Microsoft Azure application in the Microsoft Azure portal to enable agents to start and import the chat conversations, and assign permissions to users to view the Employee Center dashboard in the Microsoft Teams application.
Provide the redirect URI. The redirect URI should be in the following format: `https:///sn_now_teams_ms_login.do` where <instance-url> is the ServiceNow instance URL.
Implicit grant
Select Access tokens and ID tokens.
Image omitted: configure-web-meeting-extensibility02.png Configure web form
Select Configure.
Navigate to Manage > API Permissions > Add a permission > Microsoft Graph.
Select Delegated permissions.
Select Openid permissions accordion, and select email, offline_access, openid, and profile check boxes.
Image omitted: request-api-permissions.png Request API permissions
Select Add permissions.
In the API permissions screen, select the Grant admin consent for {tenant} link.
Select Yes on the pop-up dialog box.
Navigate to Manage > Expose an API.
Select Set against Application ID URI, and enter the application URI in the format: api://<instance>.<domain_name>.com/<client_id>.
Note: The client ID is the application ID from your Microsoft Azure portal.
Select Save.
Select Add a scope.
In the Add a scope form, fill the following fields.
Field
Description
Scope name
access_as_user
Who can consent
Admins and users
Admin consent display name
Teams can access the user’s profile.
Admin consent description
Allows Teams to call the app’s web APIs as the current user.
User consent display name
Teams can access the user profile and make requests on the user's behalf.
User consent description
Enable Teams to call this app’s APIs with the same rights as the user.
State
Enabled
Image omitted: add\_scope02.png Add scope
Select the Add scope button.
Navigate to Authorized client applications > Add a client application.
In the Add a client application form, fill the fields.
Field
Description
Client ID
Microsoft Teams mobile/desktop application:
1fec8e78-bce4-4aaf-ab1b-5451cc387264
Value for Microsoft Teams web application:
5e3ce6c0-2b1f-4285-8d4b-75ee78787346
Authorized scopes
Check the authorized scope
**Note:** For using Employee Center in Microsoft 365 applications, add the following client IDs:
Client ID
Description
4765445b-32c6-49b0-83e6-1d93765276ca
Client ID for Microsoft 365 web application
0ec893e0-5785-4de6-99da-4ed124e5296c
Client ID for Microsoft 365 desktop application
d3590ed6-52b3-4102-aeff-aad2292ab01c
Client ID for Outlook desktop application web application
bc59ab01-8403-45c6-8796-ac3ef710b3e3
Client ID for Outlook web application
27922004-5251-4030-b22d-91ecd9a37ea4
Client ID for Outlook mobile application
For more information on the client IDs, see [Configure your tab app in Microsoft Entra ID](https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/tab-sso-register-aad#to-configure-authorized-client-application) in the Microsoft Teams documentation.
Image omitted: add-client-id.png Add client ID
Select the Add application button.
Copy the Application (client) ID, and Directory (tenant) ID from the application overview page in the Microsoft Azure portal to update the details in the ServiceNow instance.
Image omitted: app-overview-azure-portal.png Application ID and the tenant ID from the app overview page