Edit

Share via


Get-EntraAccountSku

Retrieves all the SKUs for a company.

Syntax

GetQuery (Default)

Get-EntraAccountSku

    [<CommonParameters>]

GetById

Get-EntraAccountSku

    [-TenantId <String>]
    [<CommonParameters>]

Description

The Get-EntraAccountSku retrieves the list of commercial subscriptions acquired by an organization.

For a list of license names in the Microsoft Entra or Microsoft 365 admin centers and their corresponding Microsoft Graph skuId and skuPartNumber properties, refer to the mapping information.

In delegated scenarios with work or school accounts, when acting on another user, the signed-in user must have a supported Microsoft Entra role or a custom role with the necessary permissions. The following least privileged roles support this operation:

  • Dynamics 365 Business Central Administrator (read-only access to standard properties)
  • Global Reader
  • Directory Readers

Parameters

-TenantId

The unique tenant ID for the operation. This parameter provides compatibility with Azure AD and MSOnline for partner scenarios. TenantID is the signed-in user's tenant ID.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetById
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.