Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
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.
Yep, that was it. I did have to turn on the lineage flag as well as the data source flag for it to work.
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.
User | Count |
---|---|
9 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
11 | |
3 | |
2 | |
2 | |
2 |