Double Authentication for Delegated Permission Use on 2.26 or Newer
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- powershell
調査の方向性
まず、既定の Graph PowerShell Enterprise App で Connect-MgGraph に続けて Get-MgDevice を使用し、SDK バージョン 2.25 と 2.26 の間で委任認証の動作を比較します。同じ PowerShell プロセス中に断続的に発生する 2 回目のプロンプトを調査し、Disconnect-MgGraph が呼び出されるまで認証が利用可能なままであることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When using Connect-MgGraph simply with the default Graph PowerShell Enterprise App on any version 2.26 or newer, specifically, when using with delegated permissions there seems to be an intermittent double auth prompt. I can't repro this at will, but I've confirmed it in both my corporate environment, personal PC environment, and corroborated with members of the PowerShell community via discord who also confirmed they've seen it as well.
Expected behavior
Single auth prompt should be persistent for the length of the PowerShell process session unless Disconnect-MgGraph is otherwise called.
How to reproduce
- Connect-MgGraph (no other parameters are required to repro since this is delegated permission use with auth code flow on the default Graph PowerShell enterprise app)
- Auth like normal using an account that has access and proper AAD role for delegated permission use (such as Directory.ReadWrite.All)
- After successful auth, run a subsequent cmdlet from the module (e.g. Get-MgDevice)
- Intermittently, it will prompt for auth again
SDK Version
2.26
Latest version known to work for scenario above?
2.25
Known Workarounds
Deal with double authentication prompts.
Debug output
No response
Configuration
No response
Other information
Don't quote me on whether this started with 2.25 or 2.26, it was right at the turn of the new year. It definitely never occurred on 2.24
- 主要言語
- C#
- スター
- 901
- フォーク
- 232
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 29
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoftgraph/msgraph-sdk-powershell のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoftgraph/msgraph-sdk-powershell#3752 ·
メンテナーはふだん 2 日以内に返信
-
status:waiting-for-triage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
microsoftgraph/msgraph-sdk-powershell#3822 ·
メンテナーはふだん 2 日以内に返信
-
Microsoft.Graph.Authentication dependency Microsoft.Graph.Authentication.Loader.dll is unsignedオープンstatus:waiting-for-triage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoftgraph/msgraph-sdk-powershell#3819 ·
メンテナーはふだん 2 日以内に返信
-
Connect-MgGraph on 2.41 crashes when making a connection with cert, fixes when using 2.39 or lowerオープンstatus:waiting-for-triage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoftgraph/msgraph-sdk-powershell#3816 ·
メンテナーはふだん 2 日以内に返信
-
status:waiting-for-triage type:feature
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoftgraph/msgraph-sdk-powershell#3806 · コメント 3 件 · リアクション 3 件 ·
メンテナーはふだん 2 日以内に返信
microsoftgraph/msgraph-sdk-powershell の issue をすべて見る
似ている issue
-
area-signalr
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
dotnet/aspnetcore#69842 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
bug needs-triage
難易度 2/5 1時間未満 初心者へのやさしさ 78/100
microsoft/microsoft-ui-reactor#1373 ·
メンテナーはふだん 1 日以内に返信
-
Client customer-reported KeyVault needs-team-attention question Service Attention
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Azure/azure-sdk-for-net#63861 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信