SQL Backup to Azure Only Can Use Shared Access Signature

rr-4098 1,481 Reputation points
2024-08-24T18:57:44.3933333+00:00

I am using SQL 2022 to test backing up to an Azure Storage account. We already have key vault in place that rotates the keys on storage account but it appears SQL only wants to use a SAS is this correct?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,146 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,784 questions
0 comments No comments
{count} votes

Accepted answer
  1. LucyChenMSFT-4874 4,750 Reputation points
    2024-08-26T06:10:35.9533333+00:00

    Hi @rr-4098,

    Thank you for your reaching out and welcome to Microsoft Q&A!

    but it appears SQL only wants to use a SAS

    Could you please tell us are you using the Azure Blob storage? Please refer to this official documentation, we can get the information below:

    User's image

    Feel free to share your issues here if you have any concerns!

    Best regards,

    Lucy Chen


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    https://docs.microsoft.com/en-us/answers/support/email-notifications

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sumarigo-MSFT 46,126 Reputation points Microsoft Employee
    2024-08-26T15:23:27.63+00:00

    @rr-4098 Welcome to Microsoft Q&A FOrum, Thank you for posting your query here!
    When backing up SQL Server 2022 to an Azure Storage account, SQL Server primarily supports authentication using Shared Access Signature (SAS) tokens or storage account keys. Other authentication methods, such as using Microsoft Entra ID (formerly Azure Active Directory), are not supported for this purpose

    If you have any more questions or need further assistance, feel free to ask!

    References

    SQL Server Backup to URL for Microsoft Azure Blob Storage - SQL Server | Microsoft Learn

    Quickstart: SQL backup and restore to Azure Blob Storage

    Azure Key Vault
    Create SAS tokens for your storage containers

    Please let us know if you have any further queries. I’m happy to assist you further. 


      Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.