Skip to content

az vm run-command invoke always returns Run command extension execution is in progress #32305

@tskong

Description

@tskong

Describe the bug

When I execute the command az vm run-command invoke, it always returns (Conflict) Run command extension execution is in progress. I have used az vm run-command list which shows no commands are in progress.

I have also rebooted my server, waiting overnight and it's still erroring. I'm wondering if it's related to #32286 which was causing me some problems yesterday.

Related command

 az vm run-command invoke `
     --resource-group "redacted" `
     --name "redacted" `
     --command-id RunPowerShellScript `
     --scripts "Write-Host hello"

Errors

(Conflict) Run command extension execution is in progress. Please wait for completion before invoking a run command.
Code: Conflict
Message: Run command extension execution is in progress. Please wait for completion before invoking a run command.

Issue script & Debug output

Command 1

az vm run-command invoke `
>>     --resource-group "redacted" `
>>     --name "redacted" `
>>     --command-id RunPowerShellScript `
>>     --scripts "Write-Host hello" --debug
cli.knack.cli: Command arguments: ['vm', 'run-command', 'invoke', '--resource-group', 'redacted', '--name', 'redacted', '--command-id', 'RunPowerShellScript', '--scripts', 'Write-Host hello', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x000002C260D744A0>, <function OutputProducer.on_global_arguments at 0x000002C2613098A0>, <function CLIQuery.on_global_arguments at 0x000002C26135B7E0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'vm': ['azure.cli.command_modules.vm']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: vm                        0.493        60       283
cli.azure.cli.core: Total (1)                 0.493        60       283
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: Total (0)                 0.000         0         0
cli.azure.cli.core: Loaded 60 groups, 283 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : vm run-command invoke
cli.azure.cli.core: Command table: vm run-command invoke
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x000002C2631FD080>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\redacted.\.azure\commands\2025-10-22.09-57-39.vm_run-command_invoke.38520.log'.
az_command_data_logger: command args: vm run-command invoke --resource-group {} --name {} --command-id {} --scripts {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x000002C2632525C0>]
cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/profiles/_shared.py", line 454, in _get_attr
  File "importlib\__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'azure.mgmt.compute.v2024_03_03'

cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x000002C26327C900>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x000002C26327CAE0>, <function register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x000002C26327CB80>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x000002C261309940>, <function CLIQuery.handle_query_parameter at 0x000002C26135B880>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x000002C26327C9A0>]
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\redacted.\\.azure\\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\redacted.\.azure\msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810
msal.authority: openid_config("https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_credentials: UserCredential.acquire_token: scopes=['https://management.core.windows.net//.default'], claims_challenge=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 44c7c5fe-785d-49e7-a273-69fe14c6ce6a
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/762fa57c-218b-4a95-8847-1e661c322c7f/resourceGroups/redacted/providers/Microsoft.Compute/virtualMachines/redacted/runCommand?api-version=2024-11-01'
cli.azure.cli.core.sdk.policies: Request method: 'POST'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'Content-Length': '54'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': '294575c9-af25-11f0-927d-010101010000'
cli.azure.cli.core.sdk.policies:     'CommandName': 'vm run-command invoke'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--resource-group --name --command-id --scripts --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.78.0 (MSI) azsdk-python-core/1.35.0 Python/3.13.7 (Windows-11-10.0.22631-SP0)'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: {"commandId": "RunPowerShellScript", "parameters": []}
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "POST /subscriptions/762fa57c-218b-4a95-8847-1e661c322c7f/resourceGroups/redacted/providers/Microsoft.Compute/virtualMachines/redacted/runCommand?api-version=2024-11-01 HTTP/1.1" 409 172
cli.azure.cli.core.sdk.policies: Response status: 409
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '172'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/UpdateVMSubscriptionMaximum;1499,Microsoft.Compute/UpdateVMResource;11'
cli.azure.cli.core.sdk.policies:     'x-ms-need-to-refresh-epl-cache': 'False'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'a7f1e821-33ac-4e34-9e9e-3af4512d3c99'
cli.azure.cli.core.sdk.policies:     'x-ms-operation-identifier': 'tenantId=72580bc0-52ef-4264-b45d-c6d2b0eb1810,objectId=287e034f-7821-4bb8-920e-195ba037a863/uksouth/6d85b795-5a6d-4cc0-9f93-c8e97e99ff9b'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-writes': '199'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-writes': '2999'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '10f23aa5-d22c-4cb3-ae8a-64e33b51739d'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'UKSOUTH:20251022T085739Z:10f23aa5-d22c-4cb3-ae8a-64e33b51739d'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: B6D6C7A8BC2C4250A378E9E176E7A8E9 Ref B: AMS231032607053 Ref C: 2025-10-22T08:57:39Z'
cli.azure.cli.core.sdk.policies:     'Date': 'Wed, 22 Oct 2025 08:57:39 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
  "error": {
    "code": "Conflict",
    "message": "Run command extension execution is in progress. Please wait for completion before invoking a run command."
  }
}
cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 666, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 734, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 714, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 1085, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 1072, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_poller.py", line 108, in result
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/tracing/decorator.py", line 119, in wrapper_use_tracer
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_poller.py", line 130, in wait
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_poller.py", line 83, in _start
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\command_modules\vm\aaz_compact\latest\vm\run_command\__cmds.py", line 735, in _execute_operations
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure\cli\command_modules\vm\aaz_compact\latest\vm\run_command\__cmds.py", line 775, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/aaz/_operation.py", line 324, in on_error
azure.core.exceptions.ResourceExistsError: (Conflict) Run command extension execution is in progress. Please wait for completion before invoking a run command.
Code: Conflict
Message: Run command extension execution is in progress. Please wait for completion before invoking a run command.

