Remediation
From Azure Portalβ
Part A. Select the Virtual Machine to Remediateβ
- Using the search bar, search for and open the
Virtual Machines
service. - Click on the name of the Virtual Machine to be remediated.
Part B. Remediate each Virtual Machine Disk individuallyβ
- From the selected Virtual Machine resource window, expand the
Settings
menu item and clickDisks
. - For each disk, click the name of the disk to open the disk resource window.
- From the selected Disk resource window, expand the
Settings
menu item, and clickDisk Export
.
Check the checkbox next to Enable Data Access Authentication Mode
.
Repeat Part B for each Disk attached to a VM.
Repeat Parts A and B to remediate all Disks in all VMs.
From Azure CLIβ
Ensure that each disk is detached from its associated Virtual Machine
before proceeding. Once detached, run the following for each disk:
az disk update --name <disk_name> --resource-group <resource_group_name> --data-access-auth-mode AzureActiveDirectory
From PowerShellβ
Ensure that each disk is detached from its associated Virtual Machine
before proceeding. Once detached, run the following for each disk:
$disk = Get-AzDisk -ResourceGroupName '<resource_group_name>' -DiskName '<disk_name>' $disk.DataAccessAuthMode = 'AzureActiveDirectory' Update-AzDisk -ResourceGroup '<resource_group_name>' -DiskName $disk.Name -Disk $disk