Azure SQL database restore to Synapse

Andrea Galardi 0 Reputation points
2024-09-11T14:01:57.8966667+00:00

we need to do restore sql server database from restore point to dedicated sql pool on synapse on same resource group we are trying to do restore azure sql server db on same restore group where we have synapse but it ends up with error ERROR1.JPG

Command use for restore:

Restore-AzSynapseSqlPool -FromRestorePoint -RestorePoint $restorePoint.RestorePointCreationDate -Name "NEW_NAME" -ResourceGroupName "TEST" -WorkspaceName "WSNAME" -ResourceId "SUBSCRIPTION_NAME" -PerformanceLevel DW300c

Do u have any advice out to proceed?

Azure SQL Database
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. Asanka Padmakumara 11 Reputation points
    2024-10-01T23:41:10.3433333+00:00

    We had the same issue and fixed using following steps.

    Add the "Microsoft Azure Synapse Resource Provider" system enterprise app as the "SQL DB Contributor" to the destination resource group and to the intermediate SQL server. It seems even though we use personal credentials, behind the seen it uses system app for restore purpose.

    User's image

    2 people found this answer helpful.

  2. Julian Francis 0 Reputation points
    2024-10-17T14:52:09.0066667+00:00

    What worked for me was to remove the highlighted bit below that did the text replace when getting the pool id. This used to work so I can only assume its been updated since.

    {07691264-D155-4FE0-90EA-6C826E9E0D14}

    0 comments No comments

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.