User not authorized error when connecting MS Teams to Jira
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
問題
During the authorization process within MS teams, after putting in the Jira ID and clicking connect, the authorization button is greyed out and a "User not authorized" message appears at the bottom of the pop-up.
The following appears in the atlassian-jira
.log
2021-09-24 10:41:25,718-0700 OkHttp https://msteams-jira-server.service.signalr.net/... ERROR user@example.com 602x439492x1 1lpl1qn 1.2.3.4 /plugins/servlet/signalr/reconnect [c.m.teams.service.MessageService] Invalid JWT token診断
診断ステップ
Enable DEBUG logging for com.microsoft.teams.utils and look for an error such as this in atlassian-jira.log.
[c.m.teams.utils.ExceptionHelpers] RestOperations hasValidSignature org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://login.microsoftonline.com/organizations/discovery/v2.0/keys": PKIX path building failed:
原因
This is caused by an invalid certificate path for the "https://login.microsoftonline.com/organizations/discovery/v2.0/keys" endpoint, often due to use of a self-signed certificate or a proxy.
ソリューション
ソリューション
Utilize the instructions in the Unable to connect to SSL services due to "PKIX Path Building Failed" error article to troubleshoot and fix the issue.
この内容はお役に立ちましたか?