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 protocol versions
, uncheck the boxes next toSMB 2.1
andSMB 3.0
. - 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 protocol version:
az storage account file-service-properties update --resource-group <resource-group> --account-name <storage-account> --versions SMB3.1.1
From PowerShellβ
For each storage account requiring remediation, run the following command to set the SMB protocol version:
Update-AzStorageFileServiceProperty -ResourceGroupName <resource-group> -StorageAccountName <storage-account> -SmbProtocolVersion SMB3.1.1