Azure / Azure/azure-rest-api-specs
[BUG] /Microsoft.ManagedIdentity/userAssignedIdentities/listAssociatedResources is not defined in the latest API version
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
### API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/62f4b6969f4273d444daec4a1d2bf9769820fca2/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/preview/2025-01-31-preview/ManagedIdentity.json
### API Spec version
2025-01-31
### Describe the bug
The `/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/listAssociatedResources` operation is available in [2022-01-31](https://github.com/Azure/azure-rest-api-specs/blob/62f4b6969f4273d444daec4a1d2bf9769820fca2/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/preview/2022-01-31-preview/ManagedIdentity.json) version of `Microsoft.ManagedIdentity` provider, but not in the latest [2025-01-31](https://github.com/Azure/azure-rest-api-specs/blob/62f4b6969f4273d444daec4a1d2bf9769820fca2/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/preview/2025-01-31-preview/ManagedIdentity.json) version. This can be considered a bug as this operation is not deprecated, but currently used by [az identity list-resources](https://learn.microsoft.com/en-us/cli/azure/identity?view=azure-cli-latest#az-identity-list-resources) command.
### Expected behavior
The `/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/listAssociatedResources` operation should be included in the [2025-01-31](https://github.com/Azure/azure-rest-api-specs/blob/62f4b6969f4273d444daec4a1d2bf9769820fca2/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/preview/2025-01-31-preview/ManagedIdentity.json) version. as this operation is not deprecated, but currently used by [az identity list-resources](https://learn.microsoft.com/en-us/cli/azure/identity?view=azure-cli-latest#az-identity-list-resources) command.
### Actual behavior
As explained above, the `/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/listAssociatedResources` operation is not included in the [2025-01-31](https://github.com/Azure/azure-rest-api-specs/blob/62f4b6969f4273d444daec4a1d2bf9769820fca2/specification/msi/resource-manager/Microsoft.ManagedIdentity/ManagedIdentity/preview/2025-01-31-preview/ManagedIdentity.json) version.
### Reproduction Steps
Any emulator based on the latest version of the OpenAPI schema for the `Microsoft.ManagedIdentity` does not include this operation.
### Environment
Any environment.
Contributor guide
Research direction
Compare the 2022-01-31-preview and 2025-01-31-preview ManagedIdentity.json files at the paths linked in the issue, focusing on the userAssignedIdentities listAssociatedResources operation. Confirm the operation is absent from the latest schema and determine the matching definition to restore. Done means the latest API schema includes this non-deprecated operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100