Partner-Center-PowerShell icon indicating copy to clipboard operation
Partner-Center-PowerShell copied to clipboard

Get-PartnerCustomerCompanyProfile include initial domain

Open mprentice22153 opened this issue 4 years ago • 0 comments

Feature Request

Get-PartnerCustomerCompanyProfile provides some good basic details about the tenant. One of the details is "Domain". It appears that setting is the domain name that is toggled as the Default Domain within the tenant. For some customers it is domain.com, for others it is tenantdomain.onmicrosoft.com.

Describe the solution you would like I would like to see an additional field included in the output called "InitialDomain" or "TenantDomain" and have it be the true, isInitial domain name for the tenant.

Describe alternatives you have considered This option does work: (get-msoldomain -TenantId <customerID> |where {$_.isInitial}).name however, this requires Connect-MSOLService to obtain the value. This can also be done using Get-AzureADDomain but again requires another connection.

Thank you for all the work on this system. It is greatly appreciated.

mprentice22153 avatar Apr 03 '20 21:04 mprentice22153