Forum Discussion
AUaero
6 years agoResponsive Resident
Powershell cmdlet Get-PowerBIDatasource
Hi, I'm trying to use Powershell to pull data lineage information from the API. My thought was that I could enumerate the reports in a workspace, then enumerate the datasets that feed those reports...
AUaero
6 years agoResponsive Resident
Bump - any thoughts on this? The API call GET https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/datasources returns all of the information I'm looking for in JSON format. I'm just curious why the cmdlet doesn't return the same things as the API call?
Thanks!
SELECTDBA
5 years agoAdvocate I
Hi AUaero, did you ever find an answer to this? I am running into the same issue. My guess is "connectionDetails" is supposed to have that data, but I get the same results back.