connectedk8s: query for custom location object id with app id instead of app display name #6486
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Connected Kubernetes
Service Attention
This issue is responsible by Azure service team.
Describe the bug
Display name is not guaranteed to be unique and relialble. Instead the custom location's first party app id should be used to query for its object id.
Custom location's Ap ID bc313c14-388c-4e7d-a58e-70017303ee3b is constant across all azure clouds. Thi id should be used to query for the object id.
azure-cli-extensions/src/connectedk8s/azext_connectedk8s/custom.py
Line 2185 in 066fc43
Related command
N/A
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
N/A
Environment Summary
N/A
Additional context
in disconnected clouds, the first party apps are created with the same App ID, however Display names are not guaranteed to be the same.
The text was updated successfully, but these errors were encountered: