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
Anonymous
Not applicable

Analyze in Excel: Invalid value for key 'integrated security'

I have a dataset in the Power Bi Service that I'm trying to use in Excel.

The "Analyze in Excel" option works fine when generating the Excel file and I can even refresh without issue.

 

The problem arrises when I try to use Power Pivot with the connection. I get the error: "Failed to connect to the server. Reason: Invalid value for key 'integrated security'."

 

This is the connection string in the Excel file that was generated by the Power Bi Service:

 

Provider=MSOLAP.8;Integrated Security=ClaimsToken;Persist Security Info=True;Initial Catalog=sobe_wowvirtualserver-36ae5565-a0f0-47c1-80f3-1948749003cd;Data Source=pbiazure://api.powerbi.com;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Identity Provider=https://login.microsoftonline.com/common, https://analysis.windows.net/powerbi/api, 929d0ec0-7a41-4b1e-bc7c-b754a28bddcc;Update Isolation Level=2

 

I tried uninstalling/removing and then reinstalling add-ons/drivers that were suggested by other threads unfortunately to no avail. In fact it might have done more harm than good but that's beside the point.

 

I can't seem to figure this out and would appreacite any insight.

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @Anonymous 

 

As far as I know currently it is not possible to connect from Power Query in Excel to a Power BI Dataset in the service.

 

You can vote for the idea on https://ideas.powerbi.com





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
GilbertQ
Super User
Super User

Hi @Anonymous 

 

As far as I know currently it is not possible to connect from Power Query in Excel to a Power BI Dataset in the service.

 

You can vote for the idea on https://ideas.powerbi.com





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

It is quite possible to connect to a PBI Dataset in the service, with power query in excel.  A dataset is an AAS Cube and power query has an AAS connector: Get Data\From Database\From Analysis Services, then enter the Workspace Connection URL.  Select Use the following User Name and Password and leave them blank (assuming MFA is enabled).

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors