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

Azure Cosmos DB Credentials Failing

Hi All,

 

I'm having issues scheduling a refresh a dashboard that is using the Azure Cosmos DB as its data source. The only way I can properly refresh is by re-publishing the dashboard into Power BI service.

 

When I attempt to refresh via Power BI service I get a credential failure:

 

 azure cosmos credential error.png

 

I'm inputting the correct account key, but I'm having no luck. I've already tried deleting the dataset and recreating it. Any idea how to solve this issue? 

4 REPLIES 4
v-yuta-msft
Community Support
Community Support

Hi NoobToPro,

 

This issue is more related to azure cosmos db side which may caused by your cosmos database key is timeout. You should configure default consistency for an azure cosmos account. 

  1. In the Azure portal, access your Azure Cosmos DB account.
  2. In the account page, click Default consistency.
  3. In the Default Consistency page, select the new consistency level and click Save.

documentdb_change_consistency-1.png 

 

Please refer to this documentation: https://docs.microsoft.com/en-us/azure/cosmos-db/manage-account#keys.

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Thank you. I'll go ahead and let our server team know of this. I'll reply back with any updates. 

Hi NoobToPro,

 

Have you solved your issue? Could you kindly mark my answer to finish this thread?


Regards,

Jimmy Tao

Anonymous
Not applicable

No it has not. 

 

@v-yuta-msft, according to this topic on Github the refresh feature on Power BI service doesn't support Cosmos DB. Is this accurate? 

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