Search for: azure automation

130 Results

How to Create an Adaptive Scope for Retention Policies Based on Domain Names for User Accounts

Azure AD and Exchange Online store information about user principal names and email addresses, but they don't store the domain name of an account. In this article, we explain how to use a custom attribute to store the domain name and then use that with an adaptive scope in a Microsoft 365 retention policy.

Continue Reading How to Create an Adaptive Scope for Retention Policies Based on Domain Names for User Accounts

Practical Graph: Ways to Send Email via the Microsoft Graph

For those wanting to eliminate the SMTP AUTH protocol, Microsoft has three ways to send email using Graph APIs. This article looks at how to use the Send-MgUserMail cmdlet and compares it to the Send-MgUserMessage cmdlet (covered in depth in a previous article). Our conclusion is that you'll probably end up using Send0-MgUserMail because it's easier to use.

Continue Reading Practical Graph: Ways to Send Email via the Microsoft Graph

Introduction to the Microsoft Graph PowerShell SDK

A Unified Approach to Microsoft 365 management The Microsoft Graph API has been around for some time now and Microsoft is moving more management functions (such as License Management for Azure AD Accounts) to the platform. When Microsoft transitions a function to the Graph, organizations might have to update PowerShell scripts. Getting started with the […]

Continue Reading Introduction to the Microsoft Graph PowerShell SDK

How to Report High-Priority App Permissions That Hackers Might Exploit

Microsoft 365 tenants usually include many Entra iD apps. These apps hold permissions, including permissions that hackers like to exploit. This article explains how to use PowerShell to detect apps with high-priority permissions and report them to administrators for review.

Continue Reading How to Report High-Priority App Permissions That Hackers Might Exploit

How to Figure Out What Microsoft Graph Permissions You Need

The Microsoft Graph operates on a least permission model, which means that developers are forced to ask for permissions for the actions they wish to perform. This is a very different approach to the way traditional PowerShell modules work, so it's an area to focus on when converting scripts which use cmdlets from the Azure AD and MSOL modules to the Microsoft Graph PowerShell SDK. In this article, we look at four ways to find out what permissions are needed to perform different actions and explain how the Graph use the permissions.

Continue Reading How to Figure Out What Microsoft Graph Permissions You Need