Pre-submission checklist
Describe the bug
Test-MtBitLockerFullDiskEncryption (MT.1123) always reports Fixed Encryption Type: Not configured in its result table, even when the BitLocker policy explicitly enforces an encryption type for fixed data drives.
Cause: the child settingDefinitionId it matches against is misspelled at Test-MtBitLockerFullDiskEncryption.ps1 line 64 (tag 2.1.0):
$fixedEncryptionTypeDropdownId = 'device_vendor_msft_bitlocker_fixeddrivesencryptiontype_fdeencryptiontypedropdown_name'
The real setting id uses fdv (Fixed Drive Volume — consistent with fdvallowdra, fdvhiderecoverypage, fdvrecoverypasswordusagedropdown, which this file spells correctly):
…_fixeddrivesencryptiontype_fdeencryptiontypedropdown_name → does not exist (GET /beta/deviceManagement/configurationSettings/<id> errors)
…_fixeddrivesencryptiontype_fdvencryptiontypedropdown_name → exists ("Select the encryption type: (Device)")
So the -eq comparison in the child loop can never match, and FixedEncryptionType keeps its initialised 'Not configured' for every tenant.
The pass/fail verdict is unaffected — $hasFullEncryption is set only in the OS-drive branch, which uses the correctly-spelled osencryptiontypedropdown_name. Only the evidence table is wrong.
Steps to reproduce
- Have an Endpoint Security > Disk Encryption BitLocker policy with Enforce drive encryption type on fixed data drives = Enabled and an encryption type selected (ours: Full encryption, i.e.
…fdvencryptiontypedropdown_name_1).
- Run
Test-MtBitLockerFullDiskEncryption (or Invoke-Maester and view MT.1123's details).
- The result table shows
Fixed Encryption Type: Not configured regardless of the configured value.
Our observed output (the policy has enforced fixed-drive type = Full since a month before the run):
| Policy | Require Encryption | OS Encryption Type | Fixed Encryption Type | OS Cipher |
| Enable BitLocker Profile | Enabled | Used Space Only | Not configured | XTS-AES 256-bit |
Expected behavior
Fixed Encryption Type should show the configured value (here Full encryption).
Suggested fix — one character class at line 64:
$fixedEncryptionTypeDropdownId = 'device_vendor_msft_bitlocker_fixeddrivesencryptiontype_fdvencryptiontypedropdown_name'
Debug output
Not captured — the defect is directly visible in the source vs the Graph settings catalog (links above).
Module version
Maester 2.1.0 (pinned; installed from PSGallery in CI)
Environment data
PSVersion : 7.6.3 (Core)
Platform : Unix — GitHub Actions ubuntu-latest (Ubuntu 24.04.4 LTS)
Additional context
- Found while reconciling MT.1123's result table against the raw policy JSON from
GET /beta/deviceManagement/configurationPolicies/<id>/settings — the table said "Not configured" while the policy carried fdvencryptiontypedropdown_name_1.
- Analysis was AI-assisted; every claim above was verified against the 2.1.0 tag source and live Graph metadata before filing.
- Happy to open a PR for the one-line fix if preferred.
Pre-submission checklist
mainas of 2026-07-27).Describe the bug
Test-MtBitLockerFullDiskEncryption(MT.1123) always reports Fixed Encryption Type: Not configured in its result table, even when the BitLocker policy explicitly enforces an encryption type for fixed data drives.Cause: the child settingDefinitionId it matches against is misspelled at
Test-MtBitLockerFullDiskEncryption.ps1line 64 (tag 2.1.0):The real setting id uses
fdv(Fixed Drive Volume — consistent withfdvallowdra,fdvhiderecoverypage,fdvrecoverypasswordusagedropdown, which this file spells correctly):…_fixeddrivesencryptiontype_fdeencryptiontypedropdown_name→ does not exist (GET /beta/deviceManagement/configurationSettings/<id>errors)…_fixeddrivesencryptiontype_fdvencryptiontypedropdown_name→ exists ("Select the encryption type: (Device)")So the
-eqcomparison in the child loop can never match, andFixedEncryptionTypekeeps its initialised'Not configured'for every tenant.The pass/fail verdict is unaffected —
$hasFullEncryptionis set only in the OS-drive branch, which uses the correctly-spelledosencryptiontypedropdown_name. Only the evidence table is wrong.Steps to reproduce
…fdvencryptiontypedropdown_name_1).Test-MtBitLockerFullDiskEncryption(orInvoke-Maesterand view MT.1123's details).Fixed Encryption Type: Not configuredregardless of the configured value.Our observed output (the policy has enforced fixed-drive type = Full since a month before the run):
Expected behavior
Fixed Encryption Typeshould show the configured value (here Full encryption).Suggested fix — one character class at line 64:
Debug output
Not captured — the defect is directly visible in the source vs the Graph settings catalog (links above).
Module version
Environment data
Additional context
GET /beta/deviceManagement/configurationPolicies/<id>/settings— the table said "Not configured" while the policy carriedfdvencryptiontypedropdown_name_1.