Hi
intune/Export & Import Policies/Export-Intune-Policies.ps1
Line 38 change
| Connect-MgGraph -Scopes "Policy.Read.All","DeviceManagementConfiguration.Read.All"
to
| Connect-MgGraph -Scopes "Policy.Read.All","DeviceManagementConfiguration.Read.All","DeviceManagementScripts.Read.All"
Otherwise it throws a 403 on several sections.
Regards
Damian
Hi
intune/Export & Import Policies/Export-Intune-Policies.ps1
Line 38 change
| Connect-MgGraph -Scopes "Policy.Read.All","DeviceManagementConfiguration.Read.All"
to
| Connect-MgGraph -Scopes "Policy.Read.All","DeviceManagementConfiguration.Read.All","DeviceManagementScripts.Read.All"
Otherwise it throws a 403 on several sections.
Regards
Damian