< Back

Get-AzureRmLogicAppRunHistory

Tue Jan 29, 2019 9:51 pm

NAME Get-AzureRmLogicAppRunHistory



SYNOPSIS

Gets the run history of a logic app.





SYNTAX

Get-AzureRmLogicAppRunHistory [-DefaultProfile <IAzureContextContainer>] -Name <String> -ResourceGroupName <String> [-RunName <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmLogicAppRunHistory cmdlet gets the run history of a logic app. This cmdlet returns a collection of WorkflowRun objects. Specify the

logic app and resource group.



This module supports dynamic parameters. To use a dynamic parameter, type it in the command. To discover the names of dynamic parameters, type a

hyphen (-) after the cmdlet name, and then press the Tab key repeatedly to cycle through the available parameters. If you omit a required template

parameter, the cmdlet prompts you for the value.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the logic app for which this cmdlet gets run history.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of a resource group that contains the logic app.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-RunName <String>

Specifies the run name of a logic app. This cmdlet gets the workflow run that this cmdlet specifies.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Management.Logic.Models.WorkflowRun







NOTES









Example 1: Get the run history of a logic app



PS C:\\>Get-AzureRmLogicAppActionRunHistory -ResourceGroupName "Resourcegroup11" -Name "LogicApp03"

CorrelationId : 55830326-9042-404d-a4c3-fab198106a57

EndTime : 1/13/2016 2:46:55 PM

Error : {code, message}

Name : 08587489104702792076

Outputs : {}

StartTime : 1/13/2016 2:46:55 PM

Status : Failed

TriggerName :

LogicAppName : LogicApp03

LogicAppVersion : 08587489107859952540



CorrelationId : d3ddc917-9aaa-47b3-8814-c621c2ae530b

EndTime : 1/13/2016 2:42:56 PM

Error : {code, message}

Name : 08587489107100664541

Outputs : {}

StartTime : 1/13/2016 2:42:55 PM

Status : Failed

TriggerName : httpTrigger

LogicAppName : LogicApp03

LogicAppVersion : 08587489107859952120



This command gets the run history of a logic app named LogicApp03.





Example 2: Get a logic app run



PS C:\\>Get-AzureRmLogicAppActionRunHistory -ResourceGroupName "Resourcegroup11" -Name "LogicApp03" -RunName "08587489104702792076"

CorrelationId : 55830326-9042-404d-a4c3-fab198106a57

EndTime : 1/13/2016 2:46:55 PM

Error : {code, message}

Name : 08587489104702792076

Outputs : {}

StartTime : 1/13/2016 2:46:55 PM

Status : Failed

TriggerName :

LogicAppName : LogicApp03

LogicAppVersion : 08587489107859952120



This command gets a specific logic app run for the logic app named LogicApp03.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... runhistory

Get-AzureRmLogicAppRunAction

Start-AzureRmLogicApp

Stop-AzureRmLogicAppRun