average-greece-53878
06/02/2021, 4:07 PMVirtualMachineRunCommandByVirtualMachine
and get this error:
Code="OperationNotAllowed" Message="The property 'runCommands' is not valid because the 'Microsoft.Compute/RunCommandPreview' feature is not enabled for this subscription."
billowy-army-68599
06/02/2021, 4:09 PMtall-librarian-49374
06/02/2021, 4:12 PMMicrosoft confirmed, that the Microsoft.Compute/RunCommandPreview feature is no longer used/available.
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}
defined in the API version 2021-03-01average-greece-53878
06/02/2021, 4:25 PMYou shared with me the following error:
"error: autorest/azure: Service returned an error. Status=nil
Code='OperationNotAllowed' Message='The property 'runCommands' is not valid because the 'Microsoft.Compute/RunCommandPreview' feature is not enabled for this subscription.'".
Â
This error suggests that this job is looking for the Run Command feature under the Preview features for the subscription, however it is now out of public preview.
Since this Job is being ran using the Pulumi third party software, it is possible the job is outdated regarding the state of the Run Command Feature, since Pulumi itself is not supported by Microsoft support I suggested opening a request with their support.
tall-librarian-49374
06/02/2021, 6:33 PMaverage-greece-53878
06/03/2021, 2:29 PMtall-librarian-49374
06/04/2021, 8:30 PMaverage-greece-53878
06/21/2021, 8:51 PMtall-librarian-49374
06/22/2021, 10:28 AMaverage-greece-53878
06/22/2021, 1:22 PM