< Back
Get-DAADUser
Post
NAME Get-DAADUser
SYNOPSIS
Gets one or multiple users from Azure Active Directory.
SYNTAX
Get-DAADUser [-All <SwitchParameter>] [-Identity <string>] [-OU <string>] [-UnAssigned <SwitchParameter>]
[<CommonParameters>]
DESCRIPTION
Get-DAADUser returns a list of users from Azure Active Directory. This command allows to directly query the AAD,
without any filtering. Therefore, the runtime can be longer than other cmdlets that deliver data from Delegate365.
Parameters allow to get all users or a specific user. By default, the first 100 users are returned. Use the -All
parameter to get the full list of users. Filter for one user by using the -Identity Parameter and the full
UserPrincipalName or the ID. The ouput delivers all user properties from AAD.
Important: By default, the command shows all users that are assigned to any OU in Delegate365. When using the
-Unassigned parameter, all users are returned that are not assigned to an OU. Be aware that this parameter only
delivers the unassigned users if the authenticated user is PowerShell Administrator. Scope Admins that are not
PowerShell Administrator will see no output (an empty list), while PowerShell Administrators get all the
unassigned users.
PARAMETERS
-UnAssigned <SwitchParameter>
Delivers all users from AAD that are not assigned to an OU. Requires the PowerShell Administration permission.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-All <SwitchParameter>
Delivers all users (and not only the first 100 users).
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Identity <string>
Filter for one specific user. Wildcards are not supported, use the full UserPrincipalName or the ID.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OU <string>
Filter by the name of an OU.
Required? false
Position? named
Default value
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
Delegate365.Api.Core.Models.AadUser[]
---------- EXAMPLE 1 ----------
Get-DAADUser
By default, the command returns the first 100 assigned users.
---------- EXAMPLE 2 ----------
Get-DAADUser -All
Add -All to get all users.
---------- EXAMPLE 3 ----------
Get-DAADUser -Unassigned -All
Add -Unassigned to get users that are NOT assigned to an OU (can be combined with -All).
---------- EXAMPLE 4 ----------
Get-DAADUser -OU Seattle
Add -OU to get users that are assigned to a specific OU.
---------- EXAMPLE 5 ----------
Get-DAADUser -Identity john.doe@delegate365.com
Get one specific user by UPN or by ID,
RELATED LINKS
Delegate365 support https://support.delegate365.com/
SYNOPSIS
Gets one or multiple users from Azure Active Directory.
SYNTAX
Get-DAADUser [-All <SwitchParameter>] [-Identity <string>] [-OU <string>] [-UnAssigned <SwitchParameter>]
[<CommonParameters>]
DESCRIPTION
Get-DAADUser returns a list of users from Azure Active Directory. This command allows to directly query the AAD,
without any filtering. Therefore, the runtime can be longer than other cmdlets that deliver data from Delegate365.
Parameters allow to get all users or a specific user. By default, the first 100 users are returned. Use the -All
parameter to get the full list of users. Filter for one user by using the -Identity Parameter and the full
UserPrincipalName or the ID. The ouput delivers all user properties from AAD.
Important: By default, the command shows all users that are assigned to any OU in Delegate365. When using the
-Unassigned parameter, all users are returned that are not assigned to an OU. Be aware that this parameter only
delivers the unassigned users if the authenticated user is PowerShell Administrator. Scope Admins that are not
PowerShell Administrator will see no output (an empty list), while PowerShell Administrators get all the
unassigned users.
PARAMETERS
-UnAssigned <SwitchParameter>
Delivers all users from AAD that are not assigned to an OU. Requires the PowerShell Administration permission.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-All <SwitchParameter>
Delivers all users (and not only the first 100 users).
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Identity <string>
Filter for one specific user. Wildcards are not supported, use the full UserPrincipalName or the ID.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OU <string>
Filter by the name of an OU.
Required? false
Position? named
Default value
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
Delegate365.Api.Core.Models.AadUser[]
---------- EXAMPLE 1 ----------
Get-DAADUser
By default, the command returns the first 100 assigned users.
---------- EXAMPLE 2 ----------
Get-DAADUser -All
Add -All to get all users.
---------- EXAMPLE 3 ----------
Get-DAADUser -Unassigned -All
Add -Unassigned to get users that are NOT assigned to an OU (can be combined with -All).
---------- EXAMPLE 4 ----------
Get-DAADUser -OU Seattle
Add -OU to get users that are assigned to a specific OU.
---------- EXAMPLE 5 ----------
Get-DAADUser -Identity john.doe@delegate365.com
Get one specific user by UPN or by ID,
RELATED LINKS
Delegate365 support https://support.delegate365.com/