Search code examples
sqlsql-serverazuressmsdatabase-backups

Error when exporting SQL database from Azure to local


I am trying to export a SQL database in Azure to my local machine using SSMS in order to create a local back up. I used 'Export Data Tier Application' for creating back up. But I am getting the error given below.

Name of the database is what is hidden

How can I get rid of this?


Solution

  • Just from the error message, you don't have permission to alter/access the database.

    If you want to do the Export Data Tier Application to create the backup bacpac file, you must using the Azure SQL database server admin account, or you don't have the enough permission.

    Please try to using the Azure SQL database server admin account to do the operation.

    Hope this helps.