Pause Data Warehouse in Synapse analytics via ADF - deny assignments

Gene Garcia 6 Reputation points
2020-08-28T22:48:56.37+00:00

When attempting to create an ADF pipeline with a web activity that calls a url to pause the DW compute (ie, a url like:
https://management.azure.com/subscriptions/@{pipeline().parameters.subscriptionId}/resourceGroups/@{pipeline().parameters.resourceGroupName}/providers/Microsoft.Sql/servers/@{pipeline().parameters.sqlServerName}/databases/@{pipeline().parameters.databaseName}/pause?api-version=2014-04-01-preview
)
I get an error like this...

"message": "{\"error\":{\"code\":\"DenyAssignmentAuthorizationFailed\",\"message\":\"The client '771...' with object id '771...' has permission to perform action 'Microsoft.Sql/servers/databases/pause/action' on scope '/subscriptions/9116..../resourceGroups/workspacemanagedrg-8ba.../providers/Microsoft.Sql/servers/syeduanalyticscisd3/databases/EduDW/pause'; however, the access is denied because of the deny assignment with name '8ba....' and Id '8ba...' at scope '/subscriptions/9116e.../resourceGroups/workspacemanagedrg-8ba...'.\"}}",

I'm not able to find the Deny assignment anywhere in the subscription. Is there a workaround that will allow me to invoke the pause endpoint for Azure Synapse Analytics?

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,331 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Gene Garcia 6 Reputation points
    2020-08-31T13:08:56.373+00:00
    1 person found this answer helpful.

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.