Skip to content

Latest commit

 

History

History
105 lines (78 loc) · 2.1 KB

Add-DuoGroupToAdminUnit.md

File metadata and controls

105 lines (78 loc) · 2.1 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

Add-DuoGroupToAdminUnit

SYNOPSIS

Add Group to Administrative Unit

SYNTAX

Add-DuoGroupToAdminUnit [-AdminUnitId] <String> [-GroupId] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Assign the group with group_id to the administrative unit with admin_unit_id. Requires "Grant administrators" API permission.

EXAMPLES

EXAMPLE 1

Add-DuoGroupToAdminUnit -AdminUnitId SOMEADMINUNITID -GroupId SOMEGROUPID

PARAMETERS

-AdminUnitId

The ID of the Administrative Unit

Type: String
Parameter Sets: (All)
Aliases: admin_unit_id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-GroupId

The ID of the Group

Type: String
Parameter Sets: (All)
Aliases: group_id

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

https://duo.com/docs/adminapi#add-group-to-administrative-unit