Azure Extension for SQL Server (WindowsAgent.SqlServer) stuck in Creating for more than 5 hours on Azure Arc-enabled SQL Server 2025

Bezerra, Itajiba 46 Reputation points
2026-11-05T16:50:30.9566667+00:00

We are experiencing an issue deploying the Azure Extension for SQL Server (WindowsAgent.SqlServer) on an Azure Arc-enabled machine running SQL Server 2025.

Environment

Arc-enabled machine: U-GWGQ654

Resource group: rg-itajibabezerra-9239

Azure region: Australia East

Operating system: Windows 11 Enterprise

SQL Server: SQL Server 2025

SQL instance: MSSQLSERVER

Extension: Microsoft.AzureData.WindowsAgent.SqlServer

Extension version being deployed: 1.1.3579.481

Previous locally installed extension version: 1.1.3453.436

Problem

We need to enable Use a primary managed identity for the SQL Server instance so that SQL Server 2025 can use the Arc machine's system-assigned managed identity.

In Microsoft Entra ID and Purview, I can select Use a primary managed identity, but the Save button cannot be used because Azure displays the warning:

Azure extension for SQL Server is currently processing a request. Values below may be incorrect. Please wait until the agent is done before continuing.

The WindowsAgent.SqlServer extension remains in Creating state for several hours.

The latest attempt has now remained in Creating for more than 5 hours.

The Azure portal deployment also reports:

The resource provision operation did not complete within the allowed timeout period.

Code: ResourceDeploymentFailure

Target:

/subscriptions/<subscription ID>/resourceGroups/rg-itajibabezerra-9239/providers/Microsoft.HybridCompute/machines/U-GWGQ654/extensions/WindowsAgent.SqlServer

Troubleshooting already performed

  1. Verified Azure Arc connectivity

On U-GWGQ654, we ran:

azcmagent check

All tested core Azure Arc endpoints were reachable, including:

https://agentserviceapi.guestconfiguration.azure.com

https://australiaeast-gas.guestconfiguration.azure.com

https://gbl.his.arc.azure.com

https://login.microsoftonline.com

https://management.azure.com

https://pas.windows.net

All reported:

Reachable: true

TLS: TLS 1.3

Proxy: not used

We also tested:

Test-NetConnection management.azure.com -Port 443

Result:

TcpTestSucceeded : True

Therefore, there is no evidence of a general outbound Azure Arc network/firewall connectivity problem.

  1. Verified Arc and SQL extension services

The Arc extension service is running:

Name : ExtensionService

Status : Running

StartType : Automatic

The SQL Server extension service was also running before the extension was removed:

Name : SqlServerExtension

DisplayName : Microsoft Sql Server Extension Service

Status : Running

StartType : Automatic

  1. Verified SQL Server extension operation locally

unifiedagent.log showed:

SQL connection test of instance MSSQLSERVER is True.

It also showed:

Plugin status: {"State":"Running","MetricsUploadStatus":"OK"}

and repeatedly reported successful extension status:

status:"success"

code:0

WorkloadState=success

The extension could also successfully communicate with the local HIMDS endpoint and received HTTP 200 responses.

  1. Identified extension version mismatch

Azure was reporting:

WindowsAgent.SqlServer

typeHandlerVersion: 1.1.3579.481

provisioningState: Creating

However, the locally installed extension was:

C:\Packages\Plugins\Microsoft.AzureData.WindowsAgent.SqlServer\1.1.3453.436

Only the following version was present under the local Plugins directory:

1.1.3453.436

The Guest Configuration extension logs contained directories for:

1.1.3394.392

1.1.3453.436

There was no local directory or log entry for version 1.1.3579.481.

A recursive search under:

C:\ProgramData\GuestConfig

for:

1.1.3579.481

returned no results.

This suggested that Azure had registered an upgrade/deployment request for 1.1.3579.481, but the requested extension version was not reaching/installing on the Arc machine.

  1. Removed the stuck extension following Microsoft guidance

Because the extension had remained in Creating for an extended period, we followed Microsoft's documented procedure for a SQL Server Azure Arc extension stuck in Creating/Deleting.

The existing WindowsAgent.SqlServer extension was removed.

After deletion, this command:

az connectedmachine extension show \

--machine-name U-GWGQ654 \

--resource-group rg-itajibabezerra-9239 \

--name WindowsAgent.SqlServer

correctly returned:

ResourceNotFound

confirming that the extension resource had been deleted.

The Machine - Azure Arc resource itself remained registered and healthy.

  1. Attempted a clean reinstall

We then opened:

Azure Arc

→ Machines

→ U-GWGQ654

→ Extensions

→ Add

→ Azure extension for SQL Server

and initiated a new installation.

The installation again attempted to deploy:

WindowsAgent.SqlServer

Version: 1.1.3579.481

Automatic upgrade: Enabled

However, the new deployment failed with:

The resource provision operation did not complete within the allowed timeout period.

Code: ResourceDeploymentFailure

The extension nevertheless remains visible in the Azure portal with:

Status: Creating

