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.

Advertisements

Comments

One comment on “Azure – The schedule should be created in subscription error in ARM Template deployment”

Leave a Reply

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