-
Notifications
You must be signed in to change notification settings - Fork 3.4k
x-ms-client-request-id overwritten by CLI core #25831
Copy link
Copy link
Open
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamCoreCLI core infrastructureCLI core infrastructureact-platform-engineering-squadquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamCoreCLI core infrastructureCLI core infrastructureact-platform-engineering-squadquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Unable to set
cli.azure.cli.core.sdk.policies: Request method: 'PUT'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies: 'Content-Length': '176'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '4159a480-c203-11ed-b9e5-6045bdc724a4'
cli.azure.cli.core.sdk.policies: 'x-ms-return-client-request-id': 'True'
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'CommandName': 'arcappliance deploy vmware'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--config-file --debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-resourceconnector/1.0.0b3 Python/3.10.8 (Windows-10-10.0.22000-SP0) arcappliance-extension-version/1.0.0'
cli.azure.cli.core.sdk.policies: 'Authorization': '*****'
Related issue - Azure/azure-sdk-for-python#29325
To Reproduce
Expected behavior
Passing the header with
x-ms-client-request-idshould be respected by CLI coreEnvironment summary
Environment Summary
Additional context