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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jbarkin
New Member

Unable to Access Power BI XMLA Endpoint via SSMS (401)

Hey all,

 

I've been trying to connect to an Power BI XMLA endpoint in SMSS, but I keep getting the error:

 

TITLE: Connect to Server
------------------------------

Cannot connect to powerbi://api.powerbi.com/v1.0/company.com/theWorkspace.

------------------------------
ADDITIONAL INFORMATION:

The remote server returned an error: (401) Unauthorized. (Microsoft.AnalysisServices.AdomdClient)

------------------------------

The remote server returned an error: (401) Unauthorized. (System)

------------------------------
BUTTONS:

OK
------------------------------

 

It seems I don't have the proper permissions to access this dataset; however, I have full read/write privileges for it. Am I missing something? If so, where in Power BI should I look to change my permissions so I can access the endpoint?

 

Thank you!

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @jbarkin 

 

When connecting to a Power BI workspace with SSMS, ensure the following:

vjaneygmsft_0-1635474616308.pngReference:

Dataset connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft Docs

Troubleshoot XMLA endpoint connectivity in Power BI - Power BI | Microsoft Docs

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,
Community Support Team _ Janey

lbendlin
Super User
Super User

you need Build access.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors