MSEndpointMgr / Intune

Microsoft Intune scripts
MIT License
644 stars 243 forks source link

Fix token check and URL in Get-IntuneManagedDeviceBitLockerKeyPresence.ps1 #37

Open Rocketcandy opened 2 years ago

Rocketcandy commented 2 years ago

Fix for: https://github.com/MSEndpointMgr/Intune/issues/36

Update the check for expiration of $Header["ExpiresOn"]

Update the URL for bitlocker to use the new one: https://docs.microsoft.com/en-us/graph/api/bitlockerrecoverykey-get?view=graph-rest-beta&tabs=http