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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
bhavana_dfz
Frequent Visitor

XMLA Endpoint Enabled but Getting “XMLA Endpoint Feature is Disabled” Error in C# Connection

Hi all,

I'm encountering an issue when trying to connect to a Power BI semantic model via the XMLA endpoint using C#, following the guidance in Microsoft’s documentation.

Despite having the XMLA endpoint enabled for our tenant, I’m still getting the following error:

Microsoft.AnalysisServices.ConnectionException: XMLA endpoint feature is disabled. Turn on Analyze in Excel feature in PowerBI.com to enable this feature.

I’ve double-checked that:

  • The XMLA endpoint is indeed enabled at the tenant level via the Power BI Admin portal.

  • I'm using a Premium or Premium Per User (PPU) workspace and I am the admin of the workspace.

  • I have Build permissions on the dataset.

  • The user account has sufficient privileges and the "Analyze in Excel" feature is enabled in PowerBI.com.
    image (1).png
    i am following this documentation : Programming Power BI semantic models with the Tabular Object Model (TOM) | Microsoft Learn

    Does User's fabric capacity play any role in this error

1 ACCEPTED SOLUTION
bhavana_dfz
Frequent Visitor

The issue is resolved, it was the admin tenent settings which needed some tweaking. 

View solution in original post

4 REPLIES 4
bhavana_dfz
Frequent Visitor

The issue is resolved, it was the admin tenent settings which needed some tweaking. 

Anonymous
Not applicable

Hi @bhavana_dfz,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Vinay Pabbu

Anonymous
Not applicable

Hi @bhavana_dfz,


I just wanted to follow up on your thread. If the issue is resolved, it would be great if you could mark the solution so other community members facing similar issues can benefit too.
If not, don’t hesitate to reach out, we’re happy to keep working with you on this.

 

Regards,

Vinay Pabbu

Anonymous
Not applicable

Hi @bhavana_dfz,

 

Thank you for reaching out to Microsoft Fabric Community Forum.

 

Even if you're using a Premium or Premium Per User (PPU) workspace and are the admin, it's essential to ensure that the workspace is explicitly assigned to an active capacity. Simply being labeled as Premium/PPU doesn't guarantee XMLA endpoint access—check under the workspace settings to confirm it's tied to a valid capacity like P1 or a PPU license. If it's running on shared (Pro) capacity, the XMLA endpoint won't work even if all tenant settings are correctly enabled.

 

Also, in a Microsoft Fabric environment, make sure the capacity itself is not paused or overutilized, as that will block XMLA connectivity. Go to the Admin portal > Capacity settings > Fabric Capacity and check the status. Trial capacities like F64 Trial might also introduce inconsistent behavior, so using a fully provisioned capacity is recommended for reliable XMLA endpoint access.


If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!


Regards,
Vinay Pabbu

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.