Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vicradon/138f7bd7c4b2c73e9486b1434458ade6 to your computer and use it in GitHub Desktop.
Save vicradon/138f7bd7c4b2c73e9486b1434458ade6 to your computer and use it in GitHub Desktop.
Perform a bulk-invite of external users to an Azure Entra tenant using Powershell commands
#Requires -Modules Microsoft.Graph.Identity.SignIns, Microsoft.Graph.Users
Install-Module -Name Az -Repository PSGallery -Force
Connect-AzAccount
Install-Module -Name Microsoft.Graph
Connect-MgGraph -Scopes 'User.ReadWrite.All'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment