Teams Tab is not working to access service portal

Zuzanna Trochim
Tera Expert

Hello,

When integrating MS Teams with ServiceNow the custom portal is not displaying in the chat tab. The error states: "Error while authorizing the user". UPN is the same as user email, integration with virtual agent works, the bot is responsive, the link within the tab is re-directing to the correct portal and the system property  sn_now_teams.portal.suffix is set up correctly.

Any suggestions appreciated 🙂

Thanks,

Zuza

1 ACCEPTED SOLUTION

Zuzanna Trochim
Tera Expert

After long troubleshooting we found that the upn user claim was not one of the supported claims, after Azure admin added it in token configuration of the App, the portal started working.

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

Hi @Zuzanna Trochim ,

 

Please try to set the system property glide.set_x_frame_options to "false" to show the custom portal on Teams.

Test the connectivity after making the above changes.

 

Please refer to the below posts from community if above solution doesn't work.

Follow the steps to solve the issue-

https://www.servicenow.com/community/developer-forum/teams-tab-is-not-working-to-access-servicenow-p...

 

https://www.servicenow.com/community/virtual-agent-nlu-forum/quot-servicenow-for-teams-quot-employee...

 

If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!

 

Thanks & Regards,

Sanjay Kumar

Hi Sanjay, thank you for the reply.

We have this property set to “false” and tried the approaches from the two links, unfortunately the issue still persists.

Zuzanna Trochim
Tera Expert

After long troubleshooting we found that the upn user claim was not one of the supported claims, after Azure admin added it in token configuration of the App, the portal started working.

Hello, this is Korea.

I'm checking for the same issue.

Can you show me a detailed description or reference screen of what you did with the Azure portal?