Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
hello all
I am trying to find out the location of a Datasource SharePoint or File.
when i run the PowerBIDatasource PowerShell cmdlet it does not return that detail
thanks in advance
Solved! Go to Solution.
Hi @Anonymous ,
You need to invoke the rest API.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup
Please try:
Invoke-PowerBIRestMethod -Url 'groups/xxxxxxxxxxx/datasets/xxxxxxxxxx/datasources' -Method Get
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You need to invoke the rest API.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasourcesingroup
Please try:
Invoke-PowerBIRestMethod -Url 'groups/xxxxxxxxxxx/datasets/xxxxxxxxxx/datasources' -Method Get
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You need to run DMV queries against the XMLA endpoint to get that information
select * from $SYSTEM.TMSCHEMA_PARTITIONS
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |