Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Missing documentation for SingleSignOn datasource credential type - how to update in API?

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?

 

 

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.

  • Anonymous's avatar
    Anonymous
    Not applicable

    I realised that you dont' really have to set anthing for credentials for SSO, which I suppose is obvious when you think about it ...