Active Directory Authentication - Portal Deployment
DOCUMENT CATEGORY: Runbook
SCOPE: Portal-based cluster deployment with Active Directory authentication
PURPOSE: Deploy Azure Local cluster using domain accounts and AD-managed identity
MASTER REFERENCE: Microsoft Learn — Deploy Azure Local via Portal
[](https://Azure Local Cloud.com)
Status: Active
Overview
Active Directory deployment is the Azure Local Cloud standard for Azure Local clusters. Authentication is managed through domain accounts, with the Life Cycle Manager (LCM) service account pre-created in AD. Nodes are either left in a workgroup (the default: the wizard joins them to the domain automatically during deployment) or, starting with Azure Local 2604, domain joined before deployment as an optional path (see Optional: domain join before deployment).
Active Directory authentication is the recommended and fully supported Azure Local Cloud deployment method for Azure Local. All AD object prerequisites were completed in Phase 02 (Active Directory Configuration). If that work is not done, stop and complete Phase 02 first.
Prerequisites
All items below must be complete before starting the portal wizard. These were completed in earlier phases — this is a verification checklist only.
AD Prerequisites (Phase 02)
| Requirement | Description | Validation |
|---|---|---|
| AD objects pre-created | New-HciAdObjectsPreCreation run successfully | Objects visible in OU=AzureLocal |
| LCM service account | svc-azl-deploy@<DOMAIN> exists, password ≥14 chars | Get-ADUser svc-azl-deploy |
| Computer accounts | Pre-created computer objects for each node in designated OU | Get-ADComputer -SearchBase <OU> |
| Group memberships | LCM account in all required AD groups | Get-ADGroupMember |
Node Prerequisites (Phase 04)
| Requirement | Description | Validation |
|---|---|---|
| Domain membership | Default: nodes are in a workgroup and the wizard joins them to the domain during deployment. Optional (2604 or later): nodes already domain joined, with the deployment user in the local Administrators group on each node | (Get-CimInstance Win32_ComputerSystem).PartOfDomain is False (default) or True (optional pre-join); then Get-LocalGroupMember -Group Administrators shows the deployment user if pre-joined |
| Arc registered | All nodes visible in Azure Arc > Servers | Portal: Arc > Servers |
| DNS resolves domain | All nodes can resolve the AD domain FQDN | Resolve-DnsName corp.azurelocal.cloud |
| DC accessible | Domain controller reachable on port 389 from node management IPs | Test-NetConnection <DC_IP> -Port 389 |
| WinRM enabled | Remote management enabled on all nodes | Test-WSMan <NODE_IP> |
Microsoft Learn 2610 states: "Starting with version 2604, domain joining before deployment is supported. If you choose to domain join, you must add the deployment user to the local Administrators group. If you don't domain join beforehand, the machines are automatically joined to a domain during the Deployment via Azure portal."
- Default path: leave the nodes in a workgroup. The wizard performs the domain join.
- Pre-join path: follow Optional: domain join before deployment on every node. Mixing is not documented by Learn: use the same path on all nodes.
- The Environment Checker software validator is run with
-Exclude Test-IsNotPartofDomainso a pre-joined node does not fail that check.
Per Microsoft Learn 2610, starting with software version 12.2512 new deployments no longer create a Microsoft Entra ID application (service principal) for the cluster. The cluster uses a system-assigned managed identity to authenticate with Azure. For earlier deployments the Entra application is no longer used and can be deleted after you confirm event ID 609 in the Microsoft-AzureStack-HCI/Admin log on the machines (registration context v4). Azure Local does not support deploying with an existing Azure Key Vault that has Private Endpoints enabled.
Azure Prerequisites
| Requirement | Description | Validation |
|---|---|---|
| Subscription | Active subscription; the deploying user is a User Access Administrator and a Contributor on the subscription | Get-AzSubscription |
| Resource group roles | On the Arc resource group the deploying user has Azure Stack HCI Administrator, Reader, Key Vault Data Access Administrator, Key Vault Secrets Officer, Key Vault Contributor and Storage Account Contributor, plus Azure Connected Machine Onboarding and Azure Connected Machine Resource Administrator | Resource group > Access control (IAM) |
| Resource group | Dedicated RG for the cluster | Created in Azure Portal |
| Arc registration | All nodes Arc-registered (Phase 04) | Azure Portal > Arc > Servers |
Variables from variables.yml
| Path | Type | Description |
|---|---|---|
compute.arm_deployment.cluster_name | string | Cluster name |
azure_platform.region | string | Azure region |
identity.ad.domain_fqdn | string | AD domain FQDN |
identity.ad.organizational_unit | string | AD OU distinguished name |
identity.accounts.account_lcm_username | string | LCM service account |
compute.arm_deployment.network_intents[*].intent_adapters | array | Network adapter names |
compute.arm_deployment.ip_allocation.starting_ip | string | IP pool start |
compute.arm_deployment.ip_allocation.ending_ip | string | IP pool end |
compute.arm_deployment.subnet_mask | string | Subnet mask |
compute.arm_deployment.default_gateway | string | Default gateway |
compute.arm_deployment.dns_servers | array | DNS servers |
storage_accounts.storage_accounts.cluster_witness.* | object | Witness storage account |
Portal Deployment
Task 1: Navigate to Azure Local
- Open Azure Portal
- Search for "Azure Local"
- Select Azure Local from results
- Click + Create
Task 2: Basics Configuration
| Field | Value | Source |
|---|---|---|
| Subscription | Select subscription | User Access Administrator and Contributor on the subscription |
| Resource group | Select or create | Dedicated RG for cluster |
| Cluster name | <CLUSTER_NAME> | compute.arm_deployment.cluster_name |
| Region | <AZURE_REGION> | azure_platform.azure_tenants[*].aztenant_location |
Add Arc-registered machines:
- Click Add machines
- Select all Arc-registered nodes from Phase 04
- Click Add
- Allow time for Arc extension installation to complete before proceeding
Authentication selection:
Under the Identity section of the Basics tab, select Active Directory as the authentication type. Domain credentials are entered in Task 4 below.
Task 3: Configuration
- Select New configuration (manual configuration)
- Do NOT use an existing template unless one has been explicitly reviewed and approved for this environment
Task 4: Basics — Domain Credentials
The domain credential fields appear in the Basics tab after selecting Active Directory authentication. There is no separate Identity tab.
| Field | Value | Source |
|---|---|---|
| Authentication type | Active Directory | |
| Domain FQDN | corp.azurelocal.cloud | identity.ad.domain_fqdn |
| Computer OU | OU=AzureLocal,OU=Servers,DC=corp,DC=azurelocal,DC=cloud | identity.ad.organizational_unit |
| Deployment user | svc-azl-deploy@corp.azurelocal.cloud | identity.accounts.account_lcm_username |
| Deployment password | [Enter service account password] | identity.accounts.account_lcm_password (keyvault ref) |
The deployment account password must be at least 14 characters. This is a Microsoft hard requirement for the LCM service account. A password shorter than 14 characters will fail portal validation with no clear error message.
The OU path entered here must exactly match the OU used by New-HciAdObjectsPreCreation in Phase 02. The pre-created computer account objects for each node must reside in this OU at the time the wizard runs. Verify with Get-ADComputer -SearchBase "<OU>" before proceeding.
Task 5: Networking Configuration
Storage connectivity:
| Option | When to use |
|---|---|
| Network switch for storage traffic | 3+ node clusters (recommended) |
| No switch for storage | 1–2 node clusters only (switchless) |
Network intents:
The number of intents, traffic type assignments, and adapter bindings configured here must match the design from your planning and discovery sessions, as captured in variables.yml under compute.arm_deployment.network_intents. Do not assume a specific number of intents or a fixed layout.
Typical layouts:
| Layout | Intent | Traffic types |
|---|---|---|
| 2-intent | Management + Compute | Management, Compute |
| 2-intent | Storage | Storage |
| 3-intent | Management | Management |
| 3-intent | Compute | Compute |
| 3-intent | Storage | Storage |
For adapter assignments for each intent, refer to compute.arm_deployment.network_intents[*].intent_adapters in your variables.yml.
IP allocation:
| Setting | Value | Source |
|---|---|---|
| Starting IP | First available management IP | compute.arm_deployment.ip_allocation.starting_ip |
| Ending IP | Last available management IP | compute.arm_deployment.ip_allocation.ending_ip |
| Subnet mask | e.g., 255.255.255.0 | compute.arm_deployment.subnet_mask |
| Default gateway | Gateway IP | compute.arm_deployment.default_gateway |
| DNS servers | Primary, Secondary | compute.arm_deployment.dns_servers |
A minimum of 6 consecutive IPs are required for cluster infrastructure (cluster IP, Arc Resource Bridge IP, etc.). Individual node management IPs are separate — do not include them in this pool.
Customize network settings (adapter property overrides):
For each network intent you can select Customize network settings. Microsoft Learn 2610 lists these portal options:
| Setting | Options |
|---|---|
| Storage traffic priority | Priority Flow Control priority where Data Center Bridging (DCB) is used |
| System traffic priority | 5, 6 or 7 |
| Storage traffic bandwidth reservation | Percentage allocated to storage traffic |
| Jumbo frame size (bytes) | 1514, 4088 or 9014 |
| RDMA protocol | iWARP, RoCE, RoCEv2, or disabled |
Learn does not state per-intent defaults for these values (for example RDMA off and jumbo 1514 on management and compute, RDMA and jumbo only on storage). Treat any such default as lab-verified only and confirm it on a 2610 deployment with Get-NetIntent, Get-NetAdapterAdvancedProperty -RegistryKeyword *JumboPacket and Get-NetAdapterRdma. Change adapter properties only on OEM guidance. Guest RDMA is not supported on Azure Local. These settings do not apply to low capacity class devices. Portal deployment does not let you specify your own storage intent IPs; use ARM template deployment for custom storage IPs.
For AD deployments, the DNS servers entered here must be able to resolve identity.ad.domain_fqdn. Nodes query these DNS servers during the domain join step of deployment. If DNS cannot resolve the domain, deployment will fail at domain join.
Task 6: Management Configuration
| Setting | Value | Source |
|---|---|---|
| Custom location name | <CLUSTER_NAME>-location | For Arc VM management |
| Cloud witness storage | Create or select storage account | For cluster quorum |
Per Microsoft Learn 2610, the portal Basics tab asks you to select an existing Key Vault or create a new one to store the system's secrets (such as cryptographic keys and local administrator credentials). A Key Vault is therefore part of AD deployments too. The wizard layout can differ between portal builds (lab-verified only), so confirm where your build shows the selector. Do not select an existing Key Vault that has Private Endpoints enabled: that is not supported.
Task 7: Security Configuration
| Setting | Recommendation | Notes |
|---|---|---|
| BitLocker for data volumes | Enabled | Encrypt all data volumes |
| BitLocker for OS boot | Enabled | Encrypt OS volumes |
| Credential Guard | Enabled | Protect domain credentials on nodes |
| WDAC | Enabled | Application control policy |
| Drift control | Enabled | Monitor security baseline |
| Side channel mitigation | Enabled | Protect against side-channel attacks |
| SMB signing | Required | Secure SMB traffic |
| SMB cluster encryption | Enabled | Encrypt intra-cluster traffic |
Select Recommended security settings to apply all settings at once.
Task 8: Advanced Configuration
Volume creation strategy:
- ✓ Create workload volumes and required infrastructure volumes (Recommended)
Tags:
| Tag | Value |
|---|---|
Environment | Production / Development |
DeploymentType | ActiveDirectory |
DeploymentDate | YYYY-MM-DD |
Task 9: Validation
- Click Start validation
- Wait approximately 15–20 minutes for all checks to complete
- Do NOT click "Try again" while validation is running — wait for it to complete or fail before taking any action
While validation runs, start Monitor-Validation.ps1 to see live step status and EnvironmentValidatorFull log output. It auto-exits when validation completes.
Validation checks:
| Check | Description | Action if failed |
|---|---|---|
| Connectivity | All nodes reachable | Verify network connectivity |
| Arc registration | Nodes registered with Arc | Verify Phase 04 completion |
| Domain accessibility | DC reachable from nodes | Test-NetConnection <DC_IP> -Port 389 |
| Storage | Disks available and healthy | Check physical disk health |
| Network | NICs available and configured | Verify NIC drivers and connectivity |
| Azure endpoints | Required endpoints accessible | Check firewall and proxy rules |
Resolve all errors before proceeding to Task 10. Warnings may be acknowledged but should be documented.
Task 10: Review + Create
- Review all configuration settings on the summary page
- Confirm:
- All Arc-registered nodes are listed
- Authentication type shows Active Directory
- Domain FQDN and OU path are correct
- Management IP pool has 6+ IPs
- Storage adapters are configured
- Click Create
Deployment Progress
Estimated duration:
| Cluster size | Estimated time |
|---|---|
| Single machine | 1.5–2 hours |
| Two-node cluster | ~2.5 hours |
| Three+ node cluster | ~3 hours |
Deployment stages:
- Begin cloud deployment (45–60 min)
- Install Arc extensions
- Join nodes to domain
- Configure network intents
- Create storage pools and volumes
- Deploy Arc Resource Bridge
- Provision custom location
After clicking Create, start Monitor-Deployment.ps1 to track hierarchical step progress and stream OrchestratorFull logs in real time. Press Ctrl+C to exit at any time.
Monitor progress in Azure Portal > Resource Groups > Your RG > Deployments.
Post-Deployment Validation
Verify Azure resources
| Resource type | Count | Description |
|---|---|---|
| Machine — Azure Arc | 1 per node | Arc-connected machines |
| Azure Local instance | 1 | Cluster resource |
| Arc Resource Bridge | 1 | VM management bridge |
| Custom location | 1 | For Arc VM placement |
Verify cluster health
- Manual
- Orchestrated Script
- Standalone Script
# Verify nodes are domain-joined after deployment
Invoke-Command -ComputerName @("iic-01-n01","iic-01-n02","iic-01-n03") -ScriptBlock {
$cs = Get-WmiObject Win32_ComputerSystem
[PSCustomObject]@{
Node = $env:COMPUTERNAME
Domain = $cs.Domain
DomainJoined = $cs.PartOfDomain
}
} | Format-Table -AutoSize
# Verify cluster status
Get-Cluster | Format-List Name, QuorumType, QuorumResourceName
# Verify all nodes online
Get-ClusterNode | Format-Table Name, State, NodeWeight
# Verify Storage Spaces Direct health
Get-StoragePool | Format-Table FriendlyName, HealthStatus, OperationalStatus
# Verify volumes
Get-Volume |
Where-Object FileSystemLabel -match 'ClusterPerf|UserStorage' |
Format-Table FileSystemLabel, HealthStatus, OperationalStatus, Size
Reads cluster node IPs and credentials from variables.yml. Resolves credentials from Key Vault. Logs results to ./logs/.
Script: scripts/deploy/04-cluster-deployment/phase-05-cluster-deployment/local-identity/task-03-verify-deployment-completion/powershell/Invoke-VerifyClusterHealth-Orchestrated.ps1
.\scripts\deploy\04-cluster-deployment\phase-05-cluster-deployment\local-identity\task-03-verify-deployment-completion\powershell\Invoke-VerifyClusterHealth-Orchestrated.ps1 `
-ConfigPath "config/variables.yml"
WhatIf (dry run, no remote connections):
.\scripts\deploy\04-cluster-deployment\phase-05-cluster-deployment\local-identity\task-03-verify-deployment-completion\powershell\Invoke-VerifyClusterHealth-Orchestrated.ps1 `
-ConfigPath "config/variables.yml" `
-WhatIf
No variables.yml required. Edit the #region CONFIGURATION block with node IPs before running.
Script: scripts/deploy/04-cluster-deployment/phase-05-cluster-deployment/local-identity/task-03-verify-deployment-completion/powershell/Test-ClusterHealth-Standalone.ps1
# Open the script and update these values in #region CONFIGURATION:
$NodeIPs = @(
"REPLACE_NODE_01_IP"
"REPLACE_NODE_02_IP"
"REPLACE_NODE_03_IP"
)
.\scripts\deploy\04-cluster-deployment\phase-05-cluster-deployment\local-identity\task-03-verify-deployment-completion\powershell\Test-ClusterHealth-Standalone.ps1
RDP is disabled by default on all cluster nodes after deployment completes. To re-enable on a specific node, run this on the node (or via PSRemoting):
Enable-ASRemoteDesktop
This applies to all Azure Local deployments regardless of identity type.
Source: MS Learn — Deploy via Portal
Troubleshooting
| Issue | Cause | Resolution |
|---|---|---|
| Domain join fails | DC unreachable or wrong credentials | Test-NetConnection <DC_IP> -Port 389 + verify LCM account password |
| LCM password rejected by portal | Password < 14 characters | Reset service account password to ≥14 chars, retry wizard |
| Computer account conflict | Stale pre-existing account in OU | Delete stale computer object from OU, re-run validation |
| Node not domain-joined after deployment | DNS issue during join | Check DNS server setting in Task 5 resolves the AD domain |
| Validation timeout | Azure endpoint connectivity | Check firewall rules for required Azure endpoints |
| Arc extension install fails | Arc agent issue on node | Reinstall Azure Connected Machine agent on affected node |
| Storage configuration fails | Unhealthy physical disk | Get-PhysicalDisk on the affected node |
Collect deployment logs:
Get-ChildItem "C:\CloudDeployment\Logs" -Recurse |
Sort-Object LastWriteTime -Descending |
Select-Object -First 10 Name, LastWriteTime, Length |
Format-Table -AutoSize
Next Steps
| Deployment status | Next action |
|---|---|
| Successful | Proceed to Phase 16: Post-Deployment |
| Failed | Review troubleshooting section and deployment logs; re-run validation |
References:
- Microsoft Learn — Deploy Azure Local via Portal
- Microsoft Learn — AD Deployment Prerequisites
- Microsoft Learn — Deployment Troubleshooting
Version Control
- Created: 2026-01-30 by Azure Local Cloud
- Last Updated: 2026-03-09 by Azure Local Cloud
- Version: 1.1.0
- Tags: azure-local, active-directory, portal, runbook
- Keywords: active directory, domain deployment, portal deployment, azure local cluster, LCM user
- Author: Azure Local Cloud