Skip to main content

2 posts tagged with "PowerShell"

PowerShell automation guidance for Microsoft 365.

View All Tags

Shared Mailbox, Forgotten OneDrive: The Offboarding Trap

· 8 min read
Dwayne Selsig
Microsoft Certified Azure Solutions Architect | Microsoft 365 & Education

John Smith uses john.smith@m365wizard.com for purchasing. It works while John is in the role, so nobody stops to create procurement@m365wizard.com. john.smith@m365wizard.com belongs to John, while the purchasing process belongs to the organization.

That distinction becomes visible when John leaves. The organization converts his mailbox to a shared mailbox and removes the license to save money. The email remains available, but the personal OneDrive does not become part of the shared mailbox. It remains a separate Microsoft 365 object.

This is usually a process problem before it is a mailbox problem. If a process belongs to the organization, give it a shared identity from the beginning.

Faster end-of-year Teams cleanup with Microsoft Graph batching

· 10 min read
Dwayne Selsig
Microsoft Certified Azure Solutions Architect | Microsoft 365 & Education

The last school bell has rung. Students are wrapping up, teachers are closing their final assignments, and Microsoft 365 administrators inherit one more end-of-year job: putting last year's class Teams away properly.

I feed Somtoday data into School Data Sync with a tool I built, and SDS turns that data into the classes and Teams used during the year. In my end-of-year process, every class Team provisioned through SDS is archived. But archiving is only half the job: the current SDS cleanup does not remove students, and removing those memberships one by one quickly becomes a mountain of Graph requests. Tony Redmond's batching article arrived at exactly the right moment.