Export (0) Print
Expand All
Expand Minimize

Get-MsolAccountSku

Published: March 22, 2013

Updated: September 17, 2014

Applies To: Azure, Office 365, Windows Intune

noteNote
  • This topic provides online help content for cloud services, such as Windows Intune and Office 365, which rely on Microsoft Azure Active Directory for identity and directory services.

  • The Microsoft Azure Active Directory Module for Windows PowerShell cmdlets were previously known as the Microsoft Online Services Module for Windows PowerShell cmdlets.

The Get-MsolAccountSku returns all the SKUs that the company owns.

Get-MsolAccountSku [-TenantId <Guid>] [<CommonParameters>]

    -TenantId <Guid>
        The unique ID of the tenant to perform the operation on. If this is 
        not provided then the value will default to the tenant of the current 
        user. This parameter is only applicable to partner users.
        
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  false
        
    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer and OutVariable. For more information, type,
        "get-help about_commonparameters".

The output is provided by Microsoft.Online.Administration.AccountSKU. Each AccountSKU returned will include the following information:

  • AccountName: The name of the account this SKU belongs to.

  • AccountObjectId: The unique ID of the account this SKU belongs to.

  • AccountSkuId: The unique string ID of the account/SKU combination. This value should be used when assigning or updating licenses.

  • ActiveUnits: The number of active licenses.

  • ServiceStatus: The provisioning status of individual services belonging to this SKU.

  • SkuId: The unique ID for the SKU.

  • SkuPartNumber: The partner number of this SKU.

  • SubscriptionIds: A list of all subscriptions associated with this SKU. For the purposes of assigning licenses, all subscriptions with the same SKU will be grouped into a single license pool.

  • SuspendedUnits: The number of suspended licenses. These licenses are not available for assignment.

  • TargetClass: The target class of this SKU. Only SKUs with target class=user are assignable.

  • WarningUnits: The number of warning units.

The following command returns a list of SKUs.

Get-MsolAccountSku

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft