Double Authentication for Delegated Permission Use on 2.26 or Newer
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- powershell
- Domínio
- authentication
Direção de pesquisa
Comece comparando o comportamento da autenticação delegada entre as versões 2.25 e 2.26 do SDK, usando Connect-MgGraph seguido de Get-MgDevice com o Graph PowerShell Enterprise App padrão. Investigue o segundo prompt intermitente durante o mesmo processo do PowerShell e verifique se a autenticação permanece disponível até que Disconnect-MgGraph seja chamado.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- C#
- Estrelas
- 904
- Forks
- 235
- Merge médio
- 1d 23h
- PRs com merge (30d)
- 22
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de microsoftgraph/msgraph-sdk-powershell
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
microsoftgraph/msgraph-sdk-powershell#3752 ·
Mantenedores costumam responder em até 1 dia
-
status:waiting-for-triage type:bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
microsoftgraph/msgraph-sdk-powershell#3831 ·
Mantenedores costumam responder em até 1 dia
-
status:waiting-for-triage type:feature
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 8/100
microsoftgraph/msgraph-sdk-powershell#3827 ·
Mantenedores costumam responder em até 1 dia
-
status:waiting-for-triage type:bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
microsoftgraph/msgraph-sdk-powershell#3822 ·
Mantenedores costumam responder em até 1 dia
-
Connect-MgGraph on 2.41 crashes when making a connection with cert, fixes when using 2.39 or lowerAbertastatus:waiting-for-triage type:bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
microsoftgraph/msgraph-sdk-powershell#3816 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de microsoftgraph/msgraph-sdk-powershell
Issues semelhantes
-
good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
HicServices/RDMP#2398 ·
-
[Android] Memory leak in MAUI Graphics text drawing and measurement during repeated renderingAbertaarea-drawing platform/android t/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
dotnet/maui#39676 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
is:bug is:FQNIssue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nunit/nunit3-vs-adapter#1527 ·
Mantenedores costumam responder em até 1 dia
-
MySQL: 3.10 Labels/Secrets uniqueness migrations hardcode database `Elsa`, so startup fails when the database has any other nameTalvez já em andamento @sfmskywalker assumiu hoje. Abertaarea:persistence bug elsa 3 persistence prio high triaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
elsa-workflows/elsa-core#9108 ·
Mantenedores costumam responder em até 1 dia