Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
lps_pbi
New Member

API Scanning Metadata

Hello

 

I'm trying to use the new feature of the API to receive table and columns names (Enhanced admin APIs responses with detailed metadata (currently in Preview)).

However, after following the instructions (setting up service principles with tenant rights , Metadata Scanning) and republishing my datasets, the results of GetScanResult is still empty for the tables field.

 

For reference, this is what the example in the documentation is showing. List of datasets, with repsective tables and column names. However, in my call, these fileds remain empty even after checking all the requirements and limitations.

 

 

      "datasets": [
        {
          "id": "e7e8a355-e77b-4418-a7b8-ae5972fdaa03",
          "name": "ExportB",
          "tables": [
            {
              "name": "EIM",
              "columns": [
                {
                  "name": "RowNumber-2662979B-1795-4F74-8F37-6A1BA8059B61",
                  "dataType": "Int64",
                  "isHidden": true
                }
              ],

 

 

Has anyone managed to get this feature to work? Can you help me with figuring out the issue?Thanks for your help

 

1 ACCEPTED SOLUTION

Hi Gilbert

 

Thanks for the hint. With the resource, I was able to find my mistake. 

 

In the WorkspaceInfo post request, the optional parameter datasetSchema=true has to be set to then get a scanID that returns table and column names in the scanResult call.

 

Thank you again for the quick response!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I have added parameter datasetSchema=true  still table block is showing empty for me.

GilbertQ
Super User
Super User

Hi @lps_pbi 

 

I have not tried it yet, but the blog post from PowerBI.tips is certain to work if you want to give it a try?

 

Using the Power BI Scanner API to Manage Tenant's Entire Metadata -





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi Gilbert

 

Thanks for the hint. With the resource, I was able to find my mistake. 

 

In the WorkspaceInfo post request, the optional parameter datasetSchema=true has to be set to then get a scanID that returns table and column names in the scanResult call.

 

Thank you again for the quick response!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors