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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
durgaraop21
Helper II
Helper II

How to Connect Azure Cosmos DB from Power BI Desktop with Securely?

Hi All, I need help.

 

I need to access Cosmos DB from Power BI desktop, In Azure Portal without selecting the option to "Accept connections from within global Azure datacenters." Is there any alternative method to connect securely?

Please find below screenshot for your reference.

durgaraop21_0-1723651245945.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @durgaraop21 ,

 

You can open this link :Configure an IP firewall for your Azure Cosmos DB account | Microsoft Learn .This article goes into detail about the function of this option, and I think it's a safe bet to turn it off.

 

vlinhuizhmsft_0-1723710134775.png

 

If you're wondering how to connect to Azure Cosmos DB in Power BI Desktop, use the URI of the Azure Cosmos DB account, and you can retrieve the URL from the URI box in the keys blade of the Azure portal. This link will help you: Power Query Azure Cosmos DB v2 (Beta) - Power Query | Microsoft Learn.

 

Best Regards,
Zhu
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

@Anonymous , Thank for your reply,
I am facing issue with this option selecting the Accept connections from within Azure datacenters,  I am able to access,  other wise i got error msg "Access forbidden issue".
Client is not accepting to enable this option.

Do you have any other ideas?

Anonymous
Not applicable

Hi @durgaraop21 ,

 

You can try to check if the firewall is blocking access to powerbi and add all powerbi related URLs to the allowed list.You can check against the following link: Add Power BI URLs to allowlist - Microsoft Fabric | Microsoft Learn

 

Best Regards,
Zhu
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors