Azure / Azure/azure-quickstart-templates

Active Directory configuration fails when processing DSC Extension "CreateADForest"

Open
#2,781 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

[active-directory-new-domain-ha-2-dc](https://github.com/Azure/azure-quickstart-templates/tree/master/active-directory-new-domain-ha-2-dc)

### Issue Details
Deployment fails when processing DSC Extension CreateADForest.

Full Error Text:
{ "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "VMExtensionProvisioningError", "message": "VM has reported a failure when processing extension 'CreateADForest'. Error message: \"DSC Configuration 'CreateADPDC' completed with error(s). Following are the first few: Interface \"Ethernet\" is not available. Please select a valid interface and try again. PowerShell DSC resource MSFT_xDNSServerAddress failed to execute Test-TargetResource functionality with error message: The running command stopped because the preference variable \"ErrorActionPreference\" or common parameter is set to Stop: No matching MSFT_DNSClientServerAddress objects found by CIM query for instances of the ROOT/StandardCimv2/MSFT_DNSClientServerAddress class on the CIM server: SELECT * FROM MSFT_DNSClientServerAddress WHERE ((InterfaceAlias LIKE 'Ethernet')) AND ((AddressFamily = 2)). Verify query parameters and retry. The SendConfigurationApply function did not succeed.\"." } ] } }

### Repro steps
1. Deploy Template with all the defaults to West US, just adding values for required fields.
2. Error encountered after about 5 minutes.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the active-directory-new-domain-ha-2-dc template linked in the issue and the CreateADForest DSC extension configuration. Reproduce the default deployment in West US, then investigate why the xDNSServerAddress query cannot find the Ethernet interface. Done means the template deploys successfully without the reported extension error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
authentication, cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.