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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
kldykstra
Frequent Visitor

[SOLVED] Key authentication to CosmosDB stopped working in PowerBI Desktop

I have a dashboard that has been successfully pulling data from the CosmosDB SQL API into PowerBI for many months. However, a couple weeks ago when I tried to update the key used for authentication, it no longer authenticates. I did not change anything with my permissions/PowerBI/Cosmos setup. I get an error like the following.

 

Note that the key connection keeps working for existing dashboards with previously entered credentials, and only fails for updating the key.

 

kldykstra_0-1687514181418.png

I already tried regenerating the access key for CosmosDB and that does not solve the issue.

1 ACCEPTED SOLUTION
kldykstra
Frequent Visitor

It was a simple fix. I was incorrectly copying the password from Cosmos - before selecting the copy icon, I first needed to select the eye "reveal" icon. Because I pressed the copy icon for the key before selecting reveal, I was accidentally just passing in a bunch of asterisks as the key to PowerBI. MicrosoftTeams-image (34).png

View solution in original post

1 REPLY 1
kldykstra
Frequent Visitor

It was a simple fix. I was incorrectly copying the password from Cosmos - before selecting the copy icon, I first needed to select the eye "reveal" icon. Because I pressed the copy icon for the key before selecting reveal, I was accidentally just passing in a bunch of asterisks as the key to PowerBI. MicrosoftTeams-image (34).png

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Kudoed Authors