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 protocol versions, uncheck the boxes next toSMB 2.1andSMB 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