Version: 1.1.3579.481

It has now remained in this state for more than 5 hours.

Current impact

Because WindowsAgent.SqlServer never reaches Succeeded, we cannot complete the SQL Server 2025 managed identity configuration.

Specifically:

SQL Server - Azure Arc

→ Microsoft Entra ID and Purview

→ Use a primary managed identity

cannot be successfully saved while Azure reports that the SQL extension is processing a request.

This prevents us from configuring the primary managed identity, which is required for our SQL Server 2025 workload to authenticate to Azure resources using Managed Identity.

Assistance requested

Please investigate why Microsoft.AzureData.WindowsAgent.SqlServer version 1.1.3579.481 does not complete provisioning on this Arc-enabled machine.

In particular, please help determine:

Why the extension remains in Creating even though the Arc agent has healthy Azure connectivity.

Why deployment of version 1.1.3579.481 does not appear to reach/install on the machine.

Whether there is a known issue with WindowsAgent.SqlServer version 1.1.3579.481.

Whether the Azure-side extension provisioning state or operation needs to be manually reset.

How we can successfully deploy the extension and subsequently enable Use a primary managed identity for the SQL Server 2025 instance.

We can provide unifiedagent.log, gc_ext.log, deployer logs, Arc agent diagnostics, and additional traces if required.

Azure Arc
Azure Arc

A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.

0 comments No comments

Answer accepted by question author
Vasileios Dionysopoulos 821 Reputation points
2026-11-06T10:09:56.17+00:00

Hello Bezerra,

Before the extension itself: check the OS requirement for your end goal

Your machine runs Windows 11 Enterprise. The managed identity documentation for SQL Server enabled by Azure Arc states:

"The managed identity setup for Microsoft Entra authentication is only supported with Azure Arc-enabled SQL Server 2025, running on Windows Server."

So even after the extension provisions, Use a primary managed identity isn't a supported configuration on a Windows 11 client. For that goal, you need SQL Server 2025 on Windows Server (Arc-enabled). The troubleshooting below still applies for getting the extension to Succeeded.

Why the extension stays in Creating

The key clue in your post: there's no local folder, log entry or GuestConfig trace for 1.1.3579.481 at all. That means the request never reached the machine's extension manager, or the manager refused it before downloading. The SQL extension itself never ran, so the SQL-side logs (unifiedagent.log) won't show anything for it. Look at the Arc agent layer instead, in this order.

1. Check whether the agent is allowed to install it

Run in an elevated prompt on the machine:

azcmagent version
azcmagent config list

Check:

  • config.mode must be full. In monitor mode, only monitoring/security extensions can be installed, and others are refused.
  • extensions.enabled must be true.
  • extensions.allowlist / extensions.blocklist must not exclude Microsoft.AzureData/WindowsAgent.SqlServer.

An extension that was installed before an allow/block list or monitor mode was set stays installed. New installs and upgrades are refused, though. That matches what you see: 1.1.3453.436 kept running, but 1.1.3579.481 never arrived. Also update the Connected Machine agent if it isn't current. Newer extension versions can depend on a newer agent.

2. Read the extension manager log, not the SQL log

C:\ProgramData\GuestConfig\ext_mgr_logs\gc_ext.log. Search for WindowsAgent.SqlServer around the time of the latest attempt. Look for blocked / not allowed, download, signature or timeout entries. If the manager received the request, the reason it stopped will be here.

With agent 1.41 or later you can also test the SQL extension's additional endpoints. azcmagent check without parameters only covers the core Arc endpoints:

azcmagent check --extensions sql --location australiaeast

3. Clean reset on both sides, then a pinned-version test

# Azure side: remove the stuck resource (as you did), then on the machine:
azcmagent extension list
azcmagent extension remove --name WindowsAgent.SqlServer   # removes leftover local state if listed
Restart-Service ExtensionService, GCArcService

Then reinstall with the previously working version, with auto-upgrade off:

az connectedmachine extension create \
  --machine-name <machine> --resource-group <rg> --location australiaeast \
  --name WindowsAgent.SqlServer --publisher Microsoft.AzureData --type WindowsAgent.SqlServer \
  --type-handler-version 1.1.3453.436 --enable-auto-upgrade false
  • The old version provisions: the problem is specific to delivering 1.1.3579.481 to this machine. Include that result in a support case, because it narrows things down a lot.
  • The old version also hangs in Creating: the problem is in the agent / extension manager (step 1 or 2), not the SQL extension.

4. Then the managed identity setting

Once the extension shows Succeeded, the portal warning ("currently processing a request") clears and the setting becomes editable. As noted at the top, though, the managed identity setup is supported only on Windows Server. The managed identity docs also require the latest Azure Extension for SQL Server, so pinning the old version is a diagnostic step only.

Note: the post includes the machine and resource group names. You may want to edit them out.

References: Extension security on Azure Arc-enabled servers (allowlist, monitor mode) · Troubleshoot Azure extension for SQL Server deployment · Managed identity for SQL Server enabled by Azure Arc

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Oldest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.