IT Tools

Create Guest User

Create external guest · No invitation email

ℹ️
Sign in as Global Admin (or User Administrator) when PowerShell opens the browser login window. The guest will receive distribution group email immediately. Collaboration access can be enabled later by resending the invitation.
1 · External Person Details
This becomes the guest’s mail address and the identity used in the distribution group.
Will be created as: Jane Smith Guest
2 · PowerShell Setup (optional)

Run these once in Terminal. After that you only need the commands in section 3.

Install PowerShell (Homebrew)
brew install --cask powershell
Copied!
Install Microsoft Graph module (run after launching pwsh)
Install-Module Microsoft.Graph -Scope CurrentUser -Force
Copied!
3 · Ready-to-Run Commands

Fill in the fields above. The commands below update automatically. Copy each one into PowerShell and press Enter.

A Launch PowerShell

Open Terminal, then run this to start PowerShell:

pwsh
Copied!
B Connect to Microsoft Graph

A browser window will open. Sign in with your M365 Global Admin account.

Connect-MgGraph -Scopes "User.Invite.All"
Copied!
C Create Guest User (no email sent)

Creates the guest in PendingAcceptance state. No invitation email is sent.

New-MgInvitation -InvitedUserEmailAddress "name@externaldomain.com" -InvitedUserDisplayName "Jane Smith Guest" -InviteRedirectUrl "https://myapplications.microsoft.com" -SendInvitationMessage:$false
Copied!
4 · Add to Distribution Group (GUI)
  1. Go to admin.microsoft.com
  2. Teams & groups → Active teams and groups → Distribution list tab
  3. Select the distribution group → Members → View all and manage members
  4. Click + Add members, search for the guest, select them, click Add

Allow 5–30 minutes for membership to fully propagate before testing.

Later — When They Need to Collaborate

The guest stays in PendingAcceptance until they redeem an invitation. When they need Teams / SharePoint access:

  1. Go to entra.microsoft.com → Users
  2. Find and open the guest
  3. Click Resend invitation
  4. They receive the standard Microsoft invite email and can accept