SOLVED
Home

Your deployment failed

%3CLINGO-SUB%20id%3D%22lingo-sub-583480%22%20slang%3D%22en-US%22%3EYour%20deployment%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-583480%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI've%20tried%20to%20deploy%20a%20simple%20single%20server%20%2F%20single%20tenant%20many%20times%20and%20I'm%20stuck%20with%20the%20error%20below.%20Any%20ideas%3F%20I've%20gone%20through%202%20trials%20%26amp%3B%20never%20got%20it%20working%20once.%20Follow%20instructions%20to%20the%20%22T%22%20to%20no%20avail.%20The%20error%20below%20bears%20no%20hint%20to%20where%20to%20begin%20looking%20for.%20Google%20has%20no%20relevant%20hits%20on%20it.%20A%20MS%20representative%20from%20the%20preview%20program%20reached%20out%20to%20me%20too%20see%20if%20we%20were%20doing%20well%2C%20I%20asked%20for%20help%2C%20she%20never%20got%20back%20to%20me.%20Please%20help.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%20%22id%22%3A%20%22%2Fsubscriptions%2F2fe1cf6e-cc2f-4d8a-ae40-c16094b5916d%2FresourceGroups%2Frg_RDS%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Frds.wvd-provision-host-pool-20190517102859%2Foperations%2F507AE14EB15A3844%22%2C%20%22operationId%22%3A%20%22507AE14EB15A3844%22%2C%20%22properties%22%3A%20%7B%20%22provisioningOperation%22%3A%20%22Create%22%2C%20%22provisioningState%22%3A%20%22Failed%22%2C%20%22timestamp%22%3A%20%222019-05-17T17%3A50%3A05.1680725Z%22%2C%20%22duration%22%3A%20%22PT10M21.3276442S%22%2C%20%22trackingId%22%3A%20%22895d37c4-fd20-4631-82a2-acddfaf198c6%22%2C%20%22serviceRequestId%22%3A%20%221c4f0171-e52c-450e-8a34-405fe36ae590%22%2C%20%22statusCode%22%3A%20%22Conflict%22%2C%20%22statusMessage%22%3A%20%7B%20%22status%22%3A%20%22Failed%22%2C%20%22error%22%3A%20%7B%20%22code%22%3A%20%22ResourceDeploymentFailure%22%2C%20%22message%22%3A%20%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%22%2C%20%22details%22%3A%20%5B%20%7B%20%22code%22%3A%20%22VMExtensionProvisioningError%22%2C%20%22message%22%3A%20%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%22DSC%20Configuration%20'FirstSessionHost'%20completed%20with%20error(s).%20Following%20are%20the%20first%20few%3A%20PowerShell%20DSC%20resource%20MSFT_ScriptResource%20failed%20to%20execute%20Set-TargetResource%20functionality%20with%20error%20message%3A%20One%20or%20more%20errors%20occurred.%20The%20SendConfigurationApply%20function%20did%20not%20succeed.%5C%22.%22%20%7D%20%5D%20%7D%20%7D%2C%20%22targetResource%22%3A%20%7B%20%22id%22%3A%20%22%2Fsubscriptions%2F2fe1cf6e-cc2f-4d8a-ae40-c16094b5916d%2FresourceGroups%2Frg_RDS%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2Frdhost-0%2Fextensions%2Fdscextension%22%2C%20%22resourceType%22%3A%20%22Microsoft.Compute%2FvirtualMachines%2Fextensions%22%2C%20%22resourceName%22%3A%20%22rdhost-0%2Fdscextension%22%20%7D%2C%20%22request%22%3A%20%7B%20%22content%22%3A%20%7B%20%22location%22%3A%20%22centralus%22%2C%20%22properties%22%3A%20%7B%20%22publisher%22%3A%20%22Microsoft.Powershell%22%2C%20%22type%22%3A%20%22DSC%22%2C%20%22typeHandlerVersion%22%3A%20%222.73%22%2C%20%22autoUpgradeMinorVersion%22%3A%20true%2C%20%22settings%22%3A%20%7B%20%22modulesUrl%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fcatalogartifact.azureedge.net%2Fpublicartifacts%2Frds.wvd-provision-host-pool-a6ce9b11-d690-4507-ad19-923cf56a9375-preview%2FArtifacts%2FDSC%2FConfiguration.zip%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcatalogartifact.azureedge.net%2Fpublicartifacts%2Frds.wvd-provision-host-pool-a6ce9b11-d690-4507-ad19-923cf56a9375-preview%2FArtifacts%2FDSC%2FConfiguration.zip%3C%2FA%3E%22%2C%20%22configurationFunction%22%3A%20%22Configuration.ps1%5C%5CFirstSessionHost%22%2C%20%22properties%22%3A%20%7B%20%22TenantAdminCredentials%22%3A%20%7B%20%22userName%22%3A%20%22CompulinkAdvantage%40outlook.com%22%2C%20%22password%22%3A%20%22PrivateSettingsRef%3AtenantAdminPassword%22%20%7D%2C%20%22RDBrokerURL%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Frdbroker.wvd.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Frdbroker.wvd.microsoft.com%3C%2FA%3E%22%2C%20%22DefinedTenantGroupName%22%3A%20%22Default%20Tenant%20Group%22%2C%20%22TenantName%22%3A%20%22RDStenant%22%2C%20%22HostPoolName%22%3A%20%22pool_RDS%22%2C%20%22Description%22%3A%20%22Created%20through%20ARM%20template%22%2C%20%22FriendlyName%22%3A%20%22pool_RDS%22%2C%20%22Hours%22%3A%20%2248%22%2C%20%22isServicePrincipal%22%3A%20false%2C%20%22AadTenantId%22%3A%20%22%22%2C%20%22EnablePersistentDesktop%22%3A%20false%2C%20%22defaultDesktopUsers%22%3A%20%22%5C%22egf%40CompulinkAdvantageoutlook.onmicrosoft.com%5C%22%22%20%7D%20%7D%2C%20%22ProtectedSettings%22%3A%20%7B%20%22items%22%3A%20%7B%20%22tenantAdminPassword%22%3A%20%22Lyq%24P6X%5E%2B22s4k3H%22%20%7D%20%7D%20%7D%20%7D%20%7D%2C%20%22response%22%3A%20%7B%20%22content%22%3A%20%7B%20%22startTime%22%3A%20%222019-05-17T17%3A39%3A44.9120853%2B00%3A00%22%2C%20%22endTime%22%3A%20%222019-05-17T17%3A50%3A03.6212846%2B00%3A00%22%2C%20%22status%22%3A%20%22Failed%22%2C%20%22error%22%3A%20%7B%20%22code%22%3A%20%22VMExtensionProvisioningError%22%2C%20%22message%22%3A%20%22VM%20has%20reported%20a%20failure%20when%20processing%20extension%20'dscextension'.%20Error%20message%3A%20%5C%22DSC%20Configuration%20'FirstSessionHost'%20completed%20with%20error(s).%20Following%20are%20the%20first%20few%3A%20PowerShell%20DSC%20resource%20MSFT_ScriptResource%20failed%20to%20execute%20Set-TargetResource%20functionality%20with%20error%20message%3A%20One%20or%20more%20errors%20occurred.%20The%20SendConfigurationApply%20function%20did%20not%20succeed.%5C%22.%22%20%7D%2C%20%22name%22%3A%20%221c4f0171-e52c-450e-8a34-405fe36ae590%22%20%7D%20%7D%20%7D%7D%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-623591%22%20slang%3D%22en-US%22%3ERe%3A%20Your%20deployment%20failed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-623591%22%20slang%3D%22en-US%22%3E%3CP%3EUPDATE%20-%20Removed%20all%20underscores%20from%20names%20and%20it%20finally%20worked.%3C%2FP%3E%3CP%3EOther%20annoyances%20are%20that%20when%20I%20created%20my%20Azure%20account%20it%20automatically%20appended%20%22outlook%22%20to%20the%26nbsp%3B%20end%20of%20my%20username%20in%20the%20default%20Azure%20Default%20Directory%20name.%20This%20made%20it%20longer%20than%2015%20characters%20and%20as%20a%20result%20when%20I%20created%20an%20Azure%20Domain%20Services%20domain%20the%20domains%20did%20not%20match%20making%20deploying%20using%20the%20provided%20template%20much%20harder%20to%20succeed%20by%20throwing%20a%20bunch%20of%20random%20errors.%20FYI%20in%20case%20you%20run%20into%20these%20annoyances%2C%20save%20headaches%20and%20make%20sure%20your%20Azure%20AD%20and%20Domain%20Services%20domain%20match%20unless%20you%20bring%20your%20own%20domain%20name.%3C%2FP%3E%3C%2FLINGO-BODY%3E
compulinkegf
Occasional Contributor

 

 

