Open
Description
API Spec link
API Spec version
2024-05-01
Describe the bug
original issue: Azure/azure-sdk-for-python#40909
Calling the api to get operation result for a long operation in api version 2024-05-01
, the response doesn't respect the right format, which causes the exception while polling for the results though SDK. The api works fine in older api versions.
Expected behavior
It should return {"status": "Succeeded"}
Actual behavior
It returns {"value":[]}
Reproduction Steps
Then get the operation status by calling: https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/operationResults/5c730e343244df1b9cb56e85?api-version=2024-05-01
Receive {"value":[]}
Environment
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
jlasdev commentedon Jun 12, 2025
Having the same issue