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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
satishorre20
Helper II
Helper II

INFO.STORAGETABLECOLUMNS() Function access using Published Semantic Model - Need help

Hi Everyone,

 

I hope you're all doing well. I am currently trying to access the function `info.storagetablecolumns()` on a published dataset using Power BI Desktop. Although I hold an admin role at the workspace level, I am encountering the following error message:

 

Error message:

The 'test' user does not have permission to call the Discover method.

 

Interestingly, this function works perfectly fine with the local semantic model on Power BI Desktop. I would appreciate any insights or guidance you can provide to help resolve this issue.

 

Thank you for your assistance.

9 REPLIES 9
v-pnaroju-msft
Community Support
Community Support

Hi satishorre20,

We are following up to see if what we shared solved your issue. If you need more support, please reach out to the Microsoft Fabric community.

Thank you.

satishorre20
Helper II
Helper II

Greetings,

 

 I will review these and will update with my findings by 12/12/2025

 

Thank you,

 

Satish 

anilgavhane
Responsive Resident
Responsive Resident

  

Step 1: Confirm the workspace is Premium (or PPU)

Without Premium / PPU / Fabric, DISCOVER DMVs are not supported.

Step 2: Enable Read/Write XMLA endpoints

In the workspace settings:

  • Set "XMLA Endpoint" = Read/Write"
    (Read-only will not allow DISCOVER DMVs.)

    Step 3: Add yourself as Dataset Admin

    Even Workspace Admin is not enough for some DMV operations.

    Go to the dataset's permissions and add yourself as Admin.

    Step 4: Reconnect to the model via XMLA

    Use Power BI Desktop, Tabular Editor, or SSMS, connecting with the dataset’s XMLA endpoint.

    Then execute:

     

     
    EVALUATE INFO.STORAGETABLECOLUMNS()
     

    It will now work.

     

    Note: AI helped me to format this response.

@satishorre20

v-pnaroju-msft
Community Support
Community Support

Hi satishorre20,

We are following up to inquire whether you have had an opportunity to cross-check the settings from your end and resolve the issue. If not, could you please provide an estimated time of arrival (ETA) for your findings.
If you have any further queries, please feel free to contact the Microsoft Fabric Community.

Thank you.

satishorre20
Helper II
Helper II

Hi @Thomaslleblanc , Greetings,

 

Thank you so much for providing such a detailed explanation on this matter. My understanding is that the XMLA endpoint is enabled, which is great news. I was able to perform partitioning on the table of the published semantic model, but for thoroughness, I will double-check one more time to ensure everything is in order.

 

I will keep you posted with my findings. Once again, I truly appreciate your time and assistance.

 

Best regards,
Satish Orre

v-pnaroju-msft
Community Support
Community Support

Hi satishorre20,

We would like to follow up and see whether the details we shared have resolved your problem. If you need any more assistance, please feel free to connect with the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Thankyou, @Thomaslleblanc, for your response.

Hi satishorre20,

Thank you for confirming that the Build permission has already been granted. Since the error “The user does not have permission to call the Discover method” persists, the issue may not be related to dataset level permissions.

Based on my understanding, INFO.STORAGETABLECOLUMNS() depends on a DISCOVER metadata call through the XMLA endpoint. This call is restricted unless your tenant and workspace explicitly permit XMLA metadata discovery. That is why the function works in Power BI Desktop (which has full local engine access) but fails on the published semantic model.

Please verify the following steps, as they may help resolve the issue:

  1. In the Admin Portal, under Tenant settings, ensure that “Allow XMLA Endpoints” and “Analyze in Excel” are enabled for your user or group.
  2. DISCOVER operations are permitted only in Premium or Fabric workspaces. Go to the Workspace settings and confirm that the Capacity is set to Premium or Fabric.
  3. After updating Build or XMLA permissions, refresh the desktop token by choosing Power BI Desktop → File → Options → Data source settings → Sign out → Sign in again.
  4. Try connecting to the workspace XMLA endpoint using the same user credentials via SSMS: powerbi://api.powerbi.com/v1.0/myorg/<workspaceName>. If SSMS also fails with a DISCOVER error, XMLA metadata access is still blocked at the tenant or capacity level.

For further reference, please refer the links below:
Semantic model connectivity and management with the XMLA endpoint in Power BI - Microsoft Fabric | M...
What is Power BI Premium? - Microsoft Fabric | Microsoft Learn
Semantic model connectivity and management with the XMLA endpoint in Power BI - Microsoft Fabric | M...

We hope the information helps to resolve the issue. If you have any further queries, please feel free to contact the Microsoft Fabric community.

Thank you.

Thomaslleblanc
Super User
Super User

Add the build permission to the user for that semantc model.

As you know, admin roles should have default build permissions on datasets within our workspace. However, I have explicitly granted build permission on the dataset, it doesn't seem to be working.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.