-
Notifications
You must be signed in to change notification settings - Fork 0
Set PpacTeamSecurityRole
Set Security Role for a team in a Power Platform environment.
Set-PpacTeamSecurityRole [-EnvironmentId] <String> [-Team] <String> [-Role] <String[]>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
This cmdlet allows you to set a Security Role for a team in a Power Platform environment. It can be used to configure a Security Role to a team.
Set-PpacTeamSecurityRole -EnvironmentId "ContosoEnv" -Team "ContosoTeam" -Role "ContosoRole"
This command sets the Security Role "ContosoRole" for the team "ContosoTeam" in the Power Platform environment "ContosoEnv".
Set-PpacTeamSecurityRole -EnvironmentId "ContosoEnv" -Team "ContosoTeam" -Role "ContosoRole1","ContosoRole2"
This command sets the Security Roles "ContosoRole1" and "ContosoRole2" for the team "ContosoTeam" in the Power Platform environment "ContosoEnv".
The ID of the environment to set the Security Role for.
Can be either the environment name, the environment GUID (PPAC) or the LCS environment ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name or ID of the team to set the Security Role for.
Can be either the team name or the team ID.
Type: String
Parameter Sets: (All)
Aliases: Name
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name or ID of the Security Role to assign to the team.
Can be either the role name or the role ID.
Multiple roles / array of roles are supported.
Type: String[]
Parameter Sets: (All)
Aliases: RoleName
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)