
Orphaned Resources
Azure environments as they grow large (especially in many brownfields where proper lifecycle/IaC of resources are not in place) can accumulate abandoned resources.
Many resources in the process can become orphaned which are assets that are no longer tied to active workloads or services, often resulting from past deployments or incomplete resource cleanup processes. Some exist without no effect while others can cost your organization.
So in this episode we will explore Orphaned Resources and how to action them:
- How to query and discover such resources in our Azure tenant using KQL.
- Build an automation around these queries using PowerShell.
- The script will inform the owners of the resources to take action.
- While we will inform via email in the video, you can choose to send the alerts out as tickets, tasks or stories.
- Upload to Automation Account to run on a schedule
Link: Orphaned Resources - Discover Abandoned Azure Services - YouTube
Giving credit where credit is due. A special thanks to Dolev Shor for the excellent workbook in github which is the basis of this episode.