Skip to content

thedxt/Microsoft-365

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Microsoft 365

scripts related to Microsoft 365

LIC-Swap-MS-Graph.ps1

PowerShell script that swaps Microsoft 365 licences using Microsoft Graph.

  • Change remove_LIC and add_LIC varriable to what you need.
  • Finds all the users that have the remove_LIC SKU.
  • For-each loop of the results and removes the license and outputs the license removed and the UPN of the user it was removed from. Then it adds the add_LIC SKU to the user and outputs the license added and the UPN of the user it was added to.

More detailed documentation

Prerequisites

  • MS Graph PowerShell Module needs to be installed

About

scripts related to Microsoft 365

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published