Open
Description
API Spec link
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