Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update-M365DSCAllowedGraphScopes throwing error #2878

Closed
Houdini-007 opened this issue Feb 7, 2023 · 1 comment
Closed

Update-M365DSCAllowedGraphScopes throwing error #2878

Houdini-007 opened this issue Feb 7, 2023 · 1 comment
Labels
Bug Something isn't working Core Engine Planner

Comments

@Houdini-007
Copy link

Hey all,

I'm having issues with the command: Update-M365DSCAllowedGraphScopes
https://microsoft365dsc.com/user-guide/cmdlets/Update-M365DSCAllowedGraphScopes/

Running the command:
Update-M365DSCAllowedGraphScopes -All -Type 'Read' -Environment 'Global'

Throws error:
Connect-MgGraph : AADSTS650053: The application 'Microsoft Graph PowerShell' asked for scope 'Tasks.Read.All' that doesn't exist on the resource '00000003
-0000-0000-c000-000000000000'. Contact the app vendor.
Trace ID: 8fc6b634-231d-452e-9ed1-750676ee9f00
Correlation ID: a2edfaae-ccd0-4b55-bced-50b2e538f67d
Timestamp: 2023-02-07 14:15:29Z
At C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.23.201.1\modules\M365DSCPermissions.psm1:392 char:15
$result = Connect-MgGraph @params -Environment $Environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: (:) [Connect-MgGraph], MsalServiceException
FullyQualifiedErrorId : Microsoft.Graph.PowerShell.Authentication.Cmdlets.ConnectMgGraph

Any idea or suggestions are welcome.

@andikrueger andikrueger added Bug Something isn't working Core Engine Planner labels Feb 13, 2023
@andikrueger
Copy link
Collaborator

Closed by #2874

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Core Engine Planner
Projects
None yet
Development

No branches or pull requests

2 participants