Remediation
From Azure Portal
- Go to
Storage accounts. - Click the name of a storage account.
- Under
Data storage, clickFile shares. - Under
File share settings, click the link next toSecurity. - If
Profileis set toMaximum compatibility, click the drop-down menu and selectMaximum securityorCustom. - If selecting
Custom, underSMB channel encryption, uncheck the boxes next toAES-128-CCMandAES-128-GCM. - Click
Save. - Repeat steps 1-7 for each storage account requiring remediation.
From Azure CLI
For each storage account requiring remediation, run the following command to set the SMB channel encryption:
az storage account file-service-properties update --resource-group <resource-group> --account-name <storage-account> --channel-encryption AES-256-GCM
From PowerShell
For each storage account requiring remediation, run the following command to set the SMB channel encryption:
Update-AzStorageFileServiceProperty -ResourceGroupName <resource-group> -StorageAccountName <storage-account> -SmbChannelEncryption AES-256-GCM