Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,6 @@
# ------------------------------------------------------------------------------

function Get-EntraBetaPartnerInformation {
<#
.SYNOPSIS
Retrieves company-level information for partners.

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

.PARAMETER TenantId
The unique ID of the tenant to perform the operation on. If this is not provided, then the value will default to the tenant of the current user. This parameter is only applicable to partner users.

.PARAMETER <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).


.OUTPUTS
The cmdlet will return the following company level information:
- CompanyType: The type of this company (can be partner or regular tenant)
- DapEnabled: Flag to determine if the partner has delegated admin privileges.
- PartnerCompanyName: The name of the company
- PartnerSupportTelephones: Support Telephone numbers for the partner.
- PartnerSupportEmails: Support E-Mail address for the partner.
- PartnerCommerceUrl: URL for the partner's commerce web site.
- PartnerSupportUrl: URL for the Partner's support website.
- PartnerHelpUrl: URL for the partner's help web site.

#>
[CmdletBinding(DefaultParameterSetName = 'GetQuery')]
param (
[Parameter(ParameterSetName = "GetById", ValueFromPipelineByPropertyName = $true)][System.Guid] $TenantId
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
---
title: Get-EntraBetaPartnerInformation
description: This article provides details on the Get-EntraBetaPartnerInformation command.

ms.topic: reference
ms.date: 09/25/2024
ms.author: eunicewaweru
ms.reviewer: stevemutungi
manager: CelesteDG
author: msewaweru

external help file: Microsoft.Graph.Entra.Beta-help.xml
Module Name: Microsoft.Graph.Entra.Beta
online version: https://learn.microsoft.com/powershell/module/Microsoft.Graph.Entra.Beta/Get-EntraBetaPartnerInformation
Expand All @@ -9,42 +19,86 @@ schema: 2.0.0
# Get-EntraBetaPartnerInformation

## Synopsis

Retrieves company-level information for partners.

## Syntax

### GetQuery (Default)
```
Get-EntraBetaPartnerInformation [<CommonParameters>]

```powershell
Get-EntraBetaPartnerInformation
[<CommonParameters>]
```

### GetById
```
Get-EntraBetaPartnerInformation [-TenantId <Guid>] [<CommonParameters>]

```powershell
Get-EntraBetaPartnerInformation
[-TenantId <Guid>]
[<CommonParameters>]
```

## Description
The Get-EntraBetaPartnerInformation cmdlet is used to retrieve partner-specific information.

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

## Examples

### Example 1
### Example 1: Retrieve partner information

```powershell
Connect-Entra -Scopes 'Organization.Read.All'
Get-EntraBetaPartnerInformation
```

```Output
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

```powershell
PS C:\> {{ Add example code here }}
Connect-Entra -Scopes 'Organization.Read.All'
$tenantId = (Get-EntraContext).TenantId
Get-EntraBetaPartnerInformation -TenantId $tenantId
```

```Output
PartnerCompanyName : Contoso
companyType :
PartnerSupportTelephones : {12123, +1911}
PartnerSupportEmails : {}
PartnerHelpUrl : http://www.help.contoso.com
PartnerCommerceUrl :
ObjectID : bbbbbbbb-1111-2222-3333-cccccccccccc
PartnerSupportUrl :
```

{{ Add example description here }}
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.
If this is not provided, then the value will default to the tenant of the current user.
This parameter is only applicable to partner users.

```yaml
Type: Guid
Type: System.String
Parameter Sets: GetById
Aliases:

Expand All @@ -56,21 +110,26 @@ Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## Inputs

## Outputs

### The cmdlet will return the following company level information:
### - CompanyType: The type of this company (can be partner or regular tenant)
### - DapEnabled: Flag to determine if the partner has delegated admin privileges.
### - PartnerCompanyName: The name of the company
### - PartnerSupportTelephones: Support Telephone numbers for the partner.
### - PartnerSupportEmails: Support E-Mail address for the partner.
### - PartnerCommerceUrl: URL for the partner's commerce web site.
### - PartnerSupportUrl: URL for the Partner's support website.
### - PartnerHelpUrl: URL for the partner's help web site.
### Company level information outputs

- CompanyType: The type of this company (can be partner or regular tenant)
- DapEnabled: Flag to determine if the partner has delegated admin privileges
- PartnerCompanyName: The name of the company
- PartnerSupportTelephones: Support Telephone numbers for the partner
- PartnerSupportEmails: Support E-Mail address for the partner
- PartnerCommerceUrl: URL for the partner's commerce web site
- PartnerSupportUrl: URL for the Partner's support website
- PartnerHelpUrl: URL for the partner's help web site

## Notes

## Related Links

[Set-EntraBetaPartnerInformation](Set-EntraBetaPartnerInformation.md)
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
title: Get-EntraPartnerInformation
description: This article provides details on the Get-EntraPartnerInformation command.


ms.topic: reference
ms.date: 06/26/2024
ms.date: 09/25/2024
ms.author: eunicewaweru
ms.reviewer: stevemutungi
manager: CelesteDG
Expand All @@ -20,56 +19,86 @@ schema: 2.0.0
# Get-EntraPartnerInformation

## Synopsis

Retrieves company-level information for partners.

## Syntax

### GetQuery (Default)

```powershell
Get-EntraPartnerInformation
Get-EntraPartnerInformation
[<CommonParameters>]
```

### GetById

```powershell
Get-EntraPartnerInformation
[-TenantId <Guid>]
Get-EntraPartnerInformation
[-TenantId <Guid>]
[<CommonParameters>]
```

## Description
The Get-EntraBetaPartnerInformation cmdlet is used to retrieve partner-specific information.

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

```powershell
PS C:\> Get-EntraPartnerInformation
Connect-Entra -Scopes 'Organization.Read.All'
Get-EntraPartnerInformation
```

```output
```Output
PartnerCompanyName : Contoso
companyType :
PartnerSupportTelephones : {12123, +1911}
PartnerSupportEmails : {}
PartnerHelpUrl : http://www.help.contoso.com
PartnerCommerceUrl :
ObjectID : d5aec55f-2d12-4442-8d2f-ccca95d4390e
ObjectID : bbbbbbbb-1111-2222-3333-cccccccccccc
PartnerSupportUrl :
```

This command retrieves partner-specific information.

### Example 2: Retrieve partner information with specific TenantId

```powershell
Connect-Entra -Scopes 'Organization.Read.All'
$tenantId = (Get-EntraContext).TenantId
Get-EntraPartnerInformation -TenantId $tenantId
```

```Output
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.
If this isn't provided, then the value defaults to the tenant of the current user.
If this is not provided, then the value will default to the tenant of the current user.
This parameter is only applicable to partner users.

```yaml
Type: Guid
Type: System.String
Parameter Sets: GetById
Aliases:

Expand All @@ -81,20 +110,26 @@ Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

This cmdlet supports the common parameters: `-Debug`, `-ErrorAction`, `-ErrorVariable`, `-InformationAction`, `-InformationVariable`, `-OutVariable`, `-OutBuffer`, `-PipelineVariable`, `-Verbose`, `-WarningAction`, and `-WarningVariable`. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## Inputs

## Outputs

### The cmdlet returns the following company level information:
### - CompanyType: The type of this company (can be partner or regular tenant)
### - PartnerCompanyName: The name of the company
### - PartnerSupportTelephones: Support Telephone numbers for the partner.
### - PartnerSupportEmails: Support E-Mail address for the partner.
### - PartnerCommerceUrl: URL for the partner's commerce web site.
### - PartnerSupportUrl: URL for the Partner's support website.
### - PartnerHelpUrl: URL for the partner's help web site.
### Company level information outputs

- CompanyType: The type of this company (can be partner or regular tenant)
- DapEnabled: Flag to determine if the partner has delegated admin privileges
- PartnerCompanyName: The name of the company
- PartnerSupportTelephones: Support Telephone numbers for the partner
- PartnerSupportEmails: Support E-Mail address for the partner
- PartnerCommerceUrl: URL for the partner's commerce web site
- PartnerSupportUrl: URL for the Partner's support website
- PartnerHelpUrl: URL for the partner's help web site

## Notes

## Related Links

[Set-EntraPartnerInformation](Set-EntraPartnerInformation.md)