Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!