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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
arndtvissing
Frequent Visitor

XMLA endpoint Integrated Security Error

Hi community.

 

Im getting an error when trying to connect to Power BI XMLA endpoint in SSMS 18.1. The endpoint is working fine in Excel.

 

When i conncet to the XMLA endpoint in SSMS and try and "browse" the cube, i get the following error in SSMS 

 

"For AS AZure connetions, if 'integrated security' connection string property is set to 'SSPI' then 'UseADALCache' connection string property cannot be specified"

 

my connnection string looks like this:

 

powerbi://api.powerbi.com/v1.0/myorg/test XMLA

5 REPLIES 5
saini_chandni
Regular Visitor

Hi,

 

We faced same error in SSMS v18.4 but then we upgraded ssms v18.5.1 and error is no more there and we are able to browse the cube.

 

Thanks

Anonymous
Not applicable

I am facing precisely this same issue and I have tested across multiple Power BI models (other than using SSMS V18.4 rather than 18.1).

 

I connect to a Power BI model in Power BI Premium Capacity using a very simple connection string with no extra parameters of the form: powerbi://api.powerbi.com/v1.0/myorg/my-workspace-name

 

I can connect and see the databases and tables and can open a DAX query and 'EVALUATE' a table and see its contents.  All looks fine until I right-click a database and choose "Browse...".  I then get the error previously reported:

 

For AS Azure connections, if 'Integrated Security' connection string property is set to 'SSPI' then 'UseADALCache' connection string property cannot be specified.

 

2020-03-11_17-09-07.png

 

This post has been dormant with no answer for a while - anyone have more information on this situation?

v-shex-msft
Community Support
Community Support

Hi @arndtvissing ,

According to your error message, It seems like your connection string contains some properties strings which xmla endpoint does not recognized.
I'd like to suggest you remove mentioned property and try again.
BTW, you can also take a look at following links about power bi xmla endpoint features:

Power BI open-platform connectivity with XMLA endpoints public preview

What Is the XMLA Endpoint for Power BI and Why Should I Care?

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

thanks. but my connection string is like below:

 

powerbi://api.powerbi.com/v1.0/myorg/test XMLA

 

I do not specify any properties besides the path given by powerbi service

arndtvissing
Frequent Visitor

and just to confirm, the workspace im connection to is on Premium, and I am Admin of that workspace

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.