chore: updated scopes for import policies

This commit is contained in:
2025-03-06 11:28:26 +10:00
parent c81f960617
commit 8cb347868d

View File

@ -1,5 +1,5 @@
# Connect to Microsoft Graph
Connect-MgGraph -Scopes "DeviceManagementConfiguration.ReadWrite.All" -NoWelcome
Connect-MgGraph -Scopes "DeviceManagementConfiguration.ReadWrite.All", "Organization.Read.All" -NoWelcome
# Get Tenant ID
$tenant = Get-MgOrganization