Forum Discussion

Jafar1970's avatar
Jafar1970
Copper Contributor
Apr 17, 2019

Deploy Windows virtual desktop

Hello All,

 

I'm trying to deploy a WVD Host pool, but it keeps failing on the same step.

 

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"message\": \"The Admin Username specified is not allowed.\",\r\n \"target\": \"adminUsername\"\r\n }\r\n}"}]}
  • Jafar1970 : Thanks for testing out! Are you using the Azure Marketplace offering or the ARM template?

     

    It sounds like the issue is that our template is automatically take the prefix of your domain join user and creating a local account. And I'm guessing, you're using "admin@customaad.onmicrosoft.com", where Azure VMs don't allow admin.

     

    If this is the case, then we are tracking this, but don't have an immediate fix on the Azure Marketplace offering. However, you can continue deploying if you're willing to customize and run the ARM template (directions here).

Resources