< Back

Get-AADIntTenantID

Fri Jan 10, 2020 5:52 pm

NAME Get-AADIntTenantID



SYNOPSIS

Returns TenantID of the given domain, user, or AccessToken





SYNTAX

Get-AADIntTenantID -Domain <String> [<CommonParameters>]



Get-AADIntTenantID -UserName <String> [<CommonParameters>]



Get-AADIntTenantID -AccessToken <String> [<CommonParameters>]





DESCRIPTION

Returns TenantID of the given domain, user, or AccessToken





PARAMETERS

-Domain <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserName <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AccessToken <String>



Required? true

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



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



PS C:\\>Get-AADIntTenantID -UserName "user@company.com"













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



PS C:\\>Get-AADIntTenantID -Domain company.com













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-AADIntTenantID -AccessToken $at















RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-AADIntUser; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-AADIntUser -ObjectId <Object> [-AccessToken <string>] [-ReturnDeletedUsers <bool>]

[<CommonParameters>]



Get-AADIntUser -UserPrincipalName <Object> [-AccessToken <string>] [-ReturnDeletedUsers

<bool>] [<CommonParameters>]



Get-AADIntUser -LiveID <Object> [-AccessToken <string>] [-ReturnDeletedUsers <bool>]

[<CommonParameters>]



ModuleName : AADInternals

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-AADIntUser

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-AADIntUsers; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Get-AADIntUsers [[-AccessToken] <string>] [[-UserSearchDefinition] <Object>] [[-PageSize]

<int>] [[-SearchString] <string>] [[-SortDirection] <string>] [[-SortField] <string>]

[[-AccountSku] <Object>] [[-AdministrativeUnitObjectId] <Object>] [[-BlackberryUsersOnly]

<Object>] [[-City] <Object>] [[-Country] <Object>] [[-Department] <Object>] [[-DomainName]

<Object>] [[-EnabledFilter] <Object>] [[-HasErrorsOnly] <Object>] [[-IncludedProperties]

<Object>] [[-IndirectLicenseFilter] <Object>] [[-LicenseReconciliationNeededOnly] <Object>]

[[-ReturnDeletedUsers] <Object>] [[-State] <Object>] [[-Synchronized] <Object>] [[-Title]

<Object>] [[-UnlicensedUsersOnly] <bool>] [[-UsageLocation] <Object>] [<CommonParameters>]



ModuleName : AADInternals

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-AADIntUsers

Category : Function

Component :

Role :

Functionality :