PowerShell

Latest Articles

Building a Teams External Access Allow List from External Chats

A Teams external access whitelist controls the domains that users can connect to for federated chats. Organizations often limit federation using a whitelist to reduce the possibility of attacks through chat communications. This article explains how administrators can discover the set of domains users chat with by analyzing chat information using the Microsoft Graph PowerShell SDK.

November 7, 2023

Practical Graph: Bulk License Assignment

A reader asked how to use a CSV file for bulk license assignment with the Microsoft Graph PowerShell SDK. We didn't have one to hand, so we wrote a new script to illustrate the principles of how to process license assignments for a set of user accounts (which don't necessarily have to come from a CSV file). We even included some error handling!

September 4, 2023

Practical Graph: Generate a Mailbox Traffic Report

Microsoft 365 makes it easy for administrators to get mail activity usage data for users. However, if you want to know which domains are sending most mail, you need to do some work. In this article, we cover how to use cmdlets from the Microsoft Graph PowerShell SDK to create reports about user mail activity over time and the traffic sent by different domains.

August 7, 2023