Skip to content

This PowerShell script is used to manage Azure AD user licenses. It includes functions to add a license to a user and check if a user has a specific license.

License

Notifications You must be signed in to change notification settings

lawofthedmz/License-Adder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Azure AD User License Management Script

This PowerShell script is used to manage Azure AD user licenses. It includes functions to add a license to a user and check if a user has a specific license.

Prerequisites

  • AzureAD PowerShell module

Setup

  1. Import the AzureAD module:
Import-Module AzureAD
  1. Connect to Azure AD:

Define the AD group Object ID and License SKUs at the top of the script:

$groupObjectId = "<groupObjectId>"
$F3Sku = "<F3Sku>"
$EMSSku = "<EMSSku>"

Replace <groupObjectId>, <F3Sku>, and <EMSSku> with your actual values.

Then, call the functions as needed.

Note This script assumes that you have the necessary permissions to manage Azure AD user licenses.

About

This PowerShell script is used to manage Azure AD user licenses. It includes functions to add a license to a user and check if a user has a specific license.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published