Get-PartnerContext

Gets the metadata used to authenticate Partner Center requests.

Syntax

Get-PartnerContext []

Description

The Get-PartnerContext cmdlet gets the current metadata used to authenticate Partner Center requests.

Examples

Example 1

PS C:\> Connect-PartnerCenter
PS C:\> Get-PartnerContext

In this example we are logging into our partner account using Connect-PartnerCenter, and then we are getting the context of the current session by calling Get-PartnerContext.

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.Authentication.PartnerContext