Forum Discussion
Credentials Used to Connect
Thx for the reply.
I figured it was for security. Not showing the password is obvious, but I think a case can be made for at least letting some users see the name of the data source.
As for the APIs, it looks like that is for gateway data sources, and I'm not using a gateway since everything is cloud-based.
Hi jdballard30 ,
I have tested the API. It also works with datasets not using gateway.
For a sharepoint data source:
Of course, you can try the new API instead:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasources;
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- jdballard306 years agoHelper II
Thanks for the follow-up! I was able to use the "Try It" button in the documentation and get a succcessful 200 response. Unfortunately, it still doesn't tell me the user account being used to access the data. I understand the security reason of NOT returning the user account, but I can also see an argument to return the account/username being used (but definitely not the password).