Trying to deploy AVD but the operations fails with the message: reported a failure when processing extension 'Microsoft.PowerShell. DSC'

ALBERT SITATI 25 Reputation points
2023-07-22T11:39:23.04+00:00
"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'Microsoft.PowerShell.DSC' (publisher 'Microsoft.Powershell' and type 'DSC'). Error message: \\\"The DSC Extension failed to execute: Error downloading https://wvdportalstorageblob.blob.core.windows.net/galleryartifacts/Configuration_1.0.02384.163.zip after 17 attempts: Unable to connect to the remote server.\\r\\nMore information about the failure can be found in the logs located under 'C:\\\\WindowsAzure\\\\Logs\\\\Plugins\\\\Microsoft.Powershell.DSC\\\\2.83.5' on the VM.\\\". More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot. \"\r\n      }\r\n    ]\r\n  }\r\n}"
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,317 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Durkan 12,281 Reputation points MVP
    2023-07-22T14:16:37.8566667+00:00

    Hi

    Looking at this error:

    "Error downloading https://wvdportalstorageblob.blob.core.windows.net/galleryartifacts/Configuration_1.0.02384.163.zip after 17 attempts: Unable to connect to the remote server."

    It looks like there is an outbound connectivity problem reaching that destination.

    Do you have NSG's applied to the AVD Subnet that is blocking outbound traffic, or is there an Azure Firewall deployed where you need to open outbound ports?

    For info, the list of required Ports/URL's is here:

    https://learn.microsoft.com/en-us/azure/virtual-desktop/safe-url-list?tabs=azure

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful