Get-AdminPowerAppLicenses
Downloads the user licenses into a specified file.
Syntax
Default (Default)
Get-AdminPowerAppLicenses
[-OutputFilePath] <String>
[[-TimeoutInMinutes] <Int32>]
[[-ApiVersion] <String>]
[<CommonParameters>]
Description
The Get-AdminPowerAppLicenses cmdlet downloads the user licenses into a specified file. Output of the cmdlet only includes licenses for users that have accessed Power Platform services (for example, Power Apps, Power Automate, or the Power Platform admin center). Users that have had licenses assigned in Microsoft Entra ID (typically via the Microsoft 365 admin center) but have never accessed Power Platform services will not have their licenses included in the generated .csv output. Furthermore, since the Power Platform licensing services caches the licenses, updates made to license assignments in Entra ID can take up to seven days to reflect in the output for users that haven't accessed the service recently. Use Get-Help Get-AdminPowerAppLicenses -Examples for more details.
Examples
EXAMPLE 1
Get-AdminPowerAppLicenses -OutputFilePath C:\Users\testuser\licenses.json
Downloads the licenses of the calling user into specified path file C:\Users\testuser\licenses.json.
Parameters
-ApiVersion
Specifies the Api version that is called.
Parameter properties
Type: | String |
Default value: | 2016-11-01 |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 3 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-OutputFilePath
The output file path.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TimeoutInMinutes
The timeout setting in minutes.
Parameter properties
Type: | Int32 |
Default value: | 10080 |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
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.