Forum Discussion
Rob_Bitq
3 years agoNew Member
Missing Datasources from workspace-info-get-scan-result API
Hi All, I am attempting to get the full details of the power bi environment for a client using the admin APIs and ADF. Everything seems to be working except for the data sources bit. When I use t...
- 3 years ago
Hi Rob_Bitq ,
The result you get from the WorkspaceInfo GetScanResult API depends on the scanId you get using the WorkspaceInfo PostWorkspaceInfo API.
Please make sure that the scanid you get via WorkspaceInfo PostWorkspaceInfo API contains the information of the data source.
For more details, please refer to:
Admin - WorkspaceInfo PostWorkspaceInfo - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Rob_Bitq
3 years agoNew Member
Yep, that was it. I did have to turn on the lineage flag as well as the data source flag for it to work.