Azure deprovisioning fails for VMs with "StandardSSD_LRS" storage account type


Description

Azure deprovisioning fails for virtual machines with "StandardSSD_LRS" storage account type with the following error:
"Storage account type 'StandardSSD_LRS' is supported by Microsoft.Compute API version 2018-04-01 and above"

This is because the API version we are using is 2016-12-01 which does not support StandardSSD_LRS.

Steps to Reproduce

1/ Create an Azure VM in CMP using ARM
2/ Attach a disk to that VM in CMP with type StandardSSD_LRS
3/ Deprovision the VM

Expected Behavior: Deprovisioning successfully

Actual Behavior: CMP successfully completes the action and updates CMDB while the VM does not get deprovisioned on Azure side

Workaround

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.

As a workaround, you can change the API version used by updating the MID server property for "virtualmachines" resources to use 2018-04-01 API version instead of 2016-04-30-preview:

/ecc_agent_property.do?sys_id=55a5f13b9f453200ef3c1f80a57fcfb3


Related Problem: PRB1406607