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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Azure Cosmos DB - Expression.Error: Access to the resource is forbidden

Hi, 

 

Trying to get access to an Azure Cosmos DB, but getting the error 'Expression.Error: Access to the resource is forbidden'. I have access to the database in the Microsoft Azure Portal. The URL I take from the Overview window where it states 'URI'. I leave the database and collection blank. This allows me to see the four collections that are part of this database. For the Feed / Account Key I take the primary password, which I found in the Connection String Settings in the Azure Portal. But this results in the 'Expression.Error: Access to the resource is forbidden' error. Is someone able to help me out with this?

 

Best regards,

Joost

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , refer solution and link provided post that

https://community.powerbi.com/t5/Desktop/Access-to-the-resource-is-forbidden-Cosmos-DB-issue/m-p/1259980

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I have moved through the various posts, but nothing has helped so far. The Data Source connection only asks for two settings (URL + Account Key), hence I cannot believe the 'issue' is that big that I need to sidetrack different connections to get access. Any other leads?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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