chore: updated scopes for import policies
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
# Connect to Microsoft Graph
|
# Connect to Microsoft Graph
|
||||||
Connect-MgGraph -Scopes "DeviceManagementConfiguration.ReadWrite.All" -NoWelcome
|
Connect-MgGraph -Scopes "DeviceManagementConfiguration.ReadWrite.All", "Organization.Read.All" -NoWelcome
|
||||||
|
|
||||||
# Get Tenant ID
|
# Get Tenant ID
|
||||||
$tenant = Get-MgOrganization
|
$tenant = Get-MgOrganization
|
||||||
|
Reference in New Issue
Block a user