azure.synapse.tools icon indicating copy to clipboard operation
azure.synapse.tools copied to clipboard

Script says Synapse Workspace Instance does not exist - but it does

Open timspannagel opened this issue 1 year ago • 1 comments

Hi, i am building a github action to deploy a synapse workspace.

  • I have a service principal that is owner on the ressource group and admin in the synapse workspace.
  • i can login with the service principal and "az account show" shows the right Ids and Subscription Name
  • i can run "az synapse workspace list --name --resource-group " and i get the right (and only) synapse workspace.
  • i can run "az synapse linked-service list --workspace-name " and it shows the linked services i created for this test (else the workspace is empty)
  • when i run the command Publish-SynapseFromJson locally - it works. when i use Azure CLI or github Action i get "Synapse Workspace instance does not exist" (i checked multiple times for typos...)

for testing i even deactivated the firewall. The fact that i can login and list the workspace and linked services shows that the service principal has the right permissions and is not blocked by conditional acces

Has anybody had this behaviour before?

Best, Tim

timspannagel avatar Nov 18 '24 15:11 timspannagel

Hi, unfortunately, i'm also experiencing this issue. @NowinskiK has using this package using github actions/Azure Pipelines given this same issue for you as well?

dsmithsolutions avatar Jan 13 '25 13:01 dsmithsolutions