Forum Discussion
momo_man
2 years agoFrequent Visitor
powershell command to get datasource name is not working
Below is my code to try and get the datasource names for all the datasources for every report in my power bi service. It is the workspace and dataset correctly but it is not getting the datasource na...
- 2 years ago
thank yall for the replies it turns out it was a permissions thing
GilbertQ
2 years agoSuper User
Hi momo_man
Why do you not use the Power BI Scanner which will get all this information and more?
https://powerbi.tips/2021/10/using-the-power-bi-scanner-api-to-manage-tenants-entire-metadata/
momo_man
2 years agoFrequent Visitor
Maybe I will try this. I was trying to do this in less steps. Avoiding any azure interaction with api's with the module. If it worked it would serve its purpose. I just am trying to get the names of all datasources being used in my power bi service