Hi @admin cecareus ,
I understand that you are facing an issue while enabling versioning for your blob storage account.
In additional to the below solution provided by Amrinder Singh, I would also suggest you follow below recommendations.
Based on the above provided information, versioning is not supported for your account due to certain configurations. Specifically, if you have enabled Data Lake Storage Gen2, Network File System (NFS) 3.0 protocol, or the SSH File Transfer Protocol (SFTP), it could affect the support for versioning. If so, please consider disabling these features if possible and allows versioning to be enabled.
Make sure you are using the latest version of Azure CLI or PowerShell. After that, try enabling versioning with this command:
Update-AzStorageBlobServiceProperty -ResourceGroupName <ResourceGroupName> -AccountName <StorageAccountName> -EnableVersioning $true
If this continues to fail, it confirms that the account configuration does not support versioning.
Also, I would suggest you, if the current account is incompatible, please create a new StorageV2 account using the default settings and ensure no conflicting features are enabled. Then, migrate your data to the new account.
Additionally, versioning is not supported for blobs uploaded using Data Lake Storage APIs. Please check if any of these features are enabled in your storage account, as they might be causing the error message you are receiving.
For additional information, please refer the below documents:
I hope by following the above helps in resolving the issue.
Please let us know in the comments section, if there are any further queries. We will be glad to assist you closely in resolving the issue.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.