Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
For Error 3201 with Operating system error 50 (The request is not supported.) when backing up SQL Server to Azure Blob Storage, the supported causes and fixes are:
- Verify the storage account type.
- The storage account used for
BACKUP TO URLmust be General Purpose V1 or V2.
- The storage account used for
- Check the SAS token format in the SQL credential.
- If the SAS token starts with
?, remove that leading?. - Since a new SAS token was already tried, recreate the SQL credential with the regenerated SAS token and test again.
- If the SAS token starts with
- Regenerate the SAS token from a stored access policy.
- In Azure Storage Explorer, create a new policy.
- Generate a new SAS token from that policy.
- Re-create the SQL Server credential by using that new SAS token.
- Test connectivity from the SQL Server machine to the storage account.
- Confirm the machine can connect to the storage account by using Storage Explorer or SQL Server Management Studio.
- For backup to URL, test connectivity on port
443. - Ensure the network security group or firewall allows the required traffic. One source states to allow inbound and outbound connections on ports
1433and443; for backup-to-URL connectivity validation, port443is specifically called out.
- Check whether the SAS policy expired.
- If the policy assigned to the SAS token expired, create a new policy, generate a new SAS token, alter or recreate the credential, and retry.
- Verify root certificates.
- If the required root certificate is missing from the Trusted Root Certification store, backup to URL can fail with OS error 50.
- Check the credential itself.
- Errors related to credentials can also surface when the credential is missing or inaccessible. Confirm the credential exists and that SQL Server can use it.
- Review the backup URL text carefully.
- The failing paths shown include
%27at the end of some.TRNfile names.%27is an encoded single quote. That indicates the generated backup URL may contain an extra trailing quote in the file name. Correct the backup command or job step so the URL ends with.TRNand does not include an extra quote character.
- The failing paths shown include
A practical troubleshooting order is:
- Fix the backup URL so there is no trailing
%27. - Recreate the credential with a newly generated SAS token from a new policy.
- Remove any leading
?from the SAS token stored in the credential. - Verify the storage account is GPv1/GPv2.
- Test connectivity from the SQL Server host to the blob endpoint on port
443. - Check firewall/NSG rules and certificate trust.
References: