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

cosmos.azure.com doesn't load subscriptions when the user has access to more than 18,000 subscriptions #1986

Open
kwill-MSFT opened this issue Oct 2, 2024 · 0 comments

Comments

@kwill-MSFT
Copy link

In cosmos.azure.com if you sign in as a user that has access to more than 18,000 subscriptions then you are unable to select a subscription or database account. No error is shown in the portal, but the Subscription and CosmosDB Account Name dropdowns remain empty.

Network trace shows that Data Explorer is using Azure Resource Graph to query for microsoft.documentdb/databaseaccounts resources, and ARG fails with error:

{
"error": {
"code": "BadRequest",
"message": "Please provide below info when asking for support: timestamp = 2024-10-02T18:34:36.1937751Z, correlationId = 3217cea2-db7e-45d3-9c50-d2c459fe8be0.",
"details": [
{
"code": "TooManySubscriptionsUnderScope",
"message": "The number of subscriptions under provided tenant or management groups in the request has exceeded the allowed limit 18000. Please select a more granular scope or allow partial scopes results by passing AllowPartialScopes flag in the query options."
}
]
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant