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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors