An Azure service that is used to provision Windows and Linux virtual machines.
@Ankita Rani Patro
I would recommend using Terminate notification for Azure Virtual Machine Scale Set instances. This will allow you to receive scheduled events for your VMSS instances that are set to be terminated. You can then either monitor this in Windows using Scheduled Events or send the event to Log Analytics and run the automation from there.
Let me know if that helps or if you still have questions.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!