I solved this. See the question on stackoverflow that is posted in the OP.
How can I get the provisioning state of my Workspace Package to be "Succeeded" and not "Incomplete" when I create it through the Python SDK?
Martin Kamb
101
Reputation points
I am using the ArtifactsClient from azure-synapse-artifacts library and trying to upload a new Workspace Package. When doing this manually through the UI it works and my Provisioning State is set to "Succeeded". When I try to do the same though the SDK I won't get the "Succeeded", and hence cannot use the library in my Spark Pool.
Here is the code I'm using, posted on SO. I could not manage to get past the firewall when trying to post the code here:
Sorry for the inconvenience of posting a link instead.