Having Issues Encrypting a Data Disk

%3CLINGO-SUB%20id%3D%22lingo-sub-1858758%22%20slang%3D%22en-US%22%3EHaving%20Issues%20Encrypting%20a%20Data%20Disk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1858758%22%20slang%3D%22en-US%22%3E%3CP%3EPreviously%20was%20able%20to%20encrypt%20a%20data%20disk%20on%20my%20VM.%20This%20data%20disk%20is%20partitioned%20into%208%20accessible%20drives.%20Recently%20I%20noticed%20there%20was%20a%20provisioning%20failed%20state%20on%20the%20Encryption%20extension%20for%20this%20VM.%20If%20I%20remove%20the%20data%20disk%20I%20am%20able%20to%20successfully%20encrypt%20the%20OS%20disk%20so%20the%20issue%20lies%20with%20the%20data%20disk.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20attempt%20to%20encrypt%20via%20powershell%20or%20the%20portal%20this%20is%20the%20error%20I%20receive%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EErrorMessage%3A%20VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'AzureDiskEncryption'.%20Error%20message%3A%20%22%5B2.2.0.35%5D%20Failed%20to%20configure%20bitlocker%20as%20expected.%20Exception%3A%20Object%20reference%20not%20set%20to%20an%20instance%20of%20an%20object%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20there%20issues%20with%20encrypting%20a%20multiple%20partitioned%20disk%3F%20Or%20if%20changes%20are%20made%20to%20the%20disk%3F%20How%20can%20I%20get%20the%20data%20disk%20drive%20and%20the%20partitions%20encrypted%20again%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1901237%22%20slang%3D%22en-US%22%3ERe%3A%20Having%20Issues%20Encrypting%20a%20Data%20Disk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1901237%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F859308%22%20target%3D%22_blank%22%3E%40morganjha%3C%2FA%3E%26nbsp%3Bis%20the%20VM%20D4sV4%20%3F%3C%2FP%3E%3CP%3EI%20had%20the%20same%20issue%20for%20this%20instance%20having%20image%20SQL%202019%20web%20on%20windows%20server%202019%2C%20to%20resolve%20this%20go%20to%20control%20panel%20select%20BitLocker%20Drive%20encryption%20and%20turn%20it%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBefore%20that%20uninstall%20disk%20encryption%20extension%2C%20and%20after%20completing%20the%20bit%20locker%20options%20store%20the%20key%20in%20PDF%20for%20further%20use%2C%20later%20click%20save%20in%20the%20disk%20option%20Additional%20settings%20indisk%20encription.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ER.Sawant%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Previously was able to encrypt a data disk on my VM. This data disk is partitioned into 8 accessible drives. Recently I noticed there was a provisioning failed state on the Encryption extension for this VM. If I remove the data disk I am able to successfully encrypt the OS disk so the issue lies with the data disk. 

 

When I attempt to encrypt via powershell or the portal this is the error I receive:

 

ErrorMessage: VM has reported a failure when processing extension 'AzureDiskEncryption'. Error message: "[2.2.0.35] Failed to configure bitlocker as expected. Exception: Object reference not set to an instance of an object

 

Are there issues with encrypting a multiple partitioned disk? Or if changes are made to the disk? How can I get the data disk drive and the partitions encrypted again?

1 Reply

@morganjha is the VM D4sV4 ?

I had the same issue for this instance having image SQL 2019 web on windows server 2019, to resolve this go to control panel select BitLocker Drive encryption and turn it on.

 

Before that uninstall disk encryption extension, and after completing the bit locker options store the key in PDF for further use, later click save in the disk option Additional settings indisk encription.

 

Regards,

R.Sawant