3 Simple Power Automate Workflows to Automatically Identify and Terminate Unused Cloud Resources

Tanya Wetson-Catt • 12 January 2026

The cloud makes it easy to create virtual machines, databases, and storage accounts with just a few clicks. The problem is, these resources are often left running long after they’re needed. This “cloud sprawl,” the unmanaged growth of cloud resources, can quietly drain your budget every month. According to Hashi Corp’s State of Cloud Strategy Survey 2024, the top reasons for this waste are lack of skills, idle or underused resources, and overprovisioning, which together drive up costs for businesses of all sizes.


Why Should I Care About Cloud Resources?


The business benefit is tangible and dramatic. While organisations struggle with cloud budgets exceeding limits by an estimated 17%, automation offers a clear path to control.

 

For example, a VLink saved a significant amount of money on its non-production cloud spend by implementing a rigorous cloud shutdown automation policy. This policy automatically powered down all development and test environments that were not explicitly tagged as 'Production' outside of normal business hours (8 AM to 6 PM). The savings from just this single automated action accounted for 40% off their non-production cloud spend, freeing up that budget for new growth initiatives.


3 Power Automate Workflows


Finding these unused cloud resources feels like hunting for ghosts. But what if you could automate the hunt? Microsoft Power Automate is a powerful tool for this exact task. Let’s look at three straightforward workflows to identify and terminate waste automatically.


1. Automate the Shutdown of Development VMs


Development and test environments are the worst offenders for cloud waste. A team needs a virtual machine for a short-term project. The project ends, but the VM continues to run, costing money. You can build a workflow that stops this waste. Create a Power Automate flow that triggers daily and queries Azure for all virtual machines with a specific tag, like “Environment: Dev.”


The flow then checks the machine’s performance metrics. If the CPU utilisation has been below 5% for the last 72 hours, it executes a command to shut down the VM. This simple Azure automation does not delete anything, it simply turns off the power, slashing costs immediately. Your developers can still start it if needed, but you are no longer paying for idle time.


2. Identify and Report Orphaned Storage Disks


When you delete an Azure virtual machine, you are often given an option to delete its associated storage disk. This step is frequently missed, and the orphaned disks continue to incur storage charges month after month. You can create a flow to find them.


Build a Power Automate schedule that runs weekly. The flow will list all unattached managed disks in your subscription and will then compose a detailed email report that lists the disk names, their sizes, and the estimated monthly cost. The report acts as a clear, actionable list that could be used for cleanup purposes, and you can send it using the “Send an email” action to your IT manager or finance team for further evaluation on whether to keep or delete the disks.


3. Terminate Expired Temporary Resources


Some business projects require temporary cloud resources, like a blob storage container for a file transfer or a temporary database for data analysis. Since these resources have a finite lifespan, you need to directly integrate build expiration dates into your deployment process. For this, you can use a Power Automate flow that is triggered by a custom date field. This means that whenever you create a temporary resource, you add a descriptive tag such as “Deletion Date.”


After implementing this best practice, i.e., adding descriptive tags to cloud resources, set the flow to run daily and check for all resources that bear the “Deletion Date” tag. For each resource the flow finds, it should check whether the current date matches or is later than the “Deletion Date” property. If this condition is met, the flow deletes the resource automatically. This hands-off cleanup ensures that temporary items do not become permanent expenses. This approach not only eliminates the risk of human oversight but also uses automation to enforce financial discipline.


Troubleshoot Your Automated Workflows


Using Power Automate to build these workflows is a great start, but you also need to implement them safely. Automations that delete resources are powerful and need controls in place. To be safe, always launch these flows in report-only mode, which lets you test and simulate automations without enforcing them. For example, you can modify the “Terminate Expired Temporary Resources” flow to send an email alert instead of deleting resources for the first couple of weeks as you observe. This helps validate whether your flow logic is sound and gives you an opportunity to fix errors and oversights.


You can also consider adding a manual approval requirement for certain high-risk actions, such as the deletion of very large storage disks. This ensures that your automations work to your benefit and not against you.


Take Control of Your Cloud Spend


These three Power Automate workflows are a good starting point for businesses using Microsoft Azure. They help you shift from a reactive to a proactive position, ensuring you only pay for the resources you actively use.



Stop overspending on idle cloud resources. To take control of your cloud environment and start saving, contact us today to implement these Power Automate workflows and optimise your Azure spend.

Let's Talk Tech

More from our blog

