Skip to content



A good overview what licenses are available and what the contain is this website

There are many ways to check for your current M365 License(s)

Local Office Licence

cscript "C:\Program Files\Microsoft Office\Office16\ospp.vbs" /dstatus

office dot com

Go to to view licenses.


Using Azure Microsoft.Graph reveals the most details:

Install-Module Microsoft.Graph
Install-Module MSOnline
Install-Module AzureAD          

Select-MgProfile -Name "beta"
Connect-MgGraph -Scopes "User.Read.All","Group.ReadWrite.All"
Get-MgUser -All | Export-Csv -Path .\M365users.csv

# Get User specific Data
$UserID = "add your userID here"

# Licenses
Get-MgUserLicenseDetail -UserId $UserID | Select-Object ServicePlans

# Groups
foreach ($ID in (Get-MgUserMemberOf -UserId $UserID | Select Id)) { Get-AzureADGroup -ObjectId $ID.Id | Select DisplayName, Description}

# Services
Get-MgSubscribedSku -Property SkuPartNumber, ServicePlans | ForEach-Object { Write-Host "`r`nService Plan: " $_.SkuPartNumber "`r`n" $_.ServicePlans | ForEach-Object {$_}}