Search for: azure automation

154 Results

Practical Graph: Running Audit Log Searches with the AuditLog Query API

After a year or so of using the AuditLog Query Graph API, we have enough experience to be able to explain how to take advantage of the API and when it could be used to run audit searches instead of the Search-UnifiedAuditLog cmdlet. There's lots of PowerShell code in this article to give anyone who wants to experiment with the API a good start to finding audit events.

Continue Reading Practical Graph: Running Audit Log Searches with the AuditLog Query API

Practical Graph: Reporting the Status of Group-Based License Assignments

This article describes how to create a report about group-based licensing assignments and any errors that might have occurred. The code uses the Microsoft Graph PowerShell SDK to fetch information about the groups used for licensing assignments, interpret the assignments, find users with assignment errors, and send email to inform administrators about what's been found.

Continue Reading Practical Graph: Reporting the Status of Group-Based License Assignments

Practical Graph: Creating SharePoint News Items from an RSS Feed

This article explains how to use the SharePoint Pages API to create new site pages with the Microsoft Graph PowerShell SDK after reading information from an RSS feed. Parsing the RSS feed to find article details is just one of the challenges encountered and solved to accomplish the goal.

Continue Reading Practical Graph: Creating SharePoint News Items from an RSS Feed

Practical Graph: Controlling App Access to SharePoint Online Sites

The Microsoft Graph API offers great access to SharePoint Online site content, but sometimes the need exists to resist app access to SharePoint Online sites. That's where the Sites.Selected Graph permission comes in by allowing administrators to dictate exactly which sites an app can access. Practice the Principle of Least Permission!

Continue Reading Practical Graph: Controlling App Access to SharePoint Online Sites

Practical Entra ID: Find Unused Guest Accounts with PowerShell

Given the widespread use of guest accounts within Microsoft 365 to allow external sharing of resources, it’s almost inevitable that some unused guest accounts exist in any Microsoft 365 tenant. Identifying unused guest accounts is a good management practice. If the accounts serve no purpose, why keep them? This article explores how to find unused guest accounts. What you do with them later is up to you.

Continue Reading Practical Entra ID: Find Unused Guest Accounts with PowerShell