If entering the sudo fdesetup changerecovery -personal command in Terminal results in an alert, you can manually disable and then re-enable FileVault on the Mac.
- Manually disable FileVault on the Mac. For instructions, see Turn off FileVault on Mac in the macOS User Guide.
- Log out of the Mac by clicking the Apple logo and selecting Log Out.
- After you have logged out, enter your Mac password when prompted to enable FileVault.
- Log in to the Jamf Now managed local user account on the Mac.
- Log in to Jamf Now.
- Click Devices, and then select the Mac.
- Click Sync in the upper-right corner.
The Mac will report the FileVault recovery key to Jamf Now the next time it syncs with Jamf Now.