I've tried to deploy a simple single server / single tenant many times and I'm stuck with the error below. Any ideas? I've gone through 2 trials & never got it working once. Follow instructions to the "T" to no avail. The error below bears no hint to where to begin looking for. Google has no relevant hits on it. A MS representative from the preview program reached out to me too see if we were doing well, I asked for help, she never got back to me. Please help.

 

{ "id": "/subscriptions/2fe1cf6e-cc2f-4d8a-ae40-c16094b5916d/resourceGroups/rg_RDS/providers/Microsoft.Resources/deployments/rds.wvd-provision-host-pool-20190517102859/operations/507AE14EB15A3844", "operationId": "507AE14EB15A3844", "properties": { "provisioningOperation": "Create", "provisioningState": "Failed", "timestamp": "2019-05-17T17:50:05.1680725Z", "duration": "PT10M21.3276442S", "trackingId": "895d37c4-fd20-4631-82a2-acddfaf198c6", "serviceRequestId": "1c4f0171-e52c-450e-8a34-405fe36ae590", "statusCode": "Conflict", "statusMessage": { "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 'dscextension'. Error message: \"DSC Configuration 'FirstSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: One or more errors occurred. The SendConfigurationApply function did not succeed.\"." } ] } }, "targetResource": { "id": "/subscriptions/2fe1cf6e-cc2f-4d8a-ae40-c16094b5916d/resourceGroups/rg_RDS/providers/Microsoft.Compute/virtualMachines/rdhost-0/extensions/dscextension", "resourceType": "Microsoft.Compute/virtualMachines/extensions", "resourceName": "rdhost-0/dscextension" }, "request": { "content": { "location": "centralus", "properties": { "publisher": "Microsoft.Powershell", "type": "DSC", "typeHandlerVersion": "2.73", "autoUpgradeMinorVersion": true, "settings": { "modulesUrl": "https://catalogartifact.azureedge.net/publicartifacts/rds.wvd-provision-host-pool-a6ce9b11-d690-4507...", "configurationFunction": "Configuration.ps1\\FirstSessionHost", "properties": { "TenantAdminCredentials": { "userName": "CompulinkAdvantage@outlook.com", "password": "PrivateSettingsRef:tenantAdminPassword" }, "RDBrokerURL": "https://rdbroker.wvd.microsoft.com", "DefinedTenantGroupName": "Default Tenant Group", "TenantName": "RDStenant", "HostPoolName": "pool_RDS", "Description": "Created through ARM template", "FriendlyName": "pool_RDS", "Hours": "48", "isServicePrincipal": false, "AadTenantId": "", "EnablePersistentDesktop": false, "defaultDesktopUsers": "\"egf@CompulinkAdvantageoutlook.onmicrosoft.com\"" } }, "ProtectedSettings": { "items": { "tenantAdminPassword": "Lyq$P6X^+22s4k3H" } } } } }, "response": { "content": { "startTime": "2019-05-17T17:39:44.9120853+00:00", "endTime": "2019-05-17T17:50:03.6212846+00:00", "status": "Failed", "error": { "code": "VMExtensionProvisioningError", "message": "VM has reported a failure when processing extension 'dscextension'. Error message: \"DSC Configuration 'FirstSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: One or more errors occurred. The SendConfigurationApply function did not succeed.\"." }, "name": "1c4f0171-e52c-450e-8a34-405fe36ae590" } } }}

1 Reply
Solution

UPDATE - Removed all underscores from names and it finally worked.

Other annoyances are that when I created my Azure account it automatically appended "outlook" to the  end of my username in the default Azure Default Directory name. This made it longer than 15 characters and as a result when I created an Azure Domain Services domain the domains did not match making deploying using the provided template much harder to succeed by throwing a bunch of random errors. FYI in case you run into these annoyances, save headaches and make sure your Azure AD and Domain Services domain match unless you bring your own domain name.

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
7 Replies