You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DevTestLab] azure.core.exceptions.HttpResponseError: (CannotSetProperty) Cannot set or update property sourceVmId. for DTL custom_images.begin_create_or_update() #5133
Traceback (most recent call last):
File "C:\tools\script\_common\create-dtl-custom-image-from-vm.py", line 103, in <module>
create_image(
File "C:\tools\script\_common\create-dtl-custom-image-from-vm.py", line 42, in create_image
response = client.custom_images.begin_create_or_update(
File "C:\Users\isac\AppData\Roaming\Python\Python39\site-packages\azure\mgmt\devtestlabs\operations\_custom_images_operations.py", line 311, in begin_create_or_update
raw_result = self._create_or_update_initial(
File "C:\Users\isac\AppData\Roaming\Python\Python39\site-packages\azure\mgmt\devtestlabs\operations\_custom_images_operations.py", line 260, in _create_or_update_initial
raise HttpResponseError(response=response, error_format=ARMErrorFormat)
azure.core.exceptions.HttpResponseError: (CannotSetProperty) Cannot set or update property sourceVmId.
Code: CannotSetProperty
Message: Cannot set or update property sourceVmId.