Skip to content

[BUG] [Automation] Operation Usages_ListByAutomationAccount always returns InternalServerError #31077

Open

Description

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/automation/resource-manager/Microsoft.Automation/stable/2023-11-01/account.json#L382

API Spec version

2023-11-01

Describe the bug

Calling the API below always gets InternalServerError with status 500.

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/usages

Expected behavior

API should be able to return the usage for automation account.

Actual behavior

API returns InternalServerError.
{
"code": "InternalServerError",
"message": "{"Message":"An error has occurred."}"
}

Reproduction Steps

Try calling the API https://learn.microsoft.com/en-us/rest/api/automation/usages/list-by-automation-account?view=rest-automation-2023-11-01&tabs=HTTP#code-try-0.

Environment

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    AutomationMgmtThis issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions