Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching resources found. when trying to connect to cosmos/mongo db #2090

Closed
ddobric opened this issue Jan 5, 2023 · 2 comments
Closed
Assignees
Labels
bug The issue reveals something not working as expected. investigate The issue's root cause is unknown. Someone needs to find that out. no response Cannot make progress without additional user response.
Milestone

Comments

@ddobric
Copy link

ddobric commented Jan 5, 2023

Using Azure Extension and scrapbook for mongo db.
When trying to connect, I can successfully sign-in to Azure and select a subscription. However, when trying to connect to DB, ..
image

..the extension fails with the following error:

No matching resources found:
image

PS.Have many subscriptions under the signed account.

@alexweininger alexweininger added the bug The issue reveals something not working as expected. label Jan 26, 2023
@alexweininger alexweininger added this to the 0.19.0 milestone Jan 26, 2023
@JasonYeMSFT JasonYeMSFT modified the milestones: 0.19.0, 0.20.0 Sep 11, 2023
@JasonYeMSFT JasonYeMSFT added the investigate The issue's root cause is unknown. Someone needs to find that out. label Sep 20, 2023
@JasonYeMSFT JasonYeMSFT self-assigned this Sep 20, 2023
@JasonYeMSFT
Copy link
Contributor

I've recently got deployed to work on this project. I know it's a bit late but the best explanation I can come up with is that there is no MongoDB database account found under your selected subscription. You can check if that's the case by expanding your subscription node, expanding Azure Cosmos DB node, and see if there are any database account nodes. The 2nd best explanation is that for some reason your database account has these properties modified and ended up in an unexpected state.

"type": "Microsoft.DocumentDb/databaseAccounts",
"tags": {
        "defaultExperience": "Azure Cosmos DB for MongoDB API"
},
"kind": "MongoDB"

You can right click the database you meant to connect to, select "View Properties" and see if all these properties values match.

@JasonYeMSFT JasonYeMSFT modified the milestones: 0.20.0, 0.21.0 Sep 22, 2023
@JasonYeMSFT
Copy link
Contributor

I am going to close this issue. I don't have enough information to investigate this issue.

@JasonYeMSFT JasonYeMSFT added the no response Cannot make progress without additional user response. label Feb 16, 2024
@microsoft microsoft locked and limited conversation to collaborators Apr 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug The issue reveals something not working as expected. investigate The issue's root cause is unknown. Someone needs to find that out. no response Cannot make progress without additional user response.
Projects
None yet
Development

No branches or pull requests

3 participants