Wes Ellis./ a personal notebook
Technology. Stories. Side projects.
A few things worth writing down.

A thread · 5 notes · Script Library

The Microsoft Graph toolbox.

Everyday Entra ID and Microsoft 365 jobs, done from PowerShell with the Graph SDK.

  1. 1
    Script Library1 min read · Script

    Clean Reinstall of the Microsoft Graph PowerShell Modules

    When Graph cmdlets start throwing assembly errors, it's almost always mixed module versions. This removes every copy and puts back one matching set.

  2. 2
    Script Library2 min read · Script

    Set Extension Attributes on Entra ID Users with PowerShell

    Write extensionAttribute1-15 on cloud-only Entra ID users from a CSV, with a clear note for every synced account it can't touch.

  3. 3
    Script Library2 min read · Script

    Pre-Register MFA Phone Numbers for Entra ID Users with PowerShell

    Load mobile numbers into Entra ID as an authentication method before users ever sign in, without stomping on numbers they've already registered.

  4. 4
    Script Library2 min read · Script

    Report on Everything an Entra ID Group Touches with Microsoft Graph

    Before you rename, rescope or delete a group, find out what it's wired to. Members, owners, licenses, apps and Intune policies, in one report.

  5. 5
    Script Library2 min read · Script

    Automating User Offboarding in Azure AD with PowerShell

    One script that locks a departing user out, cleans up their groups and licenses, and keeps their mail, with a CSV record of every step.