Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d6dd274
Update managed identity commands for api-version 2024-11-30
isaacbanner Aug 12, 2025
61ed8f7
Rerun live tests with rebased cli
isaacbanner Aug 12, 2025
d50e393
Add parameter help message
isaacbanner Aug 12, 2025
6f70b9d
Add help message to create
isaacbanner Aug 12, 2025
99d67c7
Pylint
isaacbanner Aug 12, 2025
20e094c
Pylint
isaacbanner Aug 12, 2025
1e51163
Pylint
isaacbanner Aug 12, 2025
72a37ac
Update _help.py
isaacbanner Aug 20, 2025
c0c2ed0
Update test recordings
isaacbanner Sep 19, 2025
d136021
Merge branch 'dev' into msi/api20241130
isaacbanner Sep 19, 2025
80a5eb2
Update recordings for tests
isaacbanner Sep 19, 2025
7c681f8
Merge branch 'msi/api20241130' of https://github.com/isaacbanner/azur…
isaacbanner Sep 19, 2025
2309e83
Revert "Update recordings for tests"
isaacbanner Sep 19, 2025
dbcdc0a
Revert "Update test recordings"
isaacbanner Sep 19, 2025
86ab71d
Merge branch 'Azure:dev' into msi/api20241130
isaacbanner Oct 2, 2025
4bf2c94
Merge branch 'Azure:dev' into msi/api20241130
isaacbanner Oct 22, 2025
b869d16
Update the yaml to test
Oct 23, 2025
c70b52f
Merge branch 'Azure:dev' into msi/api20241130
mohamedyilmaz123 Oct 24, 2025
c8b6aec
Updated the test recordings
Oct 30, 2025
23cde0e
Merge branch 'Azure:dev' into msi/api20241130
mohamedyilmaz123 Oct 30, 2025
542467a
add new cli file
Nov 17, 2025
87e5d55
Merge branch 'Azure:dev' into msi/api20241130v2
mohamedyilmaz123 Nov 17, 2025
b96e3fb
add new impl
Nov 17, 2025
4e1e415
live tests
Nov 19, 2025
47219d6
live tests
Nov 20, 2025
818bd3e
add the passing tests
Nov 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/azure-cli-core/azure/cli/core/profiles/_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def default_api_version(self):
ResourceType.MGMT_SERVICEBUS: None,
ResourceType.MGMT_EVENTHUB: None,
ResourceType.MGMT_MONITOR: None,
ResourceType.MGMT_MSI: '2023-01-31',
ResourceType.MGMT_MSI: '2024-11-30',
ResourceType.MGMT_APPSERVICE: '2024-11-01',
ResourceType.MGMT_IOTHUB: None,
ResourceType.MGMT_IOTDPS: None,
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ interactions:
User-Agent:
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2023-01-31
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2024-11-30
response:
body:
string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003","name":"cli000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}'
Expand Down Expand Up @@ -151,7 +151,7 @@ interactions:
User-Agent:
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004?api-version=2023-01-31
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004?api-version=2024-11-30
response:
body:
string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004","name":"cli000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}'
Expand Down Expand Up @@ -564,7 +564,7 @@ interactions:
User-Agent:
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2023-01-31
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2024-11-30
response:
body:
string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003","name":"cli000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}'
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1?api-version=2023-01-31
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1?api-version=2024-11-30
response:
body:
string: '{"location":"eastus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1","name":"identity1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"165712e7-1c72-4fdb-9091-e280795dbfa3","clientId":"0fff363c-7015-4f17-a826-b30bdefa50bc"}}'
Expand Down Expand Up @@ -167,7 +167,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2?api-version=2023-01-31
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2?api-version=2024-11-30
response:
body:
string: '{"location":"eastus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2","name":"identity2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"97ede544-90a2-4150-9bbf-b9449577cd4a","clientId":"874b39d6-cf3a-465a-93dc-7808f8098ac8"}}'
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15186,7 +15186,7 @@ interactions:
User-Agent:
- AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp-user000007?api-version=2023-01-31
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp-user000007?api-version=2024-11-30
response:
body:
string: '{"location":"eastus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/containerapp-user000007","name":"containerapp-user000007","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"0eeb778d-4973-4b12-a019-3e69e8d2006f","clientId":"e90b9625-941f-4f2c-ac3d-00ac2a707816"}}'
Expand Down
Loading
Loading