🪲 unable to connect to entra: InvalidOperation: Unable to find type [Microsoft.Graph.PowerShell.Authentication.ContextScope].
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- powershell
- Ambito
- authentication, cli
Direzione di ricerca
Start by reproducing Connect-Entra with Microsoft.Entra.Authentication 1.3.0 on PowerShell 7.4.20, then compare behavior with Microsoft.Graph 2.41.0, which the report says resolves the error. Inspect the Microsoft.Entra.Authentication entry point and its Graph dependency handling; done means Connect-Entra completes without the ContextScope type error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Unable to execute command Connect-Entra. The commands generates the following error:
InvalidOperation: Unable to find type [Microsoft.Graph.PowerShell.Authentication.ContextScope].
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:
- Make sure you can reproduce this issue using the latest released version of
Microsoft.EntraorMicrosoft.Entra.Beta. - Please search the existing issues to see if there has been a similar issue filed.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
- Execute
Connect-Entra
Connect-Entra
invalidOperation: Unable to find type [Microsoft.Graph.PowerShell.Authentication.ContextScope].
- Debug/verbose switches doesn't give any additional information about the error.
- Updating module Microsoft.Graph to the latest version 2.41.0(September 29), did solve the issue
Expected behavior
ability to connect to entra without error
Debug Output
⚠ ATTENTION: Be sure to remove any sensitive information that may be in the logs.
Debug Output
Module Version
| ModuleType | Version | Name |
|---|---|---|
| Script | 1.3.0 | Microsoft.Entra.Authentication |
Environment Data
| Name | Value |
|---|---|
| PSVersion | 7.4.20 |
| PSEdition | Core |
| GitCommitId | 7.4.20 |
| OS | Microsoft Windows 10.0.26100 |
Screenshots
Additional context
- Lingua principale
- PowerShell
- Stelle
- 218
- Fork
- 48
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoftgraph/entra-powershell
-
ToTriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
microsoftgraph/entra-powershell#1617 ·
-
OpenPublishing.Build fails on every PR: monikerMapping.json packageRoot is missing the docs/ prefixApertaToTriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
microsoftgraph/entra-powershell#1616 ·
-
🪲 Characters 0xE2 0x80 0xAF presented in date time signInActivity property when expanded on MacOSApertaToTriage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
microsoftgraph/entra-powershell#1605 ·
-
🪲 Import-Module Microsoft.Entra.Applications / Microsoft.Entra..Beta.Applications throws an error 1.3.0Forse già presa @earbona23 l’ha presa 78 giorni fa. ApertaToTriage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
microsoftgraph/entra-powershell#1603 · 2 commenti · 2 reazioni ·
-
🪲EntraInactiveSignInUser Days LimitationForse già presa @reneemichiko l’ha presa 189 giorni fa. Apertadocumentation
microsoftgraph/entra-powershell#1596 · 1 commento · 1 reazione · 2 assegnatari ·
Tutte le issue di microsoftgraph/entra-powershell
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kunchenguid/gh-axi#275 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 3 giorni
-
fleet-gateway
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
linux-credentials/credentialsd#277 ·
I maintainer di solito rispondono entro 2 giorni