(VMExtensionProvisioningError) VM has reported a failure when processing extension 'customScript' (publisher 'Microsoft.Azure.Extensions' and type 'customScript'). Error message: 'Enable failed: failed to execute command: command terminated with exit stat

Chris Mesner 5 Reputation points
2024-09-04T18:23:41.17+00:00

getting error when trying to run 'az vm extension set' script

(VMExtensionProvisioningError) VM has reported a failure when processing extension 'customScript' (publisher 'Microsoft.Azure.Extensions' and type 'customScript'). Error message: 'Enable failed: failed to execute command: command terminated with exit status=1

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,504 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VarunTha 7,730 Reputation points Microsoft Vendor
    2024-09-05T08:05:44.0633333+00:00

    Hi Chris Mesner,
    Thank you for reaching out to us regarding the issue you're experiencing with running the 'az vm extension set' script. I apologize for the continued inconvenience this has caused.

    I understand that you're seeing the error message (VMExtensionProvisioningError) VM has reported a failure when processing extension 'customScript' (publisher 'Microsoft.Azure.Extensions' and type 'customScript'). Error message: 'Enable failed: failed to execute command: command terminated with exit status=1.

    Before we dive deeper into troubleshooting, I wanted to bring to your attention the sandbox limits. As you're working in a sandbox environment, please double-check your usage quota for sandboxes. There's a daily limit of 20, so if you've reached that limit, you may need to wait a while or reactivate an existing sandbox.

    Moving forward, let's go through some basic troubleshooting steps that might help resolve the issue. Could you please try the following:

    1. Sign out and clear your cache, then log back into Learn using your Learn ID credentials.
    2. Try logging in through an incognito or in-private window.
    3. Switch to a different browser (Chrome, Firefox, Edge, etc.) and attempt to log in again.

    If none of these steps resolve the issue, I'd be happy to further assist you in troubleshooting the problem. Please let me know the outcome of these steps, and we can proceed from there.

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.