Get-AdminPowerAppOperationStatus
Return admin operation status by operation URL.
Syntax
Get-AdminPowerAppOperationStatus
-OperationStatusUrl <String>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The Get-AdminPowerAppOperationStatus cmdlet returns Power Platform admin operation status by operation URL. If Content.state.id.ToString() -ne "Succeeded", loop and call Get-AdminPowerAppOperationStatus again. Use Get-Help Get-AdminPowerAppOperationStatus -Examples for more detail.
Examples
EXAMPLE 1
Get-AdminPowerAppOperationStatus -OperationUrl https://api.bap.microsoft.com/providers/Microsoft.BusinessAppPlatform/lifecycleOperations/d14e602b-4bdd-4faa-ad9c-c250a7cccf7b?api-version=2019-05-01
Retrieves the operation status for the specified URL.
Parameters
-ApiVersion
The api version to call with.
Type: | String |
Position: | Named |
Default value: | 2019-05-01 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OperationStatusUrl
The URL which is returned by API in Headers['Location'] or Headers['Operation-Location'].
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |