Forum Discussion
Guidance on Updating Cloud Connection Data Source Credentials Using Rest API
Hi rmjenkinsquest ,
You may consider using the "HTTP" action in the Power platform product Power Automate because it can softly support the Azure AD authorization using service principal, you can simply grant the enough permission to the service principal's binded Azure application and generate the client secret with the client ID to try to send the same API structure with service principal authorization to make a test
You can also first test the rest API in the third-party API test tool postman:
Postman API Platform | Sign Up for Free
Regarding the HTTP action using guide detail:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Really appreciate the suggestion, however we are attempting to automate this through a PowerShell script that can be referenced inside an Azure Pipelines task for a CI / CD workflow. I also want to clarify that the issue is with populating these data source credential fields on the semantic model via a REST API:
The authentication used to make the calls are working fine; it's that I am finding limited information on how to structure an API call to post the same details as I would enter from the frontend, as in the screenshot above. Let me know if I can clarify anything further