Author: Tony Redmond

Latest Articles

Using the Microsoft Graph PowerShell SDK to Create Planner Tasks

In the past, we've described how to use PowerShell to report tasks in Planner plans. This article completes the circle by discussing how to create Planner tasks. The scenario used is synchronizing Microsoft 365 message center notifications to create tasks in a target plan. There are some interesting issues to discuss, like how to assign a label to a task.

March 19, 2024

Cleaning Out Old Messages from a Team Channel

A question asked about the best way to remove channel messages from Teams. Microsoft 365 retention policies are an option, but you'll have to wait for retention processing to complete. PowerShell helps because you can create a script to remove all messages and replies from a channel. Everything works, but processing is slow, as we discover when we plunge into the details of writing code.

March 6, 2024

Managing the Discoverability of Private Teams

Microsoft has a new approach to control private team discoverability. You can have all-in access by enabling discoverability through Teams policies or granular access by using sensitivity labels to control if private teams are discoverable or not. This article explains how both methods work.

March 4, 2024

Stopping Spam Sent from Bad Microsoft 365 Domains

Anecdotal evidence is that some spam originates from onmicrosoft.com domains. These are the domains used by Microsoft 365 tenants and the spam indicates that attackers sign up for 'disposable' tenants to send their malware. This article describes what onmicrosoft.com domains are and how to use a mail flow rule to control their traffic.

February 26, 2024

Including Costs in a Microsoft 365 Licensing Report

This article describes how to include user license costs in a Microsoft 365 tenant licensing report created with the Microsoft Graph PowerShell SDK. The report includes annual costs for all licenses assigned to each user plus an overall licensing summary for the tenant. It even reports how effective the tenant is at assigning licenses!

February 7, 2024