Service user details are not valid/not setup properly. Please verify the configuration.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2022 06:38 AM
Hi Team,
I have Integrated Teams with ServiceNow and Able to chat with Live Agent, When trying to have a call using the /teams_call command/Action getting an error stating below.
Service user details are not valid/not setup properly. Please verify the configuration.
Any help would be appreciated.
Best Regards
Labels:
- Labels:
-
Virtual Agent
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 07:00 AM
Might be too late, but I was facing the same issue and got it resolved by following this steps:
https://docs.servicenow.com/bundle/rome-employee-service-management/page/product/sn-teams/task/authe...
- Log in to Microsoft Azure portal.
- Navigate to Azure Services > Azure Active Directory > Manage > App registrations.
- Click the app created to enable agents to import the conversations from Microsoft Teams to the ServiceNow instance.
Example: ServiceNow Auth app. - Navigate to Manage > Authentication.
- Navigate to Add a platform > Web applications > Web.
- On the Configure Web form, fill the fields.
Redirect URIs: https://<instance-url>/sn_now_teams_ms_login.do
Implicit grant: [x] Access token [x] ID tokens (activate both) - Click Configure
- Navigate to Manage > API Permissions > Add a permission > Microsoft Graph.
- Click Delegated permissions.
- Click Openid permissions accordion, and select email, offline_access, openid, and profile check-boxes.
- Click Add permissions.
- In the API permissions screen, click Grant admin consent for {tenant} link.
- Click Yes on the pop-up dialog box.
- Navigate to Manage > Expose an API.
- Click Set next to Application ID URI, and enter the application URI in the format: api://{instance}.service-now.com/{client_id}
Note: the {client_id} is the client (application) id of the Teams Bot - Click Save.
- Click Add a scope. In the Add a scope form, fill the following fields.
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 - Click Add scope button.
- Navigate to Authorized client applications > Add a client application.
- In the Add a client application form, fill the fields.
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 - Click Add application button.
Next in ServiceNow:
- Notify > Provider Selector > New
- Name: MS Teams
Active: true
Catch-all: true - Save (stay on form)
- Provider Selector Choices (related list) > New
Conference provider: Microsoft Teams - Update