< Back

Invoke-AxLogicApp

Sat Jan 11, 2020 8:17 am

NAME Invoke-AxLogicApp



SYNOPSIS

Invoke a http request for a Logic App





SYNTAX

Invoke-AxLogicApp [[-Url] <String>] [[-Email] <String>] [[-Subject] <String>] [-IncludeAll] [-AsJob]

[<CommonParameters>]





DESCRIPTION

Invoke a Logic App using a http request and pass a json object with details about the calling function





PARAMETERS

-Url <String>

The URL for the http endpoint that you want to invoke



Required? false

Position? 1

Default value $Script:ActiveLogicappUrl

Accept pipeline input? false

Accept wildcard characters? false



-Email <String>

The email address of the receiver of the message that the cmdlet will send



Required? false

Position? 2

Default value $Script:ActiveLogicappEmail

Accept pipeline input? false

Accept wildcard characters? false



-Subject <String>

Subject string to apply to the email and to the IM message



Required? false

Position? 3

Default value $Script:ActiveLogicappSubject

Accept pipeline input? false

Accept wildcard characters? false



-IncludeAll [<SwitchParameter>]

Instruct the cmdlet to include all cmdlets (names only) from the pipeline



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-AsJob [<SwitchParameter>]

Instruct the cmdlet to run the invocation as a job (async)



Required? false

Position? named

Default value False

Accept pipeline input? false

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: M??????tz Jensen (@Splaxi)



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Invoke-AxLogicApp -Email administrator@contoso.com -Subject "Work is done" -Url

https://prod-35.westeurope.logic.azure.com:443/



This will simply invoke an Azure Logic App with the email, subject and URL parameters that are needed to invoke an

Azure Logic App.

A notification will be sent to "administrator@contoso.com".









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Start-AxEnvironment -Aos | Invoke-AxLogicApp



This will execute the sync process and when it is done it will invoke an Azure Logic App with the default

parameters that have been configured for the system.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Start-AxEnvironment -Aos | Invoke-AxLogicApp -Email administrator@contoso.com -Subject "Work is done" -Url

https://prod-35.westeurope.logic.azure.com:443/



This will execute the sync process and when it is done it will invoke an Azure Logic App with the email, subject

and URL parameters that are needed to invoke an Azure Logic App.

A notification will be sent to "administrator@contoso.com".











RELATED LINKS