O365OrgSettings: Request to separate out ToDo settings
Description of the issue
We have an error present in both latest and earlier versions around the export of the admin/todo settings.
Error Log created at {file://C:/Users/VSSADM~1/AppData/Local/Temp/5844-M365DSC-ErrorLog.log}
WARNING: Could not retrieve the Microsoft To Do settings. The ToDo properties are skipped. Error: UnknownError:
Testing the API manually by invoking GET to https://graph.microsoft.com/beta/admin/todo we get the response:
Invoke-MgGraphRequest: GET https://graph.microsoft.com/beta/admin/todo
HTTP/2.0 500 Internal Server Error
We have investigated with Microsoft who have confirmed as the API is in beta, there is no formal support for this and until v1.0 of the API is raised there is no way forward. Reading online, seems other tenants are experiencing this and we've confirmed across three of our own tenants.
I'd like to propose to split the todo settings into its own component under the O365 resource header so it can be excluding from our configuration to prevent the error.
Microsoft 365 DSC Version
v2.26.1104.1
Which workloads are affected
Office 365 Admin
The DSC configuration
Export-M365DSCConfiguration `
-ApplicationId "$(appID)" `
-TenantId "$(tenantDomain)" `
-CertificateThumbprint "$(certificateThumbprint)" `
-Workloads @(
"AAD", "ADO", "AZURE", "COMMERCE", "DEFENDER", "EXO",
"FABRIC", "INTUNE", "O365", "OD", "PLANNER", "PP",
"SC", "SENTINEL", "SH", "SPO", "TEAMS", "VIVA"
) `
-Mode Full `
-Validate `
-Path $snapshotPath `
-FileName "devTenantSnapshot.ps1" `
-ConfigurationName "DevTenantSnapshot" `
-WithStatistics
Verbose logs showing the problem
[2026/11/11 15:30:45]
{ResourceUnavailable}
Mgx.Engine.Models.GraphServiceException: UnknownError:
at Mgx.Cmdlets.Cmdlets.InvokeMgxRequest.ExecuteGet(String relativeUri, String sourceId) in D:\a\mgx\mgx\src\Mgx.Cmdlets\Cmdlets\InvokeMgxRequest.cs:line 562
"Error retrieving O365OrgSettings To Do Settings"
at Invoke-M365DSCGraphRequest, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Modules\M365DSCUtil.psm1: line 3084
at GetOrgSettingsToDo, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Classes\Part11.psm1: line 8593
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Classes\Part11.psm1: line 8164
at Invoke-M365DSCCommand, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Modules\M365DSCErrorHandler.psm1: line 352
at Get, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Classes\Part11.psm1: line 8164
at GetForExport, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Classes\_Shared.psm1: line 1224
at Export, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Classes\Part11.psm1: line 8546
at Invoke-M365DSCResourceMethod, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Classes\_Shared.psm1: line 1611
at <ScriptBlock>, <No file>: line 136
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Modules\M365DSCReverse.psm1: line 1073
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\2.26.1104.1\Modules\M365DSCExportUtil.psm1: line 510
at <ScriptBlock>, D:\a\_temp\3902508e-834f-4e97-8922-0b4970afd986.ps1: line 22
at <ScriptBlock>, <No file>: line 1
Environment Information + PowerShell Version
Microsoft have confirmed that ToDo is being deprecated come June 2027:
https://support.microsoft.com/en-au/planner/to-do-to-planner