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.
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.
replaced with the following .
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.
One thought on “Azure – The schedule should be created in subscription error in ARM Template deployment”
You must log in to post a comment.