

Throughout school, I was your typical overachiever. My name is Guan, and I'm a 28 year old self-taught designer and developer living in Singapore. $licArray += $AllLicenses.Hello! What's your background, and what are you working on? $licArray += "License: " + $AllLicenses.AccountSkuId $licArray = 0 $i -lt $AllLicenses.Count $i++) $AllLicenses=(Get-MsolUser -UserPrincipalName $userUPN).Licenses (Get-MsolUser -UserPrincipalName view all the services for a user who has been assigned multiple licenses, use the following syntax: $userUPN=""
Writemapper product license license#
(Get-MsolUser -UserPrincipalName example shows the services that user has access to from the first license that's assigned to her account (the index number is 0). This shows the services that are associated with all licenses that are assigned to her account. This example shows the services to which the user has access.

To view all the Microsoft 365 services that a user has access to, use the following syntax: (Get-MsolUser -UserPrincipalName ).Licenses.ServiceStatus Get-MsolUser -UserPrincipalName | Format-List DisplayName,Licenses Use this command to list the licenses that are assigned to a user, and the order in which they are listed (the index number). $userList = Get-AzureADUser -ObjectID $userUPN | Select -ExpandProperty AssignedLicenses | Select SkuID $licensePlanList = Get-AzureADSubscribedSku Use these commands to list the licenses that are assigned to a user account. $licArray += Get-AzureADSubscribedSku -ObjectID $allSKUs.ObjectID | Select -ExpandProperty ServicePlans $licArray += "Service Plan: " + $allSKUs.SkuPartNumber $licArray = 0 $i -lt $allSKUs.Count $i++) Use these commands to list the services that are available in each licensing plan. Get-AzureADSubscribedSku | Select SkuPartNumber Next, list the license plans for your tenant with this command. Use the Azure Active Directory PowerShell for Graph module $allLicenses = Get-MgUserLicenseDetail -UserId $userUPN -Property SkuPartNumber, ServicePlans To view all the services for a user who has been assigned multiple licenses, use the following syntax: $userUPN=""

(Get-MgUserLicenseDetail -UserId -Property ServicePlans).ServicePlans This example shows the services that user has access to from the first license that's assigned to her account (the index number is 0). To view all the Microsoft 365 services that a user has access to, use the following syntax: (Get-MgUserLicenseDetail -UserId -Property ServicePlans).ServicePlans Get-MgUserLicenseDetail -UserId ""įor example: Get-MgUserLicenseDetail -UserId view services for a user account Write-Host "Service Plan:" $_.SkuPartNumber $allSKUs = Get-MgSubscribedSku -Property SkuPartNumber, ServicePlans Reading user properties including license details requires the permission scope or one of the other permissions listed in the 'Get a user' Graph API reference page. Use the Microsoft Graph PowerShell SDKįirst, connect to your Microsoft 365 tenant. You can use PowerShell for Microsoft 365 to view the status of services on user accounts.įor more information about licensing plans, license, and services, see View licenses and services with PowerShell. However, a user might not have access to all the services that are available in a license that's currently assigned to them. In Microsoft 365, licenses from licensing plans (also called SKUs or Microsoft 365 plans) give users access to the Microsoft 365 services that are defined for those plans. This article applies to both Microsoft 365 Enterprise and Office 365 Enterprise.
