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
Profile
is set toMaximum compatibility
, click the drop-down menu and selectMaximum security
orCustom
. - If selecting
Custom
, underSMB channel encryption
, uncheck the boxes next toAES-128-CCM
andAES-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