The property 'requireGuestProvisionSignal' is not valid because the 'Microsoft.Compute/Agentless' feature is not enabled for this subscription."

Subramani, Sree Susmitha 1 Reputation point
2021-03-26T07:35:52.833+00:00

I'm trying to deploy a windows server VM using ARM Template and I have configured the OS progile as below.
"windowsConfiguration": {
"provisionVmAgent": true,
"enableAutomaticUpdates": true,
"patchSettings": {
"patchMode": "AutomaticByOS"
}
},
"secrets": [],
"allowExtensionOperations": true,
"requireGuestProvisionSignal": true

And when i deploy getting the below error.
'requireGuestProvisionSignal' is not valid because the 'Microsoft.Compute/Agentless' feature is not enabled for this subscription

I'm stuck with this error and seeking help.

And I'm trying this using my Visual Studio Subscription

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,102 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Stanislav Zhelyazkov 20,786 Reputation points MVP
    2021-03-26T12:14:45.15+00:00

    Hi,
    remove property "requireGuestProvisionSignal": true or at least set it to false.

    from your ARM template deployment and it will probably succeed. This property is probably is used for some feature that is not yet generally available and requires additional setup.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

  2. vipullag-MSFT 24,026 Reputation points Microsoft Employee
    2021-03-26T12:22:05.897+00:00

    @Subramani, Sree Susmitha

    After some research into the error itself The property 'requireGuestProvisionSignal' is not valid because the 'Microsoft.Compute/Agentless' feature is not enabled for this subscription. I was able to find the following document that references this property.

    Unfortunately the documentation here is not very useful to distinguish between what a subscription would require to have in place in order to use some parameters.
    I also looked under the Azure resource explorer where you can find the details of the different resource providers and I was able to confirm that there is no Microsoft.Compute/Agentless provider listed even for my own subscription.

    81905-vm-issue1.png

    81931-vm-issue2.png

    I would recommend to remove the property altogether from the template (based on the fact this property is optional) and try again.

    Hope this helps.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.