ServiceNow for Microsoft 365アプリをTeamsに設定したら、Portal画面が表示されない

NatsukiO
Tera Expert

NatsukiO_0-1757638181007.png

ServiceNow for Microsoft 365でPortalが開けずエラーが表示されます原因と解決の機会を知りたい。
エラー:「ユーザー認証中にエラーが発生しました」
ーーーーーーーーーーーーーーーーーーーーーーーー
考えられる原因は、以下。
Azure Portalのアプリにインストールした[SSO and Activity Notification]のAPIの要求の値[TeamsActivity.send]を削除。(権限が強いため一時的に削除)
・カスタムポータルの埋め込みを実施。ESCポータル⇒XXサービスポータルに変更
・sys_properties>sn_now_teams.portal.suffix >suffix>Value>XXspに設定
 ※空の場合は標準でESCポータルになる。

 ーーーーーーーーーーーーーーーーーーーーーーーー

============English👇============

I can't open Portal in ServiceNow for Microsoft 365 and I get an error. I want to know the cause and the opportunity to resolve it.
Error: "An error occurred while authenticating user"
----
Possible causes are as follows:
- Deleted the API request value [TeamsActivity.send] installed in the Azure portal app. (Temporarily deleted due to strong permissions)
- Custom portals have been embedded. ESC Portal ⇒ Change to XX Service Portal
・Set to sys_properties>sn_now_teams.portal.suffix>suffix>Value>XXsp
*If it is empty, it will be the ESC portal as standard.

----

 

 
 

 

2 REPLIES 2

Rafael Batistot
Kilo Patron

Hi @NatsukiO 

 

This solution might help you 

 

https://www.servicenow.com/community/itsm-forum/dear-now-developers-i-m-facing-quot-user-authenticat...

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.

M Iftikhar
Tera Sage


Hi @NatsukiO 

I’ve come across a couple of similar cases in the ServiceNow Community where the ServiceNow for Microsoft 365 (Teams) app showed the error “An error occurred while authenticating user”. These might be helpful references:

In this case, the issue was due to a mismatch between Azure AD UPN and the ServiceNow user email. Adjusting the OIDC claim mapping resolved the authentication problem.
https://www.servicenow.com/community/ms-teams-forum/quot-error-while-authorizing-the-user-quot-facin...

Here, the error was also authentication-related. The resolution involved verifying that Azure AD attributes (UPN/email) were properly aligned with the ServiceNow user table.
https://www.servicenow.com/community/developer-forum/teams-tab-is-not-working-to-access-servicenow-p...

Thanks & Regards, 
Muhammad Iftikhar 

If my response helped, please mark it as the accepted solution so others can benefit as well.


Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.