Hi @Thomaskyle
Thank you for using Microsoft Q&A platform and thanks for posting your question here.
As I understand you are encountering an authorization error while using a system-assigned managed identity to access the Azure Synapse workspace and dedicated SQL pool. To resolve this issue, you need to grant the managed identity the necessary permissions to access the resource.
If the Synapse managed identity doesn't have permission to perform actions like pause or resume, you might encounter the error mentioned below. To fix this, assign the contributor role to the workspace's managed identity as follows:
Go to the IAM section of the Synapse workspace, click 'Add,' and then select 'Add role assignment' as shown below:
Go to Privileged Administrator Roles and select the Contributor role, as shown below:
Click on next select managed identity as shown below:
Once the role is assigned successfully, the web activity will run without any errors, and actions like pause or resume will work correctly using the REST API, as shown below:
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.