# (L2) Ensure users are restricted from recovering BitLocker keys

5.1.4.6 (L2) Ensure users are restricted from recovering BitLocker keys

Source: https://maester.dev/docs/tests/CIS.M365.5.1.4.6

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/bakkerjan" title="Jan Bakker · Original author"><img src="https://github.com/BakkerJan.png" alt="Jan Bakker" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/bakkerjan">Jan Bakker</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/cis">CIS</a> · Entra ID · Device identity · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId CIS.M365.5.1.4.6
```

## Overview

5.1.4.6 (L2) Ensure users are restricted from recovering BitLocker keys

This setting determines if users can self-service recover their BitLocker key(s). Restricting non-admin users from being able to see the BitLocker key(s) for their owned devices is the recommended state.

#### Rationale

Restricting user access to the self-service BitLocker recovery key portal helps mitigate the risk of recovery key exposure in the event of a compromised user account. If an attacker gains access to both the user's credentials and the physical device, they could potentially retrieve the recovery key and decrypt sensitive data. The recovery key itself is also considered sensitive information.

#### Impact

Users will no longer be able to retrieve their own BitLocker recovery key(s) from the My Account portal or the Microsoft Entra admin center. They'll need to contact a Cloud Device Administrator, Helpdesk Administrator, Intune Administrator, Security Administrator, or Security Reader to recover the key, which increases the support burden during device recovery scenarios.

#### Remediation action

1. Navigate to [Microsoft 365 Entra admin center](https://entra.microsoft.com).
2. Click to expand **Entra ID** and select **Devices** > **Device settings**.
3. Set **Restrict non-admin users from recovering the BitLocker key(s) for their owned devices** to **Yes**.
4. Click the **Save** option at the top of the window.

Alternatively, use Microsoft Graph PowerShell:

```powershell
Connect-MgGraph -Scopes Policy.ReadWrite.Authorization
$params = @{
 defaultUserRolePermissions = @{
  allowedToReadBitlockerKeysForOwnedDevice = $false
 }
}
Invoke-MgGraphRequest -Method PATCH -Uri "https://graph.microsoft.com/v1.0/policies/authorizationPolicy" -Body $params
```

#### Related links

* [Microsoft 365 Entra admin center - Device settings](https://entra.microsoft.com/#view/Microsoft_AAD_Devices/DevicesMenuBlade/~/DeviceSettings/menuId/Overview)
* [Manage devices in Microsoft Entra ID using the Microsoft Entra admin center](https://learn.microsoft.com/entra/identity/devices/manage-device-identities#configure-device-settings)
* [CIS Microsoft 365 Foundations Benchmark v7.0.0 - Page 235](https://www.cisecurity.org/benchmark/microsoft_365)

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | CIS.M365.5.1.4.6 |
| Severity | Medium |
| Suite | CIS |
| Product | Entra ID |
| Feature | Device identity |
| Area | Access control |
| Resource type | Tenant |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1552 Unsecured Credentials |
| Supports benchmark | CIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 5.1.4.6 |
| Benchmark level | L2 |
| Benchmark profiles | E3 Level 2, E5 Level 2 |
| Supports controls | cis-m365:5.1.4.6, nist-800-53-r5:AC-6(10), nist-800-53-r5:SC-28(3) |
| PowerShell test | [Test-MtCisEnsureBitLockerKeyRecoveryRestricted](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.5.1.4.6.ps1) |
| Services | Graph |

</details>

## Source

- Test: [`tests/cis/Test.CIS.M365.5.1.4.6.ps1`](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.5.1.4.6.ps1)
- Documentation: [`tests/cis/Test.CIS.M365.5.1.4.6.md`](https://github.com/maester365/maester/blob/main/tests/cis/Test.CIS.M365.5.1.4.6.md)
