Search for: azure automation

130 Results

Using Power Automate and Azure Automation to Manage the Lifecycle of SharePoint Sites

A key aspect of a well-managed Microsoft 365 environment is to ensure that SharePoint sites are removed when they are no longer needed. In this blog, Sean McAvinue explores how to combine relatively basic PowerShell and Azure Automation skills with Power Automate to create a clean, robust way to manage the lifecycle of SharePoint sites in your Microsoft 365 tenant.

Continue Reading Using Power Automate and Azure Automation to Manage the Lifecycle of SharePoint Sites

Practical Graph: Use an Azure Automation Runbook to Remove Teams Chat Threads

A previous article explains how to delete Teams chats using an interactive Microsoft Graph PowerShell SDK session. This article builds on that information and explains how to use an Azure Automation runbook to find and remove specified chat threads by scanning all user accounts. The results of the scan and any removed chat threads are emailed to a nominated address at the end of processing.

Continue Reading Practical Graph: Use an Azure Automation Runbook to Remove Teams Chat Threads

Create Your Own Adaptive Retention Policies with PowerShell and Azure Automation

Adaptive retention policies are great, but they require high-end Office 365 or Microsoft 365 licenses. The solution is to build your own version using PowerShell and Azure Automation. The code is reasonably straightforward and is a practical example of how to replicate a Microsoft 365 feature in your own way.

Continue Reading Create Your Own Adaptive Retention Policies with PowerShell and Azure Automation

Updating Microsoft Graph PowerShell Modules for Azure Automation

Every month, Microsoft generates a new version of the Graph PowerShell SDK. And if you use the SDK with Azure Automation, you must update automation accounts with the new modules. That's a pain to do manually, but easy to automate with PowerShell as we explain here.

Continue Reading Updating Microsoft Graph PowerShell Modules for Azure Automation

Using Azure Automation to Monitor Unified Audit Log Events

The Office 365 audit log is a rich source of forensic information. This article explains how to use Azure Automation to search the log for high-priority events. We use the new support for managed identities in V3.0 of the Exchange Online management PowerShell module to search the audit log and end up sending a nice HTML-format message to administrators.

Continue Reading Using Azure Automation to Monitor Unified Audit Log Events