Skip to content

Latest commit

 

History

History
109 lines (82 loc) · 2.62 KB

Sync-DuoAdminFromDirectory.md

File metadata and controls

109 lines (82 loc) · 2.62 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

Sync-DuoAdminFromDirectory

SYNOPSIS

Synchronize Admin from Directory

SYNTAX

Sync-DuoAdminFromDirectory [-DirectoryKey] <String> [-Email] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Initiate a sync to create, update, or mark for deletion the administrator specified by email against the directory specified by the directory_key. The directory_key for a directory can be found by navigating to Administrators -> Admin Directory Sync in the Duo Admin Panel, and then clicking on the configured directory. Learn more about syncing individual admins from Active Directory, OpenLDAP, or Azure Active Directory. Requires "Grant administrators" API permission.

EXAMPLES

EXAMPLE 1

Sync-DuoAdminFromDirectory -DirectoryKey 123456 -Email [email protected]

PARAMETERS

-DirectoryKey

The directory key to sync from

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

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

-Email

Email address of the admin to update or create via directory sync. This should be the same as the value for the admin's email attribute in the source directory as configured in the sync. Administrators with "Owner" role may not be synced.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
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#synchronize-admin-from-directory