How to get devices with missing bitlocker key in azure/intune

eli sorow 46 Reputation points
2023-11-23T08:37:37.1633333+00:00

Hello,

is there anyway to have the information : bitlocker key presence per device ?

the Get bitlockerRecoveryKey cmdlet does not help

Get-MgInformationProtectionBitlockerRecoveryKey give all the key but if the device has not escrow the key it is useless.

the goal is to get devices that have not the bitlocker key in azure

having all key per device will be helpfull to get device with missing key.

thank you for your help

BR

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
{count} vote

1 answer

Sort by: Most helpful
  1. Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
    2023-11-23T17:57:06.9933333+00:00

    The cmdlet does allow filtering per device, though executing it that way will take a lot more time. Just in case, here's how to do it:

    Get-MgInformationProtectionBitlockerRecoveryKey -Filter "DeviceId eq '05ab7c00-ea9d-4c1b-8dc2-ef539bf2a27b'"

    I'd strongly recommend filtering the device list before passing it to the Get-MgInformationProtectionBitlockerRecoveryKey cmdlet.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.