Azure Disk Encryption failed for specific VMs

Khushi Joshi 21 Reputation points
  • Hello All,

I am facing below error while enable the Disk Encryption on Azure VM. with the same resource group other vms are working properly and get encrypted.
Error

Microsoft.Cis.Security.BitLocker.BitlockerIaasVMExtension.BitlockerFailedToSendEncryptionSettingsException: The fault reason was: '0xc142506f RUNTIME_E_KEYVAULT_SECRET_WRAP_WITH_KEK_FAILED Key vault secret wrap with key encryption key failed.'. at Microsoft.Cis.Security.BitLocker.BitlockerIaasVMExtension.WireProtocol.WireProtocolMessage.SendEncryptionSettingsToHost() in C:__w\1\s\src\BitLocker\BitlockerIaasVMExtension\WireProtocol\WireProtocolMessage.cs:line 210 at Microsoft.Cis.Security.BitLocker.BitlockerIaasVMExtension.BitlockerExtension.SendEncryptionSettingsToHostV3(VmEncryptionSettings vmSettings) in C:__w\1\s\src\BitLocker\BitlockerIaasVMExtension\BitlockerExtension.cs:line 1092'. More information on troubleshooting is available at

πŸ‘ User's image

All operation are correctly configured. with proper rights.

πŸ‘ User's image

πŸ‘ User's image

0 comments No comments

Sign in to comment

2 answers

  1. Hari Babu Vattepally 3,350 Reputation points β€’ Microsoft External Staff β€’ Moderator

    Hi @Khushi Joshi

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer. Accepted answers show up at the top, resulting in improved discoverability for others.

    Issue: Azure Disk Encryption failed for specific VMs

    Solution: If you encounter the issue in OS 2022, then it is recommended to increase the Key Configuration from size 2048 to higher values.

    Here we have discussion and solution on the similar issue in SO

    If your issue remains unresolved or have further questions, please let us know in the comments how we can assist. We are here to help you and strive to make your experience better and greatly value your feedback.

    Please let us know if you have any further queries. I’m happy to assist you further. 


    Please do consider to "Accept the answer” and β€œup-vote” wherever the information provided helps you, this can be beneficial to other community members. 

    πŸ‘ User's image

    1. Hari Babu Vattepally 3,350 Reputation points β€’ Microsoft External Staff β€’ Moderator

      Hi @Khushi Joshi

      Following up to see if the above answer was helpful. If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


    Sign in to comment
  2. Khushi Joshi 21 Reputation points

    Hello All,

    This has been resolved, if you are facing the issue in OS 2022 then you should change the Key Configuration from size 2048 to higher.

    After done that this has been resolved.

    0 comments No comments

    Sign in to comment
Sign in to answer

Your answer