Hi,
I am getting following error while trying to remove OMS Extension from my VMSS, can someone please help over here.
PS C:\Windows\system32> Update-AzureRmVmss -ResourceGroupName $ResourceGroupName -Name $VMScaleSetName -VirtualMachineScaleSet $scaleSet
Update-AzureRmVmss : Operation 'PUT Extension' is not allowed on VM extension 'OMSVmExt' since it is marked for deletion. You can only retry the Delete operation (or wait for an ongoing one to complete).
ErrorCode: OperationNotAllowed
ErrorMessage: Operation 'PUT Extension' is not allowed on VM extension 'OMSVmExt' since it is marked for deletion. You can only retry the Delete operation (or wait for an ongoing one to complete).
StatusCode: 409
ReasonPhrase: Conflict
OperationID : c84b12d1-94b5-4aa9-a365-e029047416d7
At line:1 char:1
Any guidance will be of great help. Thanks.
Aayush
-Thanks AB