You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot use this script, it returns errors on both getting the auth token, and retrieving data.
At first I get this error:
See https://aka.ms/msal-net-invalid-client for details. Original exception:
AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
When I modify the script to provide a client secret, and I change the line as mentioned above, I then get this error:
Line 335 in Get-IntuneManagedDeviceBitLockerKeyPresence.ps1 should look like:
$BitLockerRecoveryKeys = Invoke-MSGraphOperation -Get -APIVersion "v1.0" -Resource "informationProtection/bitlocker/recoveryKeys?`$select=id,createdDateTime,deviceId" -Headers $AuthenticationHeader -Verbose:$VerbosePreference
The text was updated successfully, but these errors were encountered: