Forum Discussion
NicoVerachtert
2 years agoRegular Visitor
New connection when changing ownership Dataset
Hi, I'm in the process of automating a release pipeline where the connections of datasets are changed from the development sql server to those of the production environment. Using the Rest API's ...
GilbertQ
Super User
2 years ago
What I think you need to do first is to create a connection for your service principal in the gateway prior to changing the ownership. I would then assume that it would find the connection because it will use the combination of the service principal and connection to map it correctly.
NicoVerachtert
2 years agoRegular Visitor
Hi Gilbert,
Thanks for the reply!
I made sure both the user and service principal were added as admins to the existing connections (both were part of the group that was the default admin, but I made sure to add them again). This still results in the same behaviour.
Or did you mean something else?