- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 the workspace-info-get-scan-result API there are no JSON nodes for any of the data source info either at the top level for the datasourceInstances/misconfiguredDatasourceInstances or in the individual dataset nodes.
I get results if I try to get the data sources via the Dataset API.
Anecdotally the same code I am using worked fine for a different client 12 months ago. So I am unsure if it is a settings/permissions issue or if the API no longer supports getting the data this way.
Any suggestions would be welcome
Cheers
Rob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yep, that was it. I did have to turn on the lineage flag as well as the data source flag for it to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - January 2025
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 |