< Back
Get-MPCToken
Post
NAME Get-MPCToken
SYNOPSIS
Gets a Microsoft Partner Center token when given an Azure Active Directory token.
SYNTAX
Get-MPCToken [-ApplicationID] <String> [-Credential] <PSCredential> [-PartnerDomainPrefix] <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
-PartnerDomainPrefix <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-MPCToken -ApplicationID f5e4f291-6e60-48c0-bc2e-e72e9a3a0464 -Credential (Get-Credential)
-PartnerDomainPrefix netgain
RELATED LINKS
SYNOPSIS
Gets a Microsoft Partner Center token when given an Azure Active Directory token.
SYNTAX
Get-MPCToken [-ApplicationID] <String> [-Credential] <PSCredential> [-PartnerDomainPrefix] <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
-PartnerDomainPrefix <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-MPCToken -ApplicationID f5e4f291-6e60-48c0-bc2e-e72e9a3a0464 -Credential (Get-Credential)
-PartnerDomainPrefix netgain
RELATED LINKS