< Back
Get-PartnerCustomerUserLicense
Post
NAME Get-PartnerCustomerUserLicense
SYNOPSIS
Gets a list of licenses assigned to a user within a customer account.
SYNTAX
Get-PartnerCustomerUserLicense -CustomerId <String> [-LicenseGroup {Group1 | Group2}] -UserId <String>
[<CommonParameters>]
DESCRIPTION
Gets a list of licenses assigned to a user within a customer account.
PARAMETERS
-CustomerId <String>
The identifier for the customer.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-LicenseGroup <LicenseGroupId[]>
The identifier for the license group.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-UserId <String>
The identifier for the user.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
Microsoft.Store.PartnerCenter.PowerShell.Models.Licenses.PSLicense
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -UserId
'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of licenses assigned to a user within a customer account.
-------------------------- Example 2 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -LicenseGroup Group1
-UserId 'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of Azure Active Directory (AAD) licenses assigned to a user within a customer account.
-------------------------- Example 3 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -LicenseGroup Group2
-UserId 'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of Minecraft licenses assigned to a user within a customer account.
-------------------------- Example 4 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -LicenseGroup Group1
-UserId 'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of Azure Active Directory (AAD) and Minecraft licenses assigned to a user within a customer account.
RELATED LINKS
Online Version: https://docs.microsoft.com/powershell/m ... serLicense
SYNOPSIS
Gets a list of licenses assigned to a user within a customer account.
SYNTAX
Get-PartnerCustomerUserLicense -CustomerId <String> [-LicenseGroup {Group1 | Group2}] -UserId <String>
[<CommonParameters>]
DESCRIPTION
Gets a list of licenses assigned to a user within a customer account.
PARAMETERS
-CustomerId <String>
The identifier for the customer.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-LicenseGroup <LicenseGroupId[]>
The identifier for the license group.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-UserId <String>
The identifier for the user.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
Microsoft.Store.PartnerCenter.PowerShell.Models.Licenses.PSLicense
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -UserId
'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of licenses assigned to a user within a customer account.
-------------------------- Example 2 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -LicenseGroup Group1
-UserId 'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of Azure Active Directory (AAD) licenses assigned to a user within a customer account.
-------------------------- Example 3 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -LicenseGroup Group2
-UserId 'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of Minecraft licenses assigned to a user within a customer account.
-------------------------- Example 4 --------------------------
PS C:\\> Get-PartnerCustomerUserLicense -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08' -LicenseGroup Group1
-UserId 'd9be87b7-d838-4830-8d45-d18e8e71f3b2'
Gets a list of Azure Active Directory (AAD) and Minecraft licenses assigned to a user within a customer account.
RELATED LINKS
Online Version: https://docs.microsoft.com/powershell/m ... serLicense