Skip to content
Open
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
@@ -0,0 +1,69 @@
# Test-Cluster Administrative Privileges Failure During Deployment

<table border="1" cellpadding="6" cellspacing="0" style="border-collapse:collapse; margin-bottom:1em;">
<tr><th style="text-align:left; width: 180px;">Component</th><td><strong>EnvironmentValidator - ValidateCluster</strong></td></tr>
<tr><th style="text-align:left; width: 180px;">Severity</th><td><strong>Critical - blocks deployment</strong></td></tr>
<tr><th style="text-align:left;">Applicable Scenarios</th><td><strong>Deployment</strong></td></tr>
</table>
Comment on lines +3 to +7
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What: The metadata table lists component/severity/scenario but omits affected versions (and any known fixed version), while the Prevention section only says “upcoming release”.
Why: Without version scope, readers can’t quickly determine if they’re impacted or whether upgrading would address the issue.
How: Add an “Affected Versions” row (and fixed version if known). If the exact version isn’t known, state the best available scope (e.g., “All versions prior to ” or “Unknown at time of writing”).

Copilot uses AI. Check for mistakes.

## Overview

During deployment, cluster validation may fail with an "administrative privileges" error when running `Test-Cluster` against one or more nodes. Despite the error message, this is not a permissions problem. The affected nodes were not properly rebooted after joining the domain, leaving their authentication in an incomplete state.

## Symptoms

The deployment fails during cluster validation with one of these error messages:

```
Failed to execute Test-Cluster: You do not have administrative privileges on the server <NodeName>
```

```
Access is denied
```

```
An error occurred opening cluster <NodeName>
```

## Root Cause

During the domain join phase of deployment, nodes must be rebooted for their Kerberos credentials to be fully registered in Active Directory. In some deployments, one or more nodes are not rebooted after domain join. When cluster validation later runs `Test-Cluster`, it cannot authenticate to those nodes using Kerberos, producing the "administrative privileges" error.

## Resolution

### Step 1: Reboot the affected node(s)

Reboot each node mentioned in the error message:

```powershell
Restart-Computer -ComputerName <FailingNodeName> -Force
```

Wait 2-3 minutes for the reboot to complete.

### Step 2: Confirm the reboot resolved the issue

From another node, verify you can connect to the rebooted node:

```powershell
Invoke-Command -ComputerName <FailingNodeName> -ScriptBlock { whoami }
```
Comment on lines +35 to +51
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What: Steps 1–2 rely on remote PowerShell connectivity to the failing node (Restart-Computer -ComputerName ... and Invoke-Command -ComputerName ...).
Why: In the scenario described, authentication/remoting to the node may be the broken part, so these remote commands can fail and leave users without a workable path.
How: Add a fallback path to reboot/validate locally on the node or via out-of-band management (iLO/iDRAC/Hyper-V console), and clarify any prerequisites if remoting is expected to work.

Copilot uses AI. Check for mistakes.

If this returns a username successfully, the issue is resolved.

### Step 3: Resume deployment

Resume the deployment from the Azure portal by navigating to the deployment and selecting **Resume** or **Retry**.

You can also verify cluster validation manually before resuming:

```powershell
Test-Cluster -Node <Node1>, <Node2>
```

This should now succeed without "administrative privileges" errors.

## Prevention

This issue is being addressed in an upcoming release.
2 changes: 2 additions & 0 deletions TSG/EnvironmentValidator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ This folder contains the TSG's related to Environment Validators.
* [Known Issue: WinRM cannot process the configuration request](Known-Issue-WinRM-cannot-process-the-configuration-request.md)
* [Known Issue: This module requires Az.Accounts version 5.3.0](Known-Issue-This-module-requires-Az-Accounts-version-5-3-0.md)
* [Known Issue: Pre-Update Health Check fails with AllResults property error](Known-Issue-AllResults-property-error-during-Pre-Update-Health-Check.md)
* [Known Issue: Test-Cluster Administrative Privileges Failure During Deployment](Known-Issue-Test-Cluster-Administrative-Privileges-Failure.md)

## Networking

For Network Environment Validator TSGs, see [Networking/README.md](Networking/README.md).