Find Orphaned Azure Resources – YouTube

Find Orphaned Azure Resources

Join me in this video where I explore how you can find orphaned Azure resources. Using Azure Resource Graph Explorer and Kusto queries.

Removing orphaned resources from your Azure subscriptions can help keep costs down.

Orphaned Disks:
Resources
| where type has “microsoft.compute/disks”
| extend diskState = tostring(properties.diskState)
| where managedBy == “”
or diskState == ‘Unattached’
| project id, diskState, resourceGroup, location, subscriptionId

Orphaned NICs:
Resources
| where type has “microsoft.network/networkinterfaces”
| where “{nicWithPrivateEndpoints}” !has id
| where properties !has ‘virtualmachine’
| project id, resourceGroup, location, subscriptionId

#SarahLean #Azure #Kusto


🎬 My YouTube camera gear:

Using these links to buy items helps support this channel at no extra cost to you!

📷 Logitech C920 Webcam:
Amazon UK: https://amzn.to/39UqgE6
Amazon US: https://amzn.to/3rTFYbp

📸 Samsung S20:
Amazon UK: https://amzn.to/3utIG9m
Amazon US: https://amzn.to/31PxfN1

🎤 Boya BY-M1 lavalier Microphone:
Amazon UK: https://amzn.to/2KTrjtj
Amazon US: https://amzn.to/3fOx1xQ

🎤 Rode NT USB Microphone:
Amazon UK: https://amzn.to/3bZWmPW
Amazon US: https://amzn.to/3fOx1xQ

🎧 Jabra Evolve2 85 headphones:
Amazon UK: https://amzn.to/31UAtid
Amazon US: https://amzn.to/3wxXDsM

🎶 The music in my videos:
https://www.bensound.com and https://youtube.com/ikson

🎞️ The graphics in my videos:
Krist McKenna from Ratworks – http://www.ratworks.net/

Join me in this video where I explore how you can find orphaned Azure resources. Using Azure Resource Graph Explorer and Kusto queries.

Removing orphaned resources from your Azure subscriptions can help keep costs down.

Orphaned Disks:
Resources
| where type has “microsoft.compute/disks”
| extend diskState = tostring(properties.diskState)
| where managedBy == “”
or diskState == ‘Unattached’
| project id, diskState, resourceGroup, location, subscriptionId

Orphaned NICs:
Resources
| where type has “microsoft.network/networkinterfaces”
| where “{nicWithPrivateEndpoints}” !has id
| where properties !has ‘virtualmachine’
| project id, resourceGroup, location, subscriptionId

#SarahLean #Azure #Kusto


🎬 My YouTube camera gear:

Using these links to buy items helps support this channel at no extra cost to you!

📷 Logitech C920 Webcam:
Amazon UK: https://amzn.to/39UqgE6
Amazon US: https://amzn.to/3rTFYbp

📸 Samsung S20:
Amazon UK: https://amzn.to/3utIG9m
Amazon US: https://amzn.to/31PxfN1

🎤 Boya BY-M1 lavalier Microphone:
Amazon UK: https://amzn.to/2KTrjtj
Amazon US: https://amzn.to/3fOx1xQ

🎤 Rode NT USB Microphone:
Amazon UK: https://amzn.to/3bZWmPW
Amazon US: https://amzn.to/3fOx1xQ

🎧 Jabra Evolve2 85 headphones:
Amazon UK: https://amzn.to/31UAtid
Amazon US: https://amzn.to/3wxXDsM

🎶 The music in my videos:
https://www.bensound.com and https://youtube.com/ikson

🎞️ The graphics in my videos:
Krist McKenna from Ratworks – http://www.ratworks.net/

source

Author: Sarah Lean 🏴󠁧󠁢󠁳󠁣󠁴󠁿

Share This Post On