< Back

Remove-DAdministrator

Mon Jan 13, 2020 6:44 pm

NAME Remove-DAdministrator



SYNOPSIS

Delete an existing administrator from Delegate365. This command is available starting with Delegate365 v8.2





SYNTAX

Remove-DAdministrator -Identity <string> [-UserPrincipalName <string>] [<CommonParameters>]





DESCRIPTION

Delete-DAdministrator removes a specific administrator from the Delegate365. Alias commands are: Delete-DAdmin,

Remove-DAdmin. The user object itself stays untouched, just he or she gets removed from them Delegate365

Administrator's list. When deleted, that user no longer has access to the Delegate365 portal. There is no Undo

function. In case that user shall get access again, he or she must be created, e.g. with the New-DAdministrator

cmdlet. The Delegate365 Audit Logs stay unchanged and Portal Admins can see all logged actions of that user from

the past. To remove any user data from the Audit logs, use the GDPR function in Delegate365. The output shows

"Successfully deleted", or "Administrator not found" if the user is not existing in the Administrator's list or

the error message if another error was thrown.





PARAMETERS

-Identity <string>

Find a specific item. Wildcards are not supported, use the UserPrincipalName.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-UserPrincipalName <string>

The UserPrincipalName can be used instead of the Identity parameter.



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

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

System.String

Find a specific item. Wildcards are not supported, use the UserPrincipalName.



System.String

The UserPrincipalName can be used instead of the Identity parameter.





OUTPUTS

System.String





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



Delete-DAdministrator -Identity john.doe@delegate365.com



Deletes the administrator from the Delegate365 administrator list.

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



Delete-DAdministrator -UserPrincipalName john.doe@delegate365.com



Alternatively, the parameter -UserPrincipalName can be used instead of the -Identity parameter.



RELATED LINKS

Delegate365 support https://support.delegate365.com/