The powers that be have decided we need to shutdown the entire test domain each weekend, including the DCs and ADFS servers. The admin that decided this is using Azure automation to just stop the instances. This is causing issues with the ADFS database as when it comes back up it's saying unreadable and I have to manually run some powershell commands to get it working again.
Is there a better shutdown method? I've thought about using a running task on the ADFS and DC, to stop the services (powershell stop-service) and the start shutdown before the Azure command comes to stop the instance, but I'm worried that'll still causes issues with ADFS.