Hi Zalim
It sounds like you're trying to connect your Azure DocumentDB (with MongoDB compatibility) to Power BI and running into some issues with the connectors. Here’s what you can do:
Check Connection Type: As per the documentation, Power BI Desktop currently supports connecting to Azure Cosmos DB using the SQL API or the Gremlin API. If you're using the Table API, this isn't supported, so make sure you're trying the SQL or Gremlin API instead.
Use the Right Connector: For Azure Cosmos DB with MongoDB compatibility, ensure you’re selecting the "Azure Cosmos DB for MongoDB vCore" option in the Get Data experience within Power BI.
Connection Steps:
- Open Power BI and go to Get Data.
- Choose Azure and then select Azure Cosmos DB for MongoDB vCore.
- Input your Cosmos DB endpoint. You might need to specify the database and collection, but if omitted, it will show all available collections from the endpoint.
Hope this helps you connect the dots! If you keep experiencing issues, let’s brainstorm some more.
Follow-Up Questions:
- Which specific error message do you receive when trying to connect?
- Are you using the Power BI Desktop application or the web version?
- Have you ensured that your firewall settings in the Azure portal allow connections from your IP address?
- What mode are you trying to set (Import or DirectQuery)?
Feel free to share more details so we can troubleshoot further!!