Access to BitLocker Recovery Key (Preview)

Restrict Access to BitLocker Recovery Key (Preview)

When BitLocker is enabled on a Windows device, the recovery key can be saved to Azure Active Directory (Azure AD), a USB, a file, or even printed. End-users can access this key for their owned device through Azure AD or by going to their device properties.

If you don’t know how to access it through Azure AD, first go to Azure AD and then click on the Devices blade. From here, you can access the BitLocker keys (Preview).

View BitLocker Recovery Key

Restricting access to the BitLocker recovery key in Azure

First, you need to make sure that you’ve updated your authorisation policy to turn off the self-service BitLocker key access, which can be done using the Microsoft Graph PowerShell module.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Connect-MgGraph -Scopes Policy.ReadWrite.Authorization 
$authPolicyUri = https://graph.microsoft.com/beta/policies/authorizationPolicy/authorizationPolicy 
$body = @{ 
defaultUserRolePermissions = @{ 
        allowedToReadBitlockerKeysForOwnedDevice = $false #Set this to $true to allow BitLocker self-service recovery 
    } 
}| ConvertTo-Json 
Invoke-MgGraphRequest -Uri $authPolicyUri -Method PATCH -Body $body 
# Show current policy setting 
$authPolicy = Invoke-MgGraphRequest -Uri $authPolicyUri 
$authPolicy.defaultUserRolePermissions 

Once this authorisation policy has been updated, the following Azure AD roles will be able to access they key:

  • Global administrators
  • Security administrators
  • Intune Service administrators
  • Security readers
  • Any custom role with the right permissions