Get-EntraSubscribedSku
Gets subscribed SKUs to Microsoft services.
Syntax
GetQuery (Default)
Get-EntraSubscribedSku
[-Property <String[]>]
[<CommonParameters>]
GetById
Get-EntraSubscribedSku
-SubscribedSkuId <String>
[-Property <String[]>]
[<CommonParameters>]
Description
The Get-EntraSubscribedSku
cmdlet gets subscribed SKUs to Microsoft services.
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
-Property
Specifies properties to be returned.
Parameter properties
Type: | System.String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | Select |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SubscribedSkuId
The object ID of the SKU (Stock Keeping Unit).
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | ObjectId |
Parameter sets
GetById
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
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.