This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Looking at this documentation for the PowerBI API that deals with updating datasource credentials:
https://docs.microsoft.com/en-us/rest/api/power-bi/gateways/updatedatasource
It lists the credential types but does not mention "SingleSignOn" which is what I see in, for example, an Azure Analysis Services connection I am trying to update. There is no example of what the JSON is supposed to be for this type. Any ideas?
I realised that you dont' really have to set anthing for credentials for SSO, which I suppose is obvious when you think about it ...
Hi @Anonymous
I check other API documents but not found any APIs about SSO datasource credential .
You can use the API to get the data source to export the corresponding configuration information and then use the configuration information to update datasource.
API for exporting configuration information can refer to this link :
Gateways - Get Datasources (Power BI Power BI REST APIs) | Microsoft Docs
The returned result information can be used in the update operation .
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 40 | |
| 27 | |
| 25 | |
| 22 | |
| 22 |