Skip to content

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

@kwill-MSFT

Description

@kwill-MSFT

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."
}
]
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions