entra-powershell icon indicating copy to clipboard operation
entra-powershell copied to clipboard

Connect-Entra seems to give more Scopes than requested.

Open KentNordstrom opened this issue 7 months ago • 4 comments

Describe the bug If I start a brand new PS console and connect using for example the Scope Group.Read.All... Connect-Entra -TenantId xxxx -Scopes Group.Read.All

And then look at my Context using (Get-EntraContext).Scopes it will show all available scopes assigned to the Enterprise Application Example... ![image](https://github.com/user-attachments/assets/1edfa930-1009-46cf-ae77-1b2177142255

I would expect the Context to only show the "Active" Context.Scopes I currently have available in the session.

KentNordstrom avatar Jul 22 '24 14:07 KentNordstrom