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
durgaraop21
Helper II
Helper II

Connecting Azure Cosmos DB to Power BI

Currently I am connecting to cosmos db by providing endpoint url in get data menu of power bi desktop application. Endpoint url is taken from azure portal's cosmos db -> key section. Is there any other secure way to connect with out account key?

Can you please anyone tell me how to connect an Azure Cosmos DB to Power BI without account keys.

1 ACCEPTED SOLUTION
v-nuoc-msft
Community Support
Community Support

Hi @durgaraop21

 

To your question about securely connecting Azure Cosmos DB to Power BI without using an account key, there is a way to leverage Azure Synapse Link for Azure Cosmos DB without using an account key. Azure Cosmos DB connects to Power BI. Here are the steps to set up a connection using Azure Synapse Link:

 

Enable Azure Synapse Link for your Azure Cosmos DB account.

 

Set up Azure Synapse Analytics.

 

Connect Power BI to Azure Synapse Analytics.

 

You can view the link below for more details:

 

Analytics with Azure Synapse Link - Azure Cosmos DB | Microsoft Learn

 

Power BI tutorial for Azure Cosmos DB | Microsoft Learn

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-nuoc-msft
Community Support
Community Support

Hi @durgaraop21

 

To your question about securely connecting Azure Cosmos DB to Power BI without using an account key, there is a way to leverage Azure Synapse Link for Azure Cosmos DB without using an account key. Azure Cosmos DB connects to Power BI. Here are the steps to set up a connection using Azure Synapse Link:

 

Enable Azure Synapse Link for your Azure Cosmos DB account.

 

Set up Azure Synapse Analytics.

 

Connect Power BI to Azure Synapse Analytics.

 

You can view the link below for more details:

 

Analytics with Azure Synapse Link - Azure Cosmos DB | Microsoft Learn

 

Power BI tutorial for Azure Cosmos DB | Microsoft Learn

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-nuoc-msft 
Thanks for the solution, Can please tell me
Is there any drawabacks from Azure Synapse , like PBIDS files only support a single data source in one file.
For Example : My sources are one is SQL and other one is Kusto and Azure Cosmos DB, Is it working or not ? 

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!

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.