Search code examples
azureazure-billing

How to report the Obsolete assets in Azure?


I want to send an Email with all the obsolete assets in Azure that are no longer actively used within 3 months. I need to send this email every day. There is no Azure native option available. Am I missing any built-in method which can be used?


Solution

  • AFAIK there is no native way to send such report, so you need to prepare your own solution. This would involve steps:

    • tag obsolete assets
    • query all resources with specific tag (Powershell, AzCLI)
    • process query result to see them as report you like (azure function, logic app)
    • send report by mail (azure function, logic app)

    Example almost ready to use you may find at https://www.blueboxes.co.uk/how-to-create-azure-resource-graph-explorer-scheduled-reports-and-email-alerts