Skip to content

[Search] Add 2026-11-01 support - #34277

Draft
Yangyang Lu (yangylu91) wants to merge 1 commit into
Azure:devfrom
yangylu91:feature-search-2026-11-01
Draft

Yangyang Lu (yangylu91) wants to merge 1 commit into
Azure:devfrom
yangylu91:feature-search-2026-11-01

Conversation

@yangylu91

@yangylu91 Yangyang Lu (yangylu91) commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ❌ Action needed

Breaking Changes Tests Suppressions
️✔️ None ❌ 128/130 ️✔️ None
❌AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.14
️✔️acs
️✔️latest
️✔️3.12
️✔️3.14
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.14
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.14
️✔️network
️✔️latest
️✔️3.12
️✔️3.14
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.14
❌search
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_private_endpoint_connection_crud self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f386988f2f0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f386a80e900>
command = 'search service create -n test000002 -g azure_search_cli_test000001 --sku basic --public-network-access Disabled'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:153: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:800: in run_job
    result = LongRunningOperation(cmd_copy.cli_ctx, 'Starting {}'.format(cmd_copy.name))(result)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:1168: in call
    result = poller.result()
             ^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/poller.py:109: in result
    self.wait(timeout)
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/poller.py:131: in wait
    raise self.exception
src/azure-cli-core/azure/cli/core/aaz/poller.py:84: in start
    for polling_method in self.polling_generator:
                          ^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/search/aaz/latest/search/service/create.py:232: in execute_operations
    yield self.ServicesCreateOrUpdate(ctx=self.ctx)()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/search/aaz/latest/search/service/create.py:252: in call
    session = self.client.send_request(request=request, stream=False, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/client.py:107: in send_request
    session = self.pipeline.run(request, stream=stream, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/http_policy.py:112: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/vcr/stubs/urllib3_stubs.py:14: in getresponse
    response = super().getresponse(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml(host='management.azure.com', port=443) at 0x7f38690dc9b0>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response, self.vcr_request.uri)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't play back this request: no recorded interaction matches it (the closest differ in custom_request_query_matcher).
E               record_mode 'once' doesn't record new requests into an existing cassette.
E               
E                 PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-11-01
E               
E               Cassette: /mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml
E                 record_mode: once
E                 match_on: scheme, method, path, custom_request_query_matcher
E                 interactions: 49 recorded, 1 played
E               
E               Closest recorded requests:
E                 1. PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-03-01-preview
E                    custom_request_query_matcher differs
E               
E               How to fix:
E                  If the request changed on purpose, record it again: run once with
E                   record_mode='new_episodes' to add it to the cassette, or record_mode='all'
E                   with drop_unused_requests=True to re-record the cassette from scratch [1].
E                 
 If the difference changes on every run (a timestamp, a random ID), make
E                   matching ignore it: loosen match_on, or normalize the request with
E                   before_record_request [2].
E               
E               [1] https://vcrpy.readthedocs.io/en/latest/usage.html#record-modes
E               [2] https://vcrpy.readthedocs.io/en/latest/configuration.html#request-matching

env/lib/python3.12/site-packages/vcr/stubs/init.py:296: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.search.tests.latest.test_private_endpoint_connection.AzureSearchServicesTests testMethod=test_private_endpoint_connection_crud>
resource_group = 'azure_search_cli_test000001'

    @ResourceGroupPreparer(name_prefix='azure_search_cli_test', location='eastus2euap')
    def test_private_endpoint_connection_crud(self, resource_group):
        self.kwargs.update({
            'sku_name': 'basic',
            'search_service_name': self.create_random_name(prefix='test', length=24),
            'vnet_name': self.create_random_name(prefix='vnet', length=24),
            'subnet_name': self.create_random_name(prefix='subnet', length=24),
            'private_endpoint_name': self.create_random_name(prefix='testpe', length=24),
            'private_endpoint_connection_name': self.create_random_name(prefix='testpec', length=24),
            'private_endpoint_connection_status_approved': 'Approved',
            'private_endpoint_connection_status_pending': 'Pending',
            'private_endpoint_connection_status_rejected': 'Rejected',
            'private_endpoint_connection_status_disconnected': 'Disconnected',
            'private_endpoint_connection_description_approved': 'Approved by test',
            'private_endpoint_connection_description_pending': 'Pending by test',
            'private_endpoint_connection_description_rejected': 'Rejected by test',
            'public_network_access': 'Disabled'
        })
    
        # create search service
>       search_service = self.cmd(
            'az search service create -n {search_service_name} -g {rg} --sku {sku_name} --public-network-access {public_network_access}',
            checks=[self.check('name', '{search_service_name}'),
                    self.check('sku.name', '{sku_name}'),
                    self.check('publicNetworkAccess', '{public_network_access}')]).get_output_in_json()

src/azure-cli/azure/cli/command_modules/search/tests/latest/test_private_endpoint_connection.py:37: 
 
 
 
 
 
 
 
 
 
 
 
                             
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
                                       _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f386988f2f0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f386a80e900>
command = 'search service create -n test000002 -g azure_search_cli_test000001 --sku basic --public-network-access Disabled'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't play back this request: no recorded interaction matches it (the closest differ in _custom_request_query_matcher).
E           record_mode 'once' doesn't record new requests into an existing cassette.
E           
E             PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-11-01
E           
E           Cassette: /mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml
E             record_mode: once
E             match_on: scheme, method, path, _custom_request_query_matcher
E             interactions: 49 recorded, 1 played
E           
E           Closest recorded requests:
E             1. PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-03-01-preview
E                _custom_request_query_matcher differs
E           
E           How to fix:
E              If the request changed on purpose, record it again: run once with
E               record_mode='new_episodes' to add it to the cassette, or record_mode='all'
E               with drop_unused_requests=True to re-record the cassette from scratch [1].
E             
 If the difference changes on every run (a timestamp, a random ID), make
E               matching ignore it: loosen match_on, or normalize the request with
E               before_record_request [2].
E           
E           [1] https://vcrpy.readthedocs.io/en/latest/usage.html#record-modes
E           [2] https://vcrpy.readthedocs.io/en/latest/configuration.html#request-matching

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/search/tests/latest/test_private_endpoint_connection.py:16
Failed test_list_private_link_resources The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_private_link_resources.py:16
Failed test_service_create_auth The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:365
Failed test_service_create_compute_type The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:468
Failed test_service_create_data_exfiltration_protections The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:488
Failed test_service_create_delete_list The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:321
Failed test_service_create_delete_show The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:300
Failed test_service_create_ip_rules The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:104
Failed test_service_create_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:134
Failed test_service_create_multi_partition The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:70
Failed test_service_create_multi_replica The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:87
Failed test_service_create_private_endpoint The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:120
Failed test_service_create_semantic_search The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:426
Failed test_service_create_skus The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:16
Failed test_service_knowledge_retrieval The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:509
Failed test_service_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:148
Failed test_service_update_ip_rules The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:201
Failed test_service_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:268
Failed test_service_update_private_endpoint The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:236
Failed test_shared_private_link_resource_crud The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_shared_private_link_resource.py:16
❌3.14
Type Test Case Error Message Line
Failed test_private_endpoint_connection_crud self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fd02e877e00>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fd02fa48b90>
command = 'search service create -n test000002 -g azure_search_cli_test000001 --sku basic --public-network-access Disabled'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.14/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:153: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.14/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:800: in run_job
    result = LongRunningOperation(cmd_copy.cli_ctx, 'Starting {}'.format(cmd_copy.name))(result)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:1168: in call
    result = poller.result()
             ^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/poller.py:109: in result
    self.wait(timeout)
env/lib/python3.14/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/poller.py:131: in wait
    raise self.exception
src/azure-cli-core/azure/cli/core/aaz/poller.py:84: in start
    for polling_method in self.polling_generator:
                          ^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/search/aaz/latest/search/service/create.py:232: in execute_operations
    yield self.ServicesCreateOrUpdate(ctx=self.ctx)()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/search/aaz/latest/search/service/create.py:252: in call
    session = self.client.send_request(request=request, stream=False, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/client.py:107: in send_request
    session = self.pipeline.run(request, stream=stream, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/aaz/http_policy.py:112: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.14/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.14/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.14/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
env/lib/python3.14/site-packages/vcr/stubs/urllib3_stubs.py:14: in getresponse
    response = super().getresponse(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml(host='management.azure.com', port=443) at 0x7fd02fad56d0>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response, self.vcr_request.uri)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't play back this request: no recorded interaction matches it (the closest differ in custom_request_query_matcher).
E               record_mode 'once' doesn't record new requests into an existing cassette.
E               
E                 PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-11-01
E               
E               Cassette: /mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml
E                 record_mode: once
E                 match_on: scheme, method, path, custom_request_query_matcher
E                 interactions: 49 recorded, 1 played
E               
E               Closest recorded requests:
E                 1. PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-03-01-preview
E                    custom_request_query_matcher differs
E               
E               How to fix:
E                  If the request changed on purpose, record it again: run once with
E                   record_mode='new_episodes' to add it to the cassette, or record_mode='all'
E                   with drop_unused_requests=True to re-record the cassette from scratch [1].
E                 
 If the difference changes on every run (a timestamp, a random ID), make
E                   matching ignore it: loosen match_on, or normalize the request with
E                   before_record_request [2].
E               
E               [1] https://vcrpy.readthedocs.io/en/latest/usage.html#record-modes
E               [2] https://vcrpy.readthedocs.io/en/latest/configuration.html#request-matching

env/lib/python3.14/site-packages/vcr/stubs/init.py:296: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.search.tests.latest.test_private_endpoint_connection.AzureSearchServicesTests testMethod=test_private_endpoint_connection_crud>
resource_group = 'azure_search_cli_test000001'

    @ResourceGroupPreparer(name_prefix='azure_search_cli_test', location='eastus2euap')
    def test_private_endpoint_connection_crud(self, resource_group):
        self.kwargs.update({
            'sku_name': 'basic',
            'search_service_name': self.create_random_name(prefix='test', length=24),
            'vnet_name': self.create_random_name(prefix='vnet', length=24),
            'subnet_name': self.create_random_name(prefix='subnet', length=24),
            'private_endpoint_name': self.create_random_name(prefix='testpe', length=24),
            'private_endpoint_connection_name': self.create_random_name(prefix='testpec', length=24),
            'private_endpoint_connection_status_approved': 'Approved',
            'private_endpoint_connection_status_pending': 'Pending',
            'private_endpoint_connection_status_rejected': 'Rejected',
            'private_endpoint_connection_status_disconnected': 'Disconnected',
            'private_endpoint_connection_description_approved': 'Approved by test',
            'private_endpoint_connection_description_pending': 'Pending by test',
            'private_endpoint_connection_description_rejected': 'Rejected by test',
            'public_network_access': 'Disabled'
        })
    
        # create search service
>       search_service = self.cmd(
            'az search service create -n {search_service_name} -g {rg} --sku {sku_name} --public-network-access {public_network_access}',
            checks=[self.check('name', '{search_service_name}'),
                    self.check('sku.name', '{sku_name}'),
                    self.check('publicNetworkAccess', '{public_network_access}')]).get_output_in_json()

src/azure-cli/azure/cli/command_modules/search/tests/latest/test_private_endpoint_connection.py:37: 
 
 
 
 
 
 
 
 
 
 
 
                             
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
                                       _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fd02e877e00>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fd02fa48b90>
command = 'search service create -n test000002 -g azure_search_cli_test000001 --sku basic --public-network-access Disabled'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't play back this request: no recorded interaction matches it (the closest differ in _custom_request_query_matcher).
E           record_mode 'once' doesn't record new requests into an existing cassette.
E           
E             PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-11-01
E           
E           Cassette: /mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/search/tests/latest/recordings/test_private_endpoint_connection_crud.yaml
E             record_mode: once
E             match_on: scheme, method, path, _custom_request_query_matcher
E             interactions: 49 recorded, 1 played
E           
E           Closest recorded requests:
E             1. PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure_search_cli_test000001/providers/Microsoft.Search/searchServices/test000002?api-version=2026-03-01-preview
E                _custom_request_query_matcher differs
E           
E           How to fix:
E              If the request changed on purpose, record it again: run once with
E               record_mode='new_episodes' to add it to the cassette, or record_mode='all'
E               with drop_unused_requests=True to re-record the cassette from scratch [1].
E             
 If the difference changes on every run (a timestamp, a random ID), make
E               matching ignore it: loosen match_on, or normalize the request with
E               before_record_request [2].
E           
E           [1] https://vcrpy.readthedocs.io/en/latest/usage.html#record-modes
E           [2] https://vcrpy.readthedocs.io/en/latest/configuration.html#request-matching

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/search/tests/latest/test_private_endpoint_connection.py:16
Failed test_list_private_link_resources The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_private_link_resources.py:16
Failed test_service_create_auth The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:365
Failed test_service_create_compute_type The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:468
Failed test_service_create_data_exfiltration_protections The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:488
Failed test_service_create_delete_list The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:321
Failed test_service_create_delete_show The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:300
Failed test_service_create_ip_rules The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:104
Failed test_service_create_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:134
Failed test_service_create_multi_partition The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:70
Failed test_service_create_multi_replica The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:87
Failed test_service_create_private_endpoint The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:120
Failed test_service_create_semantic_search The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:426
Failed test_service_create_skus The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:16
Failed test_service_knowledge_retrieval The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:509
Failed test_service_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:148
Failed test_service_update_ip_rules The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:201
Failed test_service_update_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:268
Failed test_service_update_private_endpoint The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_service.py:236
Failed test_shared_private_link_resource_crud The error message is too long, please check the pipeline log for details. azure/cli/command_modules/search/tests/latest/test_shared_private_link_resource.py:16
️✔️security
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.14

Related command
az search service create/update/show/list/delete/upgrade/wait, az search usage list, and the other az search subgroups that use the management API

Description
Updates az search to the GA Microsoft.Search management API version 2026-11-01.

  • Bumps the generated AAZ commands (service, usage) from 2026-03-01-preview to 2026-11-01.
  • Sets the default api_version in _client_factory.py to 2026-11-01, so the legacy (SDK-based) commands use it.
  • Adds knowledgeRetrieval to service upgrade and service wait; it is already in create/update/show/list.
  • Removes 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.
  • Removes the serviceLevelEncryptionKey test and its recording.
  • az search offering list stays on 2026-03-01-preview because the Offerings API is not in the GA API.

AAZ PR: Azure/aaz#1137

Testing Guide
azdev test search. Recordings for 2026-11-01 are pending the service rollout (ARM manifest rollout to Canary in progress), so playback tests fail until they are re-recorded. This is a draft until then.
azdev linter search and azdev style search pass.

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 the serviceLevelEncryptionKey option of --encryption-with-cmk, which is not part of the GA API


This PR checklist:

  • The PR title and History Notes follow the guidelines
  • I adhere to the Command Guidelines and Error Handling Guidelines
  • Test recordings re-recorded against a live 2026-11-01 endpoint (pending canary rollout)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@x-engineering-agent

Copy link
Copy Markdown
Contributor

Hi Yangyang Lu (@yangylu91),
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants