< Back

Add-CustomConnectorToPolicy

Sat Jan 18, 2020 3:45 pm

NAME Add-CustomConnectorToPolicy



SYNOPSIS

Adds a custom connector to the given group.





SYNTAX

Add-CustomConnectorToPolicy [-PolicyName] <String> [-ConnectorName] <String> [-GroupName] <String> [-ConnectorId]

<String> [-ConnectorType] <String> [[-EnvironmentName] <String>] [[-ApiVersion] <String>] [<CommonParameters>]





DESCRIPTION

The Add-CustomConnectorToGroup adds a custom connector to a specific group of a DLP policy depending on parameters.

Use Get-Help Add-CustomConnectorToGroup -Examples for more detail.





PARAMETERS

-PolicyName <String>

The PolicyName's identifier.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ConnectorName <String>

The Custom Connector's name.



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-GroupName <String>

The name of the group to add the connector to, lbi or hbi.



Required? true

Position? 3

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ConnectorId <String>

The Custom Connector's ID.



Required? true

Position? 4

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ConnectorType <String>

The Custom Connector's type.



Required? true

Position? 5

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-EnvironmentName <String>

The Environment's identifier.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiVersion <String>

The api version to call with. Default 2018-01-01.



Required? false

Position? 7

Default value 2018-01-01

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



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



PS C:\\>Add-CustomConnectorToGroup -PolicyName 7b914a18-ad8b-4f15-8da5-3155c77aa70a -ConnectorName BloopBlop

-ConnectorId /providers/Microsoft.PowerApps/apis/BloopBlop -ConnectorType Microsoft.PowerApps/apis -GroupName hbi



Adds the custom connector 'BloopBlop' to BusinessData group of policy name 7b914a18-ad8b-4f15-8da5-3155c77aa70a.









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



PS C:\\>Add-CustomConnectorToGroup -EnvironmentName Default-02c201b0-db76-4a6a-b3e1-a69202b479e6 -PolicyName

7b914a18-ad8b-4f15-8da5-3155c77aa70a -ConnectorName BloopBlop -ConnectorId

/providers/Microsoft.PowerApps/apis/BloopBlop -ConnectorType Microsoft.PowerApps/apis -GroupName hbi



Adds the custom connector 'BloopBlop' to BusinessData group of policy name 7b914a18-ad8b-4f15-8da5-3155c77aa70a in

environment Default-02c201b0-db76-4a6a-b3e1-a69202b479e6.











RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Add-PowerAppsAccount; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Add-PowerAppsAccount [[-Audience] <string>] [[-Endpoint] <string>] [[-Username] <string>]

[[-Password] <securestring>] [<CommonParameters>]



ModuleName : Microsoft.PowerApps.Administration.PowerShell

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Add-PowerAppsAccount

Category : Function

Component :

Role :

Functionality :