Failed to find temporary OS disk on VM. Please delete manually

Hi,

trying to create a Win 2022 Server VM in Azure and keep getting this error followed by:
==> azure-arm.vwac: Failed to find temporary OS disk on VM. Please delete manually.
==> azure-arm.vwac:
==> azure-arm.vwac: VM Name: pkrvmafxcjypu15
==> azure-arm.vwac: Error: %!s()
==> azure-arm.vwac: Removing the created Deployment object: ‘kvpkrdpafxcjypu15’
==> azure-arm.vwac:
==> azure-arm.vwac: The resource group was not created by Packer, not deleting …
Build ‘azure-arm.vwac’ errored after 8 minutes 59 seconds: Timeout waiting for WinRM.

==> Wait completed after 8 minutes 59 seconds

==> Some builds didn’t complete successfully and had errors:
→ azure-arm.vwac: Timeout waiting for WinRM.

==> Builds finished but no artifacts were created.

this appears to be happening most often after a failed build and the packer script is attempting to clean up the resources…

Additionally there are failures to boot up WinRM which are preceding the OS disk failure.

i’m also facing the issue could you please help me any resolution to resolve the issue.