Azure – The schedule should be created in subscription error in ARM Template deployment

Hello Friends,

we ware  deploying an Azure Resource Manager Template using Azure Portal.  During the deployment, we came across with a new issue as ” The schedule should be created in subscription xxyyzz,resource group xxyyzz and with name shutdown-computevm-xxxx.” as shown in following figure.

Before facing this issue , we have fixed following two more issues during this ARM template deployment.

The schedule should be created in subscriptions destination group issue

Figure 1: Azure  – The schedule should be created in subscription Issue’

After getting the above error, when we clicked on the operations details we found the following details.

{
“error”: { “code”: “InvalidScheduleId”, “message”: “The schedule should be created in subscription 44cxxxx6ea82f90xxxxx, resource group ManasARMDestnation and with name shutdown-computevm-ManasARM2.”

}
To fix that issue, we  did a small modification to the template.json file. We have replace the following  name.

The schedule should be created in subscriptions destination group old code

replaced with the following .

The schedule should be created in subscriptions destination group issue fixed

The above modification fixed the issue and we successfully redeploy the template .

Thanks for reading 🙂

Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more. If you have any suggestion / feedback / doubt, you are most welcome.

Stay tuned on Knowledge-Junction, will come up with more such articles.

Manas Ranjan Moharana

I'm a proud Indian, Son, Husband, Father, Author, Blogger, Self motivated person. I lives in Pune, Maharashtra and working for TietoEvry.pvt.ltd, to build Azure Solutions and Share Point Solutions.Microsoft certified Professional with 14 years of IT experience. Interest in learning and sharing something new, to be healthy.

You may also like...

1 Response

  1. March 7, 2019

    […] The schedule should be created in subscription XXX, resource group ManasARMDestnation and with name …. […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: