| content_git_url | external help file | Module Name | online version | original_content_git_url | schema |
|---|---|---|---|---|---|
Microsoft.Store.PartnerCenter.PowerShell.dll-Help.xml |
PartnerCenter |
2.0.0 |
Connects to Partner Center with an authenticated account for use with cmdlet requests.
Connect-PartnerCenter -ApplicationId <String> [-EnforceMFA] [-Environment <EnvironmentName>]
[-TenantId <String>] [<CommonParameters>]Connect-PartnerCenter -AccessToken <String> -ApplicationId <String> [-Credential <PSCredential>] [-EnforceMFA]
[-Environment <EnvironmentName>] [-TenantId <String>] [<CommonParameters>]Connect-PartnerCenter [-ApplicationId <String>] -Credential <PSCredential> [-EnforceMFA]
[-Environment <EnvironmentName>] -TenantId <String> [<CommonParameters>]The Connect-PartnerCenter cmdlet connects to Partner Center with an authenticated account for use with cmdlet requests
PS C:\> Connect-PartnerCenter -ApplicationId '<AppId>'Connects to Partner Center using the specified application identifier during authentication.
PS C:\> $credential = Get-Credential
PS C:\> Connect-PartnerCenter -ApplicationId '<AppId>' -Credential $credential -TenantId '<TenantId>'Connects to Partner Center using app only authentication. Not all commands support this type of authentication.
PS C:\> Connect-PartnerCenter -AccessToken '<AccessToken>' -ApplicationId '<AppId>' -TenantId '<TenantId>'Connects to Partner Center using an access token.
The access token for Partner Center.
Type: String
Parameter Sets: AccessToken
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe identifier of the Azure AD application.
Type: String
Parameter Sets: User, AccessToken
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: String
Parameter Sets: ServicePrincipal
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseCredentials that represents the service principal.
Type: PSCredential
Parameter Sets: AccessToken
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: PSCredential
Parameter Sets: ServicePrincipal
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseA flag indicating whether or not multi-factor authentication is enforced. The is only configurable while the Partner Center API is not requiring multi-factor authentication.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe environment use for authentication.
Type: EnvironmentName
Parameter Sets: (All)
Aliases: EnvironmentName
Accepted values: GlobalCloud, ChinaCloud, GermanCloud, PPE, USGovernment
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe identifier of the Azure AD tenant.
Type: String
Parameter Sets: User, AccessToken
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType: String
Parameter Sets: ServicePrincipal
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.