Known Issue: FileVault recovery key rotation failing on macOS devices

Published Nov 02 2021 04:00 PM 2,474 Views

We were recently alerted that some devices are failing to rotate their FileVault recovery key. There are three paths to rotating the FileVault recovery key for macOS in the Microsoft Endpoint Manager admin center : Using the ‘Rotate FileVault recovery key’ device action, uploading a recovery key to the Company Portal website, or using the ‘Personal recovery key rotation’ setting. If you're experiencing issues with any of these methods, users can manually rotate and store their recovery key by running this command line tool with their password:

 

sudo fdesetup changerecovery –personal

 

 

More details on each scenario below.

Use ‘Rotate FileVault recovery key’ device action

The ‘Rotate FileVault recovery key’ device action is found under Devices > [select device] > Overview.

 

A macOS device in the Microsoft Endpoint Manager admin center - Devices blade.A macOS device in the Microsoft Endpoint Manager admin center - Devices blade.

 

The following error may occur after selecting this action:

 

Example screenshot of a failed Rotate FileVault recovery key action on a macOS device in the Microsoft Endpoint Manager admin center.Example screenshot of a failed Rotate FileVault recovery key action on a macOS device in the Microsoft Endpoint Manager admin center.

 

Upload FileVault recovery key to the Company Portal website

The FileVault recovery key can also be rotated when a user uploads their current recovery key to the Company Portal website. This is found under https://portal.manage.microsoft.com > Devices > [select device] > Store Recovery Key:

 

Store recovery key example from a macOS device in the Company Portal website.Store recovery key example from a macOS device in the Company Portal website.

 

After saving this, the following error may occur:

 

Example screenshot of a failed Rotate FileVault recovery key action on a macOS device on the Company Portal website.Example screenshot of a failed Rotate FileVault recovery key action on a macOS device on the Company Portal website.

 

As a result of this error, the key will not rotate and will still be valid; however, the key will not be stored in Intune until the command line tool provided above is run. The Company Portal will still contain the valid key.

 

Personal recovery key rotation setting

The ‘Personal recovery key rotation’ setting is configured under Device configuration - Profiles > Endpoint protection > FileVault:

 

Screenshot of a macOS Endpoint protection policy with FileVault policy settings enabled in the Microsoft Endpoint Manager admin center.Screenshot of a macOS Endpoint protection policy with FileVault policy settings enabled in the Microsoft Endpoint Manager admin center.

 

When a device is targeted by this profile and fails to rotate its recovery key, you’ll see the following error:

 

Example error in the Microsoft Endpoint Manager admin center when a macOS device fails to rotate its recovery key.Example error in the Microsoft Endpoint Manager admin center when a macOS device fails to rotate its recovery key.

 

When this error occurs, the recovery key will not rotate and will still be valid.

 

Apple is aware of the issue, but we don’t have any updates on timeline for any changes. As mentioned above, in the interim, users can manually rotate and store their recovery key by running this macOS command line tool with their password:

 

sudo fdesetup changerecovery –personal

 

 

User command line example when manually rotating and storing their recovery key on a macOS device.User command line example when manually rotating and storing their recovery key on a macOS device.

 

We will continue to update this post as new information becomes available. If you have questions or comments for the Intune team, reply to this post or reach out to @IntuneSuppTeam on Twitter.

%3CLINGO-SUB%20id%3D%22lingo-sub-2918585%22%20slang%3D%22en-US%22%3EKnown%20Issue%3A%20FileVault%20recovery%20key%20rotation%20failing%20on%20macOS%20devices%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2918585%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20were%20recently%20alerted%20that%20some%20devices%20are%20failing%20to%20rotate%20their%20FileVault%20recovery%20key.%20There%20are%20three%20paths%20to%20rotating%20the%20FileVault%20recovery%20key%20for%20macOS%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center%20%3A%20Using%20the%20%E2%80%98Rotate%20FileVault%20recovery%20key%E2%80%99%20device%20action%2C%20uploading%20a%20recovery%20key%20to%20the%20Company%20Portal%20website%2C%20or%20using%20the%20%E2%80%98Personal%20recovery%20key%20rotation%E2%80%99%20setting.%20If%20you're%20experiencing%20issues%20with%20any%20of%20these%20methods%2C%20users%20can%20manually%20rotate%20and%20store%20their%20recovery%20key%20by%20running%20this%20command%20line%20tool%20with%20their%20password%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20fdesetup%20changerecovery%20%E2%80%93personal%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMore%20details%20on%20each%20scenario%20below.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--2095713947%22%20id%3D%22toc-hId--2095712955%22%3EUse%20%E2%80%98Rotate%20FileVault%20recovery%20key%E2%80%99%20device%20action%3C%2FH3%3E%0A%3CP%3EThe%20%E2%80%98Rotate%20FileVault%20recovery%20key%E2%80%99%20device%20action%20is%20found%20under%20%3CSTRONG%3EDevices%3C%2FSTRONG%3E%20%26gt%3B%20%5Bselect%20device%5D%20%26gt%3B%20%3CSTRONG%3EOverview%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22macOS1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323523i9320F421B70F4A42%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22macOS1.png%22%20alt%3D%22A%20macOS%20device%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center%20-%20Devices%20blade.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EA%20macOS%20device%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center%20-%20Devices%20blade.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20error%20may%20occur%20after%20selecting%20this%20action%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22macOS2.png%22%20style%3D%22width%3A%20640px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323524i9A3EF8CEA39E70C0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22macOS2.png%22%20alt%3D%22Example%20screenshot%20of%20a%20failed%20Rotate%20FileVault%20recovery%20key%20action%20on%20a%20macOS%20device%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExample%20screenshot%20of%20a%20failed%20Rotate%20FileVault%20recovery%20key%20action%20on%20a%20macOS%20device%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-391798886%22%20id%3D%22toc-hId-391799878%22%3EUpload%20FileVault%20recovery%20key%20to%20the%20Company%20Portal%20website%3C%2FH3%3E%0A%3CP%3EThe%20FileVault%20recovery%20key%20can%20also%20be%20rotated%20when%20a%20user%20uploads%20their%20current%20recovery%20key%20to%20the%20Company%20Portal%20website.%20This%20is%20found%20under%20%3CA%20href%3D%22https%3A%2F%2Fportal.manage.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.manage.microsoft.com%3C%2FA%3E%20%26gt%3B%20%3CSTRONG%3EDevices%20%3C%2FSTRONG%3E%26gt%3B%20%5B%3CEM%3Eselect%20device%3C%2FEM%3E%5D%20%26gt%3B%20%3CSTRONG%3EStore%20Recovery%20Key%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22macOS3.jpg%22%20style%3D%22width%3A%20638px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323525i7FB87F7B0BC23C71%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22macOS3.jpg%22%20alt%3D%22Store%20recovery%20key%20example%20from%20a%20macOS%20device%20in%20the%20Company%20Portal%20website.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EStore%20recovery%20key%20example%20from%20a%20macOS%20device%20in%20the%20Company%20Portal%20website.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20saving%20this%2C%20the%20following%20error%20may%20occur%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22macOS4.png%22%20style%3D%22width%3A%20518px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323529iEBA87A36FD76AB69%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22macOS4.png%22%20alt%3D%22Example%20screenshot%20of%20a%20failed%20Rotate%20FileVault%20recovery%20key%20action%20on%20a%20macOS%20device%20on%20the%20Company%20Portal%20website.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExample%20screenshot%20of%20a%20failed%20Rotate%20FileVault%20recovery%20key%20action%20on%20a%20macOS%20device%20on%20the%20Company%20Portal%20website.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20a%20result%20of%20this%20error%2C%20the%20key%20will%20not%20rotate%20and%20will%20still%20be%20valid%3B%20however%2C%20the%20key%20will%20not%20be%20stored%20in%20Intune%20until%20the%20command%20line%20tool%20provided%20above%20is%20run.%20The%20Company%20Portal%20will%20still%20contain%20the%20valid%20key.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1415655577%22%20id%3D%22toc-hId--1415654585%22%3EPersonal%20recovery%20key%20rotation%20setting%3C%2FH3%3E%0A%3CP%3EThe%20%E2%80%98Personal%20recovery%20key%20rotation%E2%80%99%20setting%20is%20configured%20under%20%3CSTRONG%3EDevice%20configuration%3C%2FSTRONG%3E%26nbsp%3B-%26nbsp%3B%3CSTRONG%3EProfiles%3C%2FSTRONG%3E%20%26gt%3B%20%3CSTRONG%3EEndpoint%20protection%3C%2FSTRONG%3E%20%26gt%3B%20%3CSTRONG%3EFileVault%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22macOS5.png%22%20style%3D%22width%3A%20533px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323533i40007ABACF9B01C1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22macOS5.png%22%20alt%3D%22Screenshot%20of%20a%20macOS%20Endpoint%20protection%20policy%20with%20FileVault%20policy%20settings%20enabled%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScreenshot%20of%20a%20macOS%20Endpoint%20protection%20policy%20with%20FileVault%20policy%20settings%20enabled%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20a%20device%20is%20targeted%20by%20this%20profile%20and%20fails%20to%20rotate%20its%20recovery%20key%2C%20you%E2%80%99ll%20see%20the%20following%20error%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22macOS6.png%22%20style%3D%22width%3A%20634px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323534iBA4C222997D44B0F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22macOS6.png%22%20alt%3D%22Example%20error%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center%20when%20a%20macOS%20device%20fails%20to%20rotate%20its%20recovery%20key.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EExample%20error%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center%20when%20a%20macOS%20device%20fails%20to%20rotate%20its%20recovery%20key.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20this%20error%20occurs%2C%20the%20recovery%20key%20will%20not%20rotate%20and%20will%20still%20be%20valid.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApple%20is%20aware%20of%20the%20issue%2C%20but%20we%20don%E2%80%99t%20have%20any%20updates%20on%20timeline%20for%20any%20changes.%20As%20mentioned%20above%2C%20in%20the%20interim%2C%20users%20can%20manually%20rotate%20and%20store%20their%20recovery%20key%20by%20running%20this%20macOS%20command%20line%20tool%20with%20their%20password%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20fdesetup%20changerecovery%20%E2%80%93personal%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22macOS7.png%22%20style%3D%22width%3A%20724px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323537iB92B58D813781A07%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22macOS7.png%22%20alt%3D%22User%20command%20line%20example%20when%20manually%20rotating%20and%20storing%20their%20recovery%20key%20on%20a%20macOS%20device.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EUser%20command%20line%20example%20when%20manually%20rotating%20and%20storing%20their%20recovery%20key%20on%20a%20macOS%20device.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20will%20continue%20to%20update%20this%20post%20as%20new%20information%20becomes%20available.%20If%20you%20have%20questions%20or%20comments%20for%20the%20Intune%20team%2C%20reply%20to%20this%20post%20or%20reach%20out%20to%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FIntuneSuppTeam%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40IntuneSuppTeam%3C%2FA%3E%20on%20Twitter.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2918585%22%20slang%3D%22en-US%22%3E%3CP%3ERead%20this%20post%20to%20learn%20more%20about%20a%20known%20issue%26nbsp%3BFileVault%20recovery%20key%20rotation%20failing%20on%20macOS%20devices.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22BlogDefault.png%22%20style%3D%22width%3A%20367px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323544i1BB1BA696FE6FAC6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22BlogDefault.png%22%20alt%3D%22BlogDefault.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2918585%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%20Customer%20Success%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EKnown%20Issue%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Nov 02 2021 04:06 PM
Updated by: