You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
When trying Update-M365DSCAllowedGraphScopes -All -Type Update -Environment 'Global' I got the error
Connect-MgGraph : AADSTS650053: The application 'Microsoft Graph PowerShell' asked for scope 'Tasks.ReadWrite.All' that doesn't exist on the resource
'00000003-0000-0000-c000-000000000000'. Contact the app vendor.
Trace ID: 23c55fe0-3ccf-4a59-ab41-e13665e73200
Correlation ID: 4638e2c3-2663-466b-90c5-655972d00f9e
Verbose logs showing the problem
Verbose is fine. Last statement is Connecting to MS Graph to update permissions
Suggested solution to the issue
As the MS Doc shows, the Permission with ".all" ending does not exist.
The Permissions without ".All" refer to exchange and not planner applications
I changed the settings of the planner module as follows (in all files):
{
"name": "NotSupported",
"_comment": "Tasks.Read.All - Task.Read is Exchange"
}
And add following to the function Get-M365DSCCompiledPermissionList:
No sure I fully understand the problem at hand. I agree that there is a bug in that the permissions Tasks.Read.All and Tasks.ReadWrite.All do not exist. However, replacing those by the Tasks.Read and Tasks.ReadWrite permissions in the settings.json file will take care of the issue. Not sure why we need to add support for unsupported types.
Details of the scenario you tried and the problem that is occurring
When trying
Update-M365DSCAllowedGraphScopes -All -Type Update -Environment 'Global'
I got the errorConnect-MgGraph : AADSTS650053: The application 'Microsoft Graph PowerShell' asked for scope 'Tasks.ReadWrite.All' that doesn't exist on the resource
'00000003-0000-0000-c000-000000000000'. Contact the app vendor.
Trace ID: 23c55fe0-3ccf-4a59-ab41-e13665e73200
Correlation ID: 4638e2c3-2663-466b-90c5-655972d00f9e
Verbose logs showing the problem
Verbose is fine. Last statement is
Connecting to MS Graph to update permissions
Suggested solution to the issue
As the MS Doc shows, the Permission with ".all" ending does not exist.
The Permissions without ".All" refer to exchange and not planner applications
I changed the settings of the planner module as follows (in all files):
And add following to the function Get-M365DSCCompiledPermissionList:
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Not important
Version of the DSC module that was used ('dev' if using current dev branch)
last release (Install Module)
The text was updated successfully, but these errors were encountered: