{AppConfig} Bump appconfig mgmt sdk and push test recordings#33406
Conversation
- Bump azure-mgmt-appconfiguration in setup.py / requirements - Re-record impacted appconfig test recordings against the new SDK version - Update non-NSP test files for new SDK
️✔️AzureCLI-FullTest
|
|
Hi @ChristineWanjau, |
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the Azure CLI App Configuration dependencies and refreshes test assets/recordings to align with the newer SDK and updated API behavior.
Changes:
- Bumps
azure-mgmt-appconfigurationfrom6.0.0b1to6.0.0b2across setup + platform requirements. - Adjusts the AKS creation parameters used by an AppConfig Kubernetes import test (node resource group + OS SKU).
- Updates App Configuration test recordings (including API version changes and response shape differences).
Reviewed changes
Copilot reviewed 7 out of 36 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/azure-cli/setup.py | Bumps pinned App Configuration management SDK version. |
| src/azure-cli/requirements.py3.windows.txt | Keeps Windows pinned dependencies in sync with SDK bump. |
| src/azure-cli/requirements.py3.Linux.txt | Keeps Linux pinned dependencies in sync with SDK bump. |
| src/azure-cli/requirements.py3.Darwin.txt | Keeps macOS pinned dependencies in sync with SDK bump. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/test_appconfig_kv_import_export_commands.py | Updates AKS creation inputs used by a live scenario test. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_user_token_audience.yaml | Refreshes recording for updated API version/behavior and adds additional interactions. |
| src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_appinsights.yaml | Refreshes recording; notably drops the prior App Insights creation interaction. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| aks_cluster_name = self.create_random_name(prefix=configmap_import_aks_prefix, length=24) | ||
|
|
||
|
|
||
| aks_cluster_name = self.create_random_name(prefix=configmap_import_aks_prefix, length=18) |
| namespace = 'default' | ||
|
|
||
|
|
||
| node_resource_group = self.create_random_name(prefix='MC_aks_', length=24) |
| try: | ||
| # Create AKS cluster and wait for completion | ||
| self.cmd('aks create -g {rg} -n {aks_cluster_name} -l {rg_loc} --node-count 1 --generate-ssh-keys --enable-managed-identity --enable-image-cleaner --node-os-upgrade-channel NodeImage') | ||
| self.cmd('aks create -g {rg} -n {aks_cluster_name} -l {rg_loc} --node-resource-group {node_resource_group} --node-count 1 --generate-ssh-keys --enable-managed-identity --enable-image-cleaner --node-os-upgrade-channel NodeImage --os-sku AzureLinux') |
| @@ -1,82 +1,8 @@ | |||
| interactions: | |||
| - request: | |||
| User-Agent: | ||
| - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) | ||
| - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) | ||
| method: PUT | ||
| uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/aadstore4qa4o2x727nqpn7s/providers/Microsoft.Authorization/roleAssignments/4c331954-98b2-4635-802f-ca860a8fbebe?api-version=2022-04-01 | ||
| uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/aadstoreni6qxo25oczza43a/providers/Microsoft.Authorization/roleAssignments/f19e6ef9-f14b-4507-af79-f74a7307d862?api-version=2022-04-01 | ||
| response: | ||
| body: | ||
| string: '{"error": {"code": "AuthorizationFailed", "message": "The client ''test@example.com'' | ||
| with object id ''43ddb22f-baef-4d3f-9e56-3a89871b9b59'' does not have authorization | ||
| to perform action ''Microsoft.Authorization/roleAssignments/write'' over scope | ||
| ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/aadstore4qa4o2x727nqpn7s/providers/Microsoft.Authorization/roleAssignments/4c331954-98b2-4635-802f-ca860a8fbebe'' | ||
| or the scope is invalid. If access was recently granted, please refresh your | ||
| credentials."}}' | ||
| string: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/516239f1-63e1-4d78-a4de-a74fb236a071", | ||
| "principalId": "43ddb22f-baef-4d3f-9e56-3a89871b9b59", "principalType": "User", | ||
| "scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/aadstoreni6qxo25oczza43a", | ||
| "condition": null, "conditionVersion": null, "createdOn": "2026-05-04T11:46:11.5977004Z", | ||
| "updatedOn": "2026-05-04T11:46:11.8017004Z", "createdBy": null, "updatedBy": | ||
| "43ddb22f-baef-4d3f-9e56-3a89871b9b59", "delegatedManagedIdentityResourceId": | ||
| null, "description": null}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/aadstoreni6qxo25oczza43a/providers/Microsoft.Authorization/roleAssignments/f19e6ef9-f14b-4507-af79-f74a7307d862", | ||
| "type": "Microsoft.Authorization/roleAssignments", "name": "f19e6ef9-f14b-4507-af79-f74a7307d862"}' |
Related command
Description
Bump appconfig mgmt sdk and push test recordings
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.