cli.azure.cli.core.azclierror: (Conflict) Run command extension execution is in progress. Please wait for completion before invoking a run command.
Code: Conflict
Message: Run command extension execution is in progress. Please wait for completion before invoking a run command.
az_command_data_logger: (Conflict) Run command extension execution is in progress. Please wait for completion before invoking a run command.
Code: Conflict
Message: Run command extension execution is in progress. Please wait for completion before invoking a run command.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x000002C2631FD300>]
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 1.553 seconds (init: 0.362, invoke: 1.190)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 4192 in cache file under C:\Users\redacted.\.azure\telemetry\20251022095740205
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\redacted.\.azure C:\Users\redacted.\.azure\telemetry\20251022095740205"
telemetry.process: Return from creating process 38224
telemetry.main: Finish creating telemetry upload process.

Command 2

az vm run-command list --vm-name redacted --resource-group redacted --debug

cli.knack.cli: Command arguments: ['vm', 'run-command', 'list', '--vm-name', 'redacted', '--resource-group', 'redacted', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x00000250272F44A0>, <function OutputProducer.on_global_arguments at 0x00000250278898A0>, <function CLIQuery.on_global_arguments at 0x00000250278DB7E0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'vm': ['azure.cli.command_modules.vm']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: vm                        0.518        60       283
cli.azure.cli.core: Total (1)                 0.518        60       283
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: Total (0)                 0.000         0         0
cli.azure.cli.core: Loaded 60 groups, 283 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : vm run-command list
cli.azure.cli.core: Command table: vm run-command list
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x000002502988D080>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\redacted.redacted\.azure\commands\2025-10-22.09-59-10.vm_run-command_list.37168.log'.
az_command_data_logger: command args: vm run-command list --vm-name {} --resource-group {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x000002502A0D25C0>]
cli.azure.cli.core.profiles._shared: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/profiles/_shared.py", line 454, in _get_attr
  File "importlib\__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'azure.mgmt.compute.v2024_03_03'

cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x000002502A0FC900>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x000002502A0FCAE0>, <function register_upcoming_breaking_change_info.<locals>.update_breaking_change_info at 0x000002502A0FCB80>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x0000025027889940>, <function CLIQuery.handle_query_parameter at 0x00000250278DB880>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x000002502A0FC9A0>]
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\\Users\\redacted.redacted\\.azure\\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\redacted.redacted\.azure\msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810
msal.authority: openid_config("https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/72580bc0-52ef-4264-b45d-c6d2b0eb1810/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_credentials: UserCredential.acquire_token: scopes=['https://management.core.windows.net//.default'], claims_challenge=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 8e72d4db-f76b-4157-acb3-6a66db32e115
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/762fa57c-218b-4a95-8847-1e661c322c7f/resourceGroups/redacted/providers/Microsoft.Compute/virtualMachines/redacted/runCommands?api-version=2024-11-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': '5faf926c-af25-11f0-8137-010101010000'
cli.azure.cli.core.sdk.policies:     'CommandName': 'vm run-command list'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--vm-name --resource-group --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.78.0 (MSI) azsdk-python-core/1.35.0 Python/3.13.7 (Windows-11-10.0.22631-SP0)'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/762fa57c-218b-4a95-8847-1e661c322c7f/resourceGroups/redacted/providers/Microsoft.Compute/virtualMachines/redacted/runCommands?api-version=2024-11-01 HTTP/1.1" 200 12
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '12'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-original-request-ids': '59d4031f-7d5a-4616-b1aa-0ad78cddd5c0'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/LowCostGetSubscriptionMaximum;23999,Microsoft.Compute/LowCostGetResource;35'
cli.azure.cli.core.sdk.policies:     'x-ms-need-to-refresh-epl-cache': 'False'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '249'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-global-reads': '3749'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'aa9c4635-b3b1-4b09-9b28-e286358c4e9a'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'aa9c4635-b3b1-4b09-9b28-e286358c4e9a'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'UKSOUTH:20251022T085911Z:aa9c4635-b3b1-4b09-9b28-e286358c4e9a'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies:     'X-MSEdge-Ref': 'Ref A: 1F25682437BA48F0B44CFB2B25A81BB3 Ref B: DUB601080509023 Ref C: 2025-10-22T08:59:11Z'
cli.azure.cli.core.sdk.policies:     'Date': 'Wed, 22 Oct 2025 08:59:10 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[]}
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x000002502A0D1EE0>, <function _x509_from_base64_to_hex_transform at 0x000002502A0D1F80>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
[]
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x000002502988D300>]
az_command_data_logger: exit code: 0
cli.__main__: Command ran in 1.194 seconds (init: 0.264, invoke: 0.930)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3812 in cache file under C:\Users\redacted.redacted\.azure\telemetry\20251022095911231
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\redacted.redacted\.azure C:\Users\redacted.redacted\.azure\telemetry\20251022095911231"
telemetry.process: Return from creating process 24844
telemetry.main: Finish creating telemetry upload process.

Expected behavior

The command should execute

Environment Summary

{
"azure-cli": "2.77.0",
"azure-cli-core": "2.77.0",
"azure-cli-telemetry": "1.1.0",
"extensions": { }
}

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botComputeaz vm/vmss/image/disk/snapshotPossible-SolutionService AttentionThis issue is responsible by Azure service team.Similar-Issuecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions