< Back

Get-AzureRmLogicAppTriggerHistory

Tue Jan 29, 2019 9:51 pm

NAME Get-AzureRmLogicAppTriggerHistory



SYNOPSIS

Gets the history of triggers in a logic app.





SYNTAX

Get-AzureRmLogicAppTriggerHistory [-DefaultProfile <IAzureContextContainer>] [-HistoryName <String>] -Name <String> -ResourceGroupName <String>

-TriggerName <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmLogicAppTriggerHistory cmdlet gets the history of triggers in a logic app in the Logic Apps feature. This cmdlet returns a

WorkflowTriggerHistory object. Specify the logic app, resource group, and trigger.



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



-HistoryName <String>

Specifies the name of the history that this cmdlet gets.



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 trigger history.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group in which this cmdlet gets history.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-TriggerName <String>

Specifies the name of the trigger for which this cmdlet gets history.



Required? true

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.WorkflowTriggerHistory







NOTES









Example 1: Get a trigger history of a logic app



PS C:\\>Get-AzureRmLogicAppTriggerHistory -ResourceGroupName "Resourcegroup11" -Name "LogicApp03" -TriggerName "Trigger01" -HistoryName

"08587489107387695768"

Code : BadRequest

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

Error : {code, message}

Fired : False

InputsLink :

https://flowprodcu02by01.blob.core.wind ... a40f05e663

cb_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=&se=2016-01-14T16%3A15%3A16Z&sp=r

Name : 08587489107387695768

OutputsLink :

Run :

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

Status : Failed

TrackingId : f88a499b-f80f-4a28-9bbf-c4cc0d129700

Type : Microsoft.Logic/workflows/triggers/histories



This command gets a specific logic app trigger history for a trigger in the logic app named LogicApp03.





Example 2: Get trigger histories of a logic app



PS C:\\>Get-AzureRmLogicAppTriggerHistory -ResourceGroupName "ResourceGroup11" -Name "LogicApp07" -TriggerName "Trigger01"

Code : BadRequest

EndTime : 1/13/2016 2:43:33 PM

Error : {code, message}

Fired : False

InputsLink :

https://flowprodcu02by01.blob.core.wind ... 8716914c5d

b6_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=&se=2016-01-14T16%3A18%3A27Z&sp=r

Name : 08587489106716457817

OutputsLink :

Run :

StartTime : 1/13/2016 2:43:33 PM

Status : Failed

TrackingId : c91a63f1-48b4-4eae-91eb-8f6dbfa9fe06

Type : Microsoft.Logic/workflows/triggers/histories



Code : BadRequest

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

Error : {code, message}

Fired : False

InputsLink :

https://flowprodcu02by01.blob.core.wind ... a40f05e663

cb_httpTrigger:5Finputs:2Ejson?sv=2014-02-14&sr=b&sig=&se=2016-01-14T16%3A18%3A27Z&sp=r

Name : 08587489107387695768

OutputsLink :

Run :

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

Status : Failed

TrackingId : f88a499b-f80f-4a28-9bbf-c4cc0d129700

Type : Microsoft.Logic/workflows/triggers/histories



This command gets the workflow trigger histories for a trigger in the logic app named LogicApp07.







RELATED LINKS

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

Get-AzureRmLogicAppRunHistory

Get-AzureRmLogicAppTrigger

Start-AzureRmLogicApp