by Tanya Wetson-Catt 7 April 2026
At home, security incidents don’t look like dramatic movie hacks. They look like stepping away from your laptop during a delivery, or leaving it unlocked while you grab something from another room. Those ordinary moments, repeated over time, are how work devices end up exposed. A remote work security checklist focuses on simple, practical controls that hold up in real life. Put it in place once, make it routine, and you’ll prevent the kinds of issues that hurt most because they were entirely avoidable. Why Home Is a Different Security Environment A work laptop doesn’t magically become “less secure” at home. But the environment around it does. In the office, there are built-in boundaries: fewer shared users, fewer casual touchpoints, and more predictable networks. At home, that same laptop is suddenly operating in a space designed for convenience, not control. For starters, physical exposure goes up. At home, devices move from room to room, sit on tables and countertops, and are left unattended for short stretches throughout the day. That’s why a remote work security checklist must treat physical security as part of cyber security. In its training on device safety, CISA stresses the basics: keep devices secured, limit access, and lock them when you’re not using them. Those simple habits matter more at home because there’s no “office culture” quietly enforcing them for you. Second, home is where work and personal life collide, and that creates messy, very human risks. The NI Cyber Security Centre is blunt about it: don’t let other people use your work device, and don’t treat it like the family laptop. Third, the network is different. Home Wi-Fi often starts with default settings, old router firmware, or passwords that have been shared with everyone who’s ever visited. CISA’s guidance on connecting a new computer to the internet offers the baseline steps many people skip at home: secure your router, enable the firewall, use anti-virus, and remove unnecessary software and default features. Finally, remote access raises the stakes for identity. In its remote workforce security guidance, Microsoft’s best practices frames remote security around a Zero Trust approach and emphasizes that access should be strongly authenticated and checked for anomalies before it’s granted. The Remote Work Security Checklist Use this remote work security checklist as your “minimum standard” for company laptops at home. It’s designed to be practical, repeatable, and easy to enforce without turning everyone into part-time IT employees. Lock the Screen Every Time You Step Away Set a short auto-lock timer and get into the habit of locking manually, even at home. Store the Laptop Like it’s Valuable Assume that “out of sight” is safer than “out of the way.” When you’re finished, store your device somewhere protected, not on the couch, not on the kitchen counter, and never in the car. Don’t Share Work Laptops with Family At home, good intentions can still lead to accidental clicks. Even a quick “just checking something” can result in risky downloads, unfamiliar logins, or unwanted browser extensions. Use a Strong Sign-In and MFA Use a long passphrase, not a clever but short password, and never reuse it across accounts. Treat multifactor authentication (MFA) as a baseline requirement, not a nice extra. Stop Using Devices That Can’t Update If a laptop can’t receive security updates, it’s not a work device. It’s a risk. Patch Fast Updates are where most known issues get fixed. The longer you wait, the bigger the risk. Enable automatic updates and restart when prompted. Secure Home Wi-Fi Like it’s Part of the Office Use a strong Wi-Fi password and enable modern encryption. If your router still has the default admin login or hasn’t been updated in a long time, consider that your cue to fix it. Use the Firewall and Keep Security Tools Switched On Turn on your firewall, keep antivirus software active, and make sure both are properly configured. If security tools feel inconvenient, don’t switch them off, address the friction instead. Remove Unnecessary Software The more apps you install, the more updates you have to manage, and the more opportunities there are for something to go wrong. Remove software you don’t need, disable unnecessary default features, and stick to approved applications from trusted sources. Keep Work Data in Work Storage Storing work data in approved systems keeps access controlled, audit-ready, and much easier to recover if something goes wrong. Avoid saving work documents to personal cloud accounts or personal backup services. Be Wary of Unexpected Links and Attachments If a message pressures you to click, open, download, or “confirm now,” treat it as suspicious. When in doubt, verify the request through a separate, trusted channel before taking any action. Only Allow Access From “Healthy Devices” The safest remote setups gate access based on device health. Microsoft warns that unmanaged devices can be a powerful entry point and stresses the importance of allowing access only from healthy devices. Are Your Laptops “Home-Proof”? If you want remote work to remain seamless, your devices need to be “home-proof” by default. That means treating the fundamentals as non-negotiable: automatic screen locks, secure storage, protected sign-ins, timely updates, properly secured Wi-Fi, and work data stored only in approved locations. Nothing complicated, just consistent execution. Start by adopting this remote work security checklist as your baseline standard. When the defaults are strong, you reduce avoidable incidents without slowing anyone down.  If you’d like help turning these basics into a practical, enforceable remote work policy, contact us today. We’ll help you standardise protections across your team so remote work stays productive, and secure.
by Tanya Wetson-Catt 2 April 2026
Ransomware isn’t a jump scare. It’s a slow build. In many cases, it begins days, or even weeks, before encryption, with something mundane, like a login that never should have succeeded. That’s why an effective ransomware defense plan is about more than deploying anti-malware. It’s about preventing unauthorized access from gaining traction. Here’s a five-step approach you can implement across your small-business environment without turning security into a daily obstacle course. Why Ransomware Is Harder to Stop Once It Starts Ransomware is rarely a single event. It’s typically a sequence: initial access, privilege escalation, lateral movement, data access, often data theft, and finally encryption once the attacker can inflict maximum damage. That’s why relying on late-stage defenses tends to get messy. Once an attacker has valid access and elevated privileges, they can move faster than most teams can investigate. Microsoft says, “In most cases attackers are no longer breaking in, they’re logging in.” By the time encryption begins, options are limited. The general guidance from law enforcement and cybersecurity agencies is clear: don’t pay the ransom , there’s no guarantee you’ll recover your data, and payment can encourage further attacks. There isn’t a silver bullet for preventing a ransomware attack . A ransomware defense plan is most effective when it disrupts the attack before encryption ever begins. That’s why recovery needs to be engineered upfront, not improvised mid-incident. The goal isn’t “stop every threat forever.” The goal is to break the chain early and limit how far an attacker can move. And if the worst happens, you want recovery to be predictable. The 5-Step Ransomware Defense Plan This ransomware defense plan is built to disrupt the attack chain early, contain the damage if access is gained, and ensure recovery is dependable. Each step is practical, easy to implement, and repeatable across small-business environments. Step 1: Phishing-Resistant Sign-Ins Most ransomware incidents still begin with stolen credentials. The fastest win is to make “logging in” harder to fake and harder to reuse once compromised. What this means: “Phishing-resistant” sign-ins are authentication methods that can’t be easily compromised by fake login pages or intercepted one-time codes. It’s the difference between “MFA is enabled” and “MFA still works when someone is specifically targeted.” Do this first: · Enforce strong MFA across all accounts, with priority given to admin accounts and remote access · Eliminate legacy authentication methods that weaken your security baseline · Implement conditional access rules, such as step-up verification for high-risk sign-ins, new devices, or unusual locations Step 2: Least Privilege + Separation What this means: “Least privilege” means each account gets only the access it needs to do its job, and nothing more. “Separation” means keeping administrative privileges distinct from everyday user activity, so a single compromised login doesn’t hand over control of the entire business. NIST recommends verifying that “each account has only the necessary access following the principle of least privilege.” Practical moves: · Keep administrative accounts separate from everyday user accounts · Eliminate shared logins and minimize broad “everyone has access” groups · Limit administrative tools to only the specific people and devices that genuinely require them Step 3: Close known holes What this means: “Known holes” are vulnerabilities attackers already know how to exploit, typically because systems are unpatched, exposed to the internet, or running outdated software. This step is about eliminating easy wins for attackers before they can take advantage of them. Make it measurable: · Set clear patch guidelines: critical vulnerabilities addressed immediately, high-risk issues next, and all others on a defined schedule · Prioritize internet-facing systems and remote access infrastructure · Cover third-party applications as well, not just the operating system Step 4: Early detection What this means: Early detection means identifying ransomware warning signs before encryption spreads across the environment. Think alerts for unusual behavior that enable rapid containment, not a help desk ticket reporting that files suddenly won’t open. A strong baseline includes: · Endpoint monitoring that can flag suspicious behavior quickly · Rules for what gets escalated immediately vs what gets reviewed Step 5: Secure, Tested Backups What this means: “Secure, tested backups” are backups that attackers can’t easily access or encrypt, and that you’ve verified you can restore successfully when it matters most. Both NIST’s ransomware guidance and the UK NCSC emphasize that backups must be protected and restorable. NIST specifically calls out the need to “secure and isolate backups.” Keep backups up-to-date so you can recover “ without having to pay a ransom ”, and check that you know how to restore your files. Make backups real: · Keep at least one backup copy isolated from the main environment. · Run restore drills on a schedule · Define recovery priorities ahead of time, what needs to be restored first, and in what sequence Stay Out of Crisis Mode Ransomware succeeds when environments are reactive, when everything feels urgent, unclear, and improvised. A strong ransomware defense plan does the opposite. It turns common failure points into predictable, enforced defaults. You don’t need to rebuild your entire security program overnight. Start with the weakest link in your environment, tighten it, and standardize it. When the fundamentals are consistently enforced and regularly tested, ransomware shifts from a headline-level crisis to a contained incident you’re prepared to manage.  If you’d like help assessing your current defenses and building a practical, repeatable ransomware protection plan, contact us today to schedule a consultation. We’ll help you identify your biggest exposure points and turn them into controlled, measurable safeguards.
by Tanya Wetson-Catt 30 March 2026
Think about your office building. You probably have a locked front door, security staff, and maybe even biometric checks. But once someone is inside, can they wander into the supply closet, the file room, or the CFO’s office? In a traditional network, digital access works the same way, a single login often grants broad access to everything. The Zero Trust security model challenges this approach, treating trust itself as a vulnerability. For years, Zero Trust seemed too complex or expensive for smaller teams. But the landscape has changed. With cloud tools and remote work, the old network perimeter no longer exists. Your data is everywhere, and attackers know it. Today, Zero Trust is a practical, scalable defence, essential for any organisation, not just large corporations. It’s about verifying every access attempt, no matter where it comes from. It’s less about building taller walls and more about placing checkpoints at every door inside your digital building. Why the Traditional Trust-Based Security Model No Longer Works The old security model assumed that anyone inside the network was automatically safe and that’s a risky assumption. It doesn’t account for stolen credentials, malicious insiders, or malware that has already bypassed the perimeter. Once inside, attackers can move laterally with little resistance. Zero Trust flips this idea on its head. Every access request is treated as if it comes from an untrusted source. This approach directly addresses today’s most common attack patterns, such as phishing, which accounts for up to 90% of successful cyberattacks. Zero Trust shifts the focus from protecting a location to protecting individual resources. The Pillars of Zero Trust: Least Privilege and Micro-segmentation While Zero Trust frameworks can vary in detail, two key principles stand out, especially for network security. The first is least privilege access. Users and devices should receive only the minimum access needed to do their jobs, and only for the time they need it. Your marketing intern doesn’t need access to the financial server, and your accounting software shouldn’t communicate with the design team’s workstations. The second is micro-segmentation, which creates secure, isolated compartments within your network. If a breach occurs in one segment, like your guest Wi-Fi, it can’t spread to critical systems such as your primary data servers or point-of-sale systems. Micro-segmentation helps contain damage, limiting a breach to a single area. Practical First Steps for a Small Business You do not need to overhaul everything overnight. You can use the following simple steps as a start: Secure your most critical data and systems: Where does your customer data live? Your financial records? Your intellectual property? Begin applying Zero Trust principles there first. Enable multi-factor authentication (MFA) on every account: This is the single most effective step toward “never trust, always verify.” MFA ensures that a stolen password is not enough to gain access. Segment networks: Move your most critical systems onto a separate, tightly controlled Wi-Fi network separate from other networks, such as a Guest Wi-Fi network. The Tools That Make It Manageable Modern cloud services are designed around Zero Trust principles, making them a powerful ally in your security journey. Start by configuring the following settings: Identity and access management: On platforms like Google Workspace and Microsoft 365, set up conditional access policies that verify factors such as the user’s location, the time of access, and device health before allowing entry. Consider a Secure Access Service Edge (SASE) solution: These cloud-based services combine network security, such as firewalls, with wide-area networking to provide enterprise-grade protection directly to users or devices, no matter where they are located. Transform Your Security Posture Adopting Zero Trust isn’t just a technical change, it’s a cultural one. It shifts the mindset from broad trust to continuous monitoring and validation. Your teams may initially find the extra steps frustrating, but explaining clearly why these measures protect both their work and the company will help them embrace the approach. Be sure to document your access policies by assessing who needs access to what to do their job. Review permissions quarterly and update them whenever roles change. The goal is to foster a culture of ongoing governance that keeps Zero Trust effective and sustainable. Your Actionable Path Forward Start with an audit to map where your critical data flows and who has access to it. While doing so, enforce MFA across the board, segment your network beginning with the highest-value assets, and take full advantage of the security features included in your cloud subscriptions. Remember, achieving Zero Trust is a continuous journey, not a one-time project. Make it part of your overall strategy so it can grow with your business and provide a flexible defence in a world where traditional network perimeters are disappearing. The goal isn’t to create rigid barriers, but smart, adaptive ones that protect your business without slowing it down. Contact us today to schedule a Zero Trust readiness assessment for your business. Article FAQ Is Zero Trust too expensive for a small business? No. Core Zero Trust principles, like multi-factor authentication and identity management, are built into common business cloud subscriptions (Microsoft 365, Google Workspace). The only investment you will need is in the initial planning and configuration, and not capital expenditure in hardware. Does Zero Trust make things harder for my employees? No. While it adds steps for security access, most modern systems keep the process seamless, especially when using technologies such as Single Sign-On (SSO), which provides a single secure login for all services, and adaptive MFA (which only prompts for a second factor in risky situations). Can I implement Zero Trust if my team works remotely? Yes. Ideally, Zero Trust is suited for remote work since it secures access based on the user and device’s identity and not the network location. This makes it perfect for a distributed workforce.