Issues with building ARM64 Image

We are trying to build a Linux 9 ARM64 image, and we are having some issues.
We are using the similar configuration as for Linux 9 but bit tweaked for ARM architecture.

With the current configuration, it executes all well and does all the steps almost until the end, but before the end where it needs to save the image, I’m getting the below error and it crashes:

After research on the internet, I noticed that Azure does not support creating ARM Managed Images and it could work if you remove the managed_image_resource_group_name and the managed_image_name. Which it worked in our test tenant but in prod tenant, I’m receiving the following:

Please let me know any suggestion if you have.