< Back

Set-AxLogicAppConfig

Sat Jan 11, 2020 8:20 am

NAME Set-AxLogicAppConfig



SYNOPSIS

Set the details for the logic app invoke cmdlet





SYNTAX

Set-AxLogicAppConfig [-Url] <String> [-Email] <String> [-Subject] <String> [[-ConfigStorageLocation] <String>]

[-Temporary] [<CommonParameters>]





DESCRIPTION

Store the needed details for the module to execute an Azure Logic App using a HTTP request





PARAMETERS

-Url <String>

The URL for the http request endpoint of the desired logic app



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Email <String>

The receiving email address that should be notified



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Subject <String>

The subject of the email that you want to send



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ConfigStorageLocation <String>

Parameter used to instruct where to store the configuration objects



The default value is "User" and this will store all configuration for the active user



Valid options are:

"User"

"System"



"System" will store the configuration so all users can access the configuration objects



Required? false

Position? 4

Default value User

Accept pipeline input? false

Accept wildcard characters? false



-Temporary [<SwitchParameter>]

Instruct the cmdlet to only temporarily override the persisted settings in the configuration storage



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:\\>Set-AxLogicAppConfig -Email administrator@contoso.com -Subject "Work is done" -Url

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



This will set all the details about invoking the Logic App.









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



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

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



This will set all the details about invoking the Logic App.

The data will be stored in the system wide configuration storage, which makes it accessible from all users.









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



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

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



This will set all the details about invoking the Logic App.

The update will only last for the rest of this PowerShell console session.











RELATED LINKS