Closed LDP-KStill closed 4 months ago
Confirmed this fixes it for me. Resolves #9
lgtm. Thanks @LDP-KStill
lgtm. Thanks @LDP-KStill
By chance, does the auth button code also need the quotes on permissions? Changed to like the below?
$AuthenticateButton.Add_Click({ try { Connect-MgGraph -Scopes "Device.Read.All", "DeviceManagementManagedDevices.ReadWrite.All", "DeviceManagementServiceConfig.ReadWrite.All" -ErrorAction Stop $context = Get-MgContext
Missing two quotation marks