The Simple way to keep your Azure Subscription "clean". This Azure Function will Automatically delete all "expired" resources inside your Azure Subscription, and nothing else.
A Resource is "expired" when it has a tag expireOn
older then the current date.
To deploy all the resources in your Azure subscription, just click on the Deploy to Azure button.
This will open the Azure Portal in a deployment form. You will need to give it a name and select the location where you would like to deploy it.
Or Read the blog post Use Azure Function to Clean-up your Mess, Automatically