Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-EntraDomainServiceConfigurationRecord

Gets the domain's service configuration records from the serviceConfigurationRecords navigation property.

Syntax

Default (Default)

Get-EntraDomainServiceConfigurationRecord

 -Name <String>
 [-Property <String[]>]
 [<CommonParameters>]

Description

Gets the domain's service configuration records from the serviceConfigurationRecords navigation property.

After you have successfully verified the ownership of a domain and you have indicated what services you plan to use with the domain, you can request Microsoft Entra ID to return you a set of DNS records which you need to add to the zone file of the domain so that the services can work properly with your domain.

In delegated scenarios, the signed-in user must have either a supported Microsoft Entra role or a custom role with the necessary permissions. The minimum roles required for this operation are:

  • Domain Name Administrator
  • Global Reader

Examples

Example 1: Retrieve domain service configuration records by Name

Connect-Entra -Scopes 'Domain.Read.All'
Get-EntraDomainServiceConfigurationRecord -Name 'test.mail.contoso.com'
Id IsOptional Label RecordType SupportedService Ttl
-- ---------- ----- ---------- ---------------- ---
aaaa0000-bb11-2222-33cc-444444dddddd False test.mail.contoso.com Mx Email 3600
bbbb1111-cc22-3333-44dd-555555eeeeee False test.mail.contoso.com Txt Email 3600
cccc2222-dd33-4444-55ee-666666ffffff False autodiscover.test.mail.contoso.com CName Email 3600
dddd3333-ee44-5555-66ff-777777aaaaaa False msoid.test.mail.contoso.com CName OrgIdAuthentication 3600
eeee4444-ff55-6666-77aa-888888bbbbbb False enterpriseregistration.test.mail.contoso.com CName Intune 3600
ffff5555-aa66-7777-88bb-999999cccccc False enterpriseenrollment.test.mail.contoso.com CName Intune 3600

This example shows how to retrieve the Domain service configuration records for a domain with the given name.

  • -Name parameter specifies domain name for which the domain service configuration records are to be retrieved.

Parameters

-Name

The name of the domain for which the domain service configuration records are to be retrieved.

Parameter properties

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

Parameter sets

-Property

Specifies properties to be returned.

Parameter properties

Type:

System.String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:Select

Parameter sets

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.

Inputs

System.String

Outputs

System.Object


Feedback

Was this page helpful?