Edit

Share via


Get-EntraPartnerInformation

Retrieves company-level information for partners.

Syntax

GetQuery (Default)

Get-EntraPartnerInformation

    [<CommonParameters>]

GetById

Get-EntraPartnerInformation

    [-TenantId <Guid>]
    [<CommonParameters>]

Description

The Get-EntraPartnerInformation cmdlet is used to retrieve partner-specific information. This cmdlet should only be used for partner tenants.

Examples

Example 1: Retrieve partner information

Connect-Entra -Scopes 'Organization.Read.All'
Get-EntraPartnerInformation
PartnerCompanyName       : Contoso
companyType              :
PartnerSupportTelephones : {12123, +1911}
PartnerSupportEmails     : {}
PartnerHelpUrl           : http://www.help.contoso.com
PartnerCommerceUrl       :
ObjectID                 : bbbbbbbb-1111-2222-3333-cccccccccccc
PartnerSupportUrl        :

This command retrieves partner-specific information.

Example 2: Retrieve partner information with specific TenantId

Connect-Entra -Scopes 'Organization.Read.All'
$tenantId = (Get-EntraContext).TenantId
Get-EntraPartnerInformation -TenantId $tenantId
PartnerCompanyName       : Contoso
companyType              :
PartnerSupportTelephones : {12123, +1911}
PartnerSupportEmails     : {}
PartnerHelpUrl           : http://www.help.contoso.com
PartnerCommerceUrl       :
ObjectID                 : bbbbbbbb-1111-2222-3333-cccccccccccc
PartnerSupportUrl        :

This command retrieves partner-specific information.

-TenantId Parameter specifies unique ID of the tenant to perform the operation on.

Parameters

-TenantId

The unique ID of the tenant to perform the operation on. This parameter provides compatibility with Azure AD and MSOnline for partner scenarios. TenantID is the signed-in user's tenant ID.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetById
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Company level information outputs