< Back
Get-MPCAzureADToken
Post
NAME Get-MPCAzureADToken
SYNOPSIS
Gets an Azure Active Directory authentication token.
SYNTAX
Get-MPCAzureADToken [-ApplicationID] <String> [-Credential] <PSCredential> [-DomainPrefix] <String>
[<CommonParameters>]
DESCRIPTION
Long description
PARAMETERS
-ApplicationID <String>
ID of application created in Azure Active Directory
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
User credential to access Azure Active Directory
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DomainPrefix <String>
Partner domain prefix for onmicrosoft.com domain
Required? true
Position? 3
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-MPCAzureADToken -ApplicationID f5e4f291-6e60-48c0-bc2e-e72e9a3a0464 -Credential (Get-Credential)
-DomainPrefix netgain
RELATED LINKS
SYNOPSIS
Gets an Azure Active Directory authentication token.
SYNTAX
Get-MPCAzureADToken [-ApplicationID] <String> [-Credential] <PSCredential> [-DomainPrefix] <String>
[<CommonParameters>]
DESCRIPTION
Long description
PARAMETERS
-ApplicationID <String>
ID of application created in Azure Active Directory
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
User credential to access Azure Active Directory
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DomainPrefix <String>
Partner domain prefix for onmicrosoft.com domain
Required? true
Position? 3
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-MPCAzureADToken -ApplicationID f5e4f291-6e60-48c0-bc2e-e72e9a3a0464 -Credential (Get-Credential)
-DomainPrefix netgain
RELATED LINKS