Repository navigation
[Search] Add 2026-11-01 support - #34277
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Re-recorded live on Canary (eastus2euap). Moved update/SPL tests to eastus2euap, as westus/westcentralus do not yet serve 2026-11-01. test_shared_private_link_resource_crud not re-recorded: storage Wave3 policy blocks the test storage account. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Update: resolved. The previously failing Cause (for the record): the test creates a throwaway storage account, which our original test subscription's Wave3 policies ( Fix: I re-recorded the test live on 2026-11-01 against the Canary ARM endpoint, in a subscription that doesn't enforce those two policies. No policy exemption was needed, and the recording is real, not hand-patched or skipped. Subscription IDs are scrubbed, and all Search tests replay successfully. All Search recordings that run in CI are now on 2026-11-01. The only exception is Ready for review. The aaz PR is Azure/aaz#1137. |
There was a problem hiding this comment.
🔵 Needs a closer look
Service compatibility across generated and legacy SDK-backed commands still requires live endpoint validation, refreshed scenario recordings, and passing playback tests.
No open issues 🎉
What changed in this PR
Updates Azure CLI’s az search management commands to the 2026-11-01 GA API, while keeping az search offering list on the preview API.
Changes:
- Updates generated command API versions and the legacy SDK client’s default version.
- Aligns service schemas with GA: removes the preview-only
serviceLevelEncryptionKeyoption and addsknowledgeRetrievalto upgrade and wait responses. - Moves selected scenarios to
eastus2euapand removes the retired encryption-key test and recording.
Live re-recording remains pending service rollout, as documented in the draft PR.
Paths are relative to src/azure-cli/azure/cli/command_modules/search/.
| File | Description |
|---|---|
tests/latest/test_shared_private_link_resource.py |
Moves the shared private-link scenario to eastus2euap. |
tests/latest/test_service.py |
Updates test regions and removes the retired encryption-key scenario. |
tests/latest/recordings/test_service_update_service_level_encryption_key.yaml |
Deletes the retired scenario’s recording. |
aaz/latest/search/usage/_show.py |
Uses the GA API for usage details. |
aaz/latest/search/usage/_list.py |
Uses the GA API for usage listing. |
aaz/latest/search/service/shared_private_link_resource/_wait.py |
Uses the GA API for shared private-link polling. |
aaz/latest/search/service/shared_private_link_resource/_update.py |
Uses the GA API for shared private-link updates. |
aaz/latest/search/service/shared_private_link_resource/_show.py |
Uses the GA API for shared private-link details. |
aaz/latest/search/service/shared_private_link_resource/_list.py |
Uses the GA API for shared private-link listing. |
aaz/latest/search/service/shared_private_link_resource/_delete.py |
Uses the GA API for shared private-link deletion. |
aaz/latest/search/service/shared_private_link_resource/_create.py |
Uses the GA API for shared private-link creation. |
aaz/latest/search/service/query_key/_list.py |
Uses the GA API for query-key listing. |
aaz/latest/search/service/query_key/_delete.py |
Uses the GA API for query-key deletion. |
aaz/latest/search/service/query_key/_create.py |
Uses the GA API for query-key creation. |
aaz/latest/search/service/private_link_resource/_list.py |
Uses the GA API for private-link resource listing. |
aaz/latest/search/service/private_endpoint_connection/_update.py |
Uses the GA API for private endpoint connection updates. |
aaz/latest/search/service/private_endpoint_connection/_show.py |
Uses the GA API for private endpoint connection details. |
aaz/latest/search/service/private_endpoint_connection/_list.py |
Uses the GA API for private endpoint connection listing. |
aaz/latest/search/service/private_endpoint_connection/_delete.py |
Uses the GA API for private endpoint connection deletion. |
aaz/latest/search/service/network_security_perimeter_configuration/_show.py |
Uses the GA API for perimeter configuration details. |
aaz/latest/search/service/network_security_perimeter_configuration/_reconcile.py |
Uses the GA API for perimeter reconciliation. |
aaz/latest/search/service/network_security_perimeter_configuration/_list.py |
Uses the GA API for perimeter configuration listing. |
aaz/latest/search/service/admin_key/_regenerate.py |
Uses the GA API for admin-key regeneration. |
aaz/latest/search/service/admin_key/_list.py |
Uses the GA API for admin-key listing. |
aaz/latest/search/service/_wait.py |
Updates API and response schema, including knowledgeRetrieval. |
aaz/latest/search/service/_upgrade.py |
Updates API and response schema, including knowledgeRetrieval. |
aaz/latest/search/service/_update.py |
Updates API and removes preview-only encryption-key handling. |
aaz/latest/search/service/_show.py |
Updates API and removes the preview-only encryption-key response field. |
aaz/latest/search/service/_list.py |
Updates both listing scopes and removes the preview-only response field. |
aaz/latest/search/service/_delete.py |
Uses the GA API for service deletion. |
aaz/latest/search/service/_create.py |
Updates API and removes preview-only encryption-key handling. |
aaz/latest/search/service/_check_name_availability.py |
Uses the GA API for name availability checks. |
_client_factory.py |
Sets the legacy SDK client’s default API to 2026-11-01. |
Review effort: Balanced
|
Please fix CI issues |
…11-01 # Conflicts: # src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_service_update_service_level_encryption_key.yaml
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Hi Yong Zhang (@yonzhan) , thanks for the comment. CI failures have been fixed and all checks now pass. Could you please take another look? Thanks for your time and support! |
|
Yangyang Lu (@yangylu91) CI passed, but regression coverage for the 2026-11-01 migration is not verified. The inspected source explicitly rejects the removed service-level encryption-key input and adds knowledge-retrieval response mappings; no semantic defect was confirmed in this bounded inspection. Review detailsUpstream CI3/3 checks passed in the supplied snapshot. Test validation
Changed API-version requests and The new upgrade response mapping is not exercised by the three changed test files. Suggested focused verification: run Inspection limitsThe Reviewer read all 34 non-recording changed files, including generated diffs, but did not exhaustively inspect the 22 recording changes under Risk assessment71/100 · High The High rating is driven by security-sensitive behavior, public CLI behavior, generated output.
Ask the Agent Tick a box to queue an action. Requires write access to this repository.
|
|
/azp run |
|
Commenter does not have sufficient privileges for PR 34277 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Synced offline with the Azure CLI reviewers -- Mansoor Sarfraz and Ethan Yang:
Next steps:
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Moving this out of Ignite (Nov 16th release) |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Review comments are inline on the changed lines. See the X Engineering Agent Report.
|
ARM manifest rollout has completed globally for Search mgmt-plane 2026-11-01 GA. |
az search service wait returns the unflattened resource, so the JMESPath condition must target properties.knowledgeRetrieval. Trim the recording to the single wait poll that now satisfies the condition. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dec98ff9-d134-4d6c-a0c6-2e48a04b07e2
|
Hi mansoor sarfraz (@msarfraz) , ARM manifest of Search RP 2026-11-01 has been rolled out. Could you pls take another look at this PR and approve it if everything looks good? |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
mansoor sarfraz (msarfraz)
left a comment
There was a problem hiding this comment.
Re-approving at 6303b67. Tests pass and the merge with dev is clean.
The identity assign/remove/show subcommands were added automatically by the generator and are not exposed by the companion azure-cli PR (Azure/azure-cli#34277). The searchServices identity schema is unchanged from 2025-05-01, which has no identity subgroup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dec98ff9-d134-4d6c-a0c6-2e48a04b07e2
* Aaz files for Search 2026-11-01 support Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep 2025-05-01 version entries in Search command docs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove search service identity command group The identity assign/remove/show subcommands were added automatically by the generator and are not exposed by the companion azure-cli PR (Azure/azure-cli#34277). The searchServices identity schema is unchanged from 2025-05-01, which has no identity subgroup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dec98ff9-d134-4d6c-a0c6-2e48a04b07e2 --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dec98ff9-d134-4d6c-a0c6-2e48a04b07e2
The Azure#34277 change keeps --service-level-encryption-key on az search service create/update but raises a clear error for API version 2026-11-01 instead of removing the argument. The breaking-change bot confirmed no breaking change, so drop the [BREAKING CHANGE] tag and reword the note to describe the actual behavior.
The Azure#34277 change keeps --service-level-encryption-key on az search service create/update but raises a clear error for API version 2026-11-01 instead of removing the argument. The breaking-change bot confirmed no breaking change, so drop the [BREAKING CHANGE] tag and reword the note to describe the actual behavior.
🤖 PR Validation — ️✔️ All clear
Related command
az search service create/update/show/list/delete/upgrade/wait,az search usage list, and the otheraz searchsubgroups that use the management APIDescription
Updates
az searchto the GA Microsoft.Search management API version2026-11-01.service,usage) from2026-03-01-previewto2026-11-01.api_versionin_client_factory.pyto2026-11-01, so the legacy (SDK-based) commands use it.knowledgeRetrievalto theservice upgradeandservice waitoutput. It is a response property only, and--knowledge-retrievalon create/update is unchanged.serviceLevelEncryptionKey, which is not in the GA API (intentionally removed by the service team while its shape is reconsidered). It only existed in the preview API.serviceLevelEncryptionKeytest and its recording.az search offering liststays on2026-03-01-previewbecause the Offerings API is not in the GA API.test_service_update*andtest_shared_private_link_resource_crudtests toeastus2euap, because Canary only serves 2026-11-01 in EUAP regions until the rollout completes.AAZ PR: Azure/aaz#1137
Testing Guide
azdev test search. All 23 Search test recordings that run in CI were re-recorded live against 2026-11-01 on the Canary ARM endpoint (https://eastus2euap.management.azure.com), and they replay successfully. Two tests are skipped (admin key and query key).test_shared_private_link_resource_crudcreates a storage account, so it was recorded in a subscription without the Wave3 storage policies (Azure Search Test Public EUAP). Subscription IDs are scrubbed from the recording.azdev linter searchandazdev style searchpass.History Notes
[Search]
az search service create/update: Add support for API version 2026-11-01[Search] BREAKING CHANGE:
az search service create/update: Remove theserviceLevelEncryptionKeyoption of--encryption-with-cmk, which is not part of the GA APIThis PR checklist: