The Zurich release has arrived! Interested in new features and functionalities? Click here for more

"Error while authorizing the user" - Facing error while accessing Employee Centre on MS Teams

AnishGhosh
Tera Contributor

Hi All,

We are currently implementing MS Teams/Outlook integration with Servicenow. Our target is the following :

1) Servicenow Employee Centre must be available with all its facilities in MS Teams/Outlook

2) End users should be able to create MS Teams chat for particular Incidents and chat history should be available on SOW incident activities.

 

We have installed the Microsoft Integrations - Core plugin and created a manifest in SNOW. The we uploaded the manifest in admin.teams.microsoft.com . Now the Servicenow for Microsoft 365 app is available in MS Teams/Outlook. 

But the issue is that when we are trying to click on the Employee Centre tab in MS Teams we are getting the following error : Error while authorizing the user

 

I understand that this is a cred issue and the system is failing to authenticate. But how can i resolve this.

I have attached a screenshot for your reference.

Any help is appreciated.

2 ACCEPTED SOLUTIONS

Raguram1
ServiceNow Employee
ServiceNow Employee

hi @AnishGhosh 

See this article for reference to the error

 

Thanks,

Ragu

View solution in original post

Raguram1
ServiceNow Employee
ServiceNow Employee

You need to understand what is the UPN in azure end. The way this works is

Azure send UPN in the request token. We pull that information and compare with sys_user fields. OOB we have set it to email field. 

View solution in original post

13 REPLIES 13

Raguram1
ServiceNow Employee
ServiceNow Employee

hi @AnishGhosh 

See this article for reference to the error

 

Thanks,

Ragu

Hi @Raguram1 ,

What is oidc_provider_configuration User claim and User field , how do i ensure that they point to the correct value?

 

Raguram1
ServiceNow Employee
ServiceNow Employee

Go to oidc_provider_configuration table and check for configuration that got created for SSO app. within that record you will find user claim and user field values. 

Hi @Raguram1 ,

Please see attached screenshot. These are the values that got created. Any changes needed to be done?