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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors