Home

Can't Provision Host Pools anymore

%3CLINGO-SUB%20id%3D%22lingo-sub-710399%22%20slang%3D%22en-US%22%3ECan't%20Provision%20Host%20Pools%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-710399%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20been%20able%20to%20successfully%20provision%20a%20host%20pool%20(with%202%20hosts)%20once%20with%20published%20apps.%20Users%20can%20login.%3C%2FP%3E%3CP%3EI%20then%20provisioned%20another%20host%20pool%20with%202%20hosts%20that%20would%20be%20used%20for%20Desktops.%3CBR%20%2F%3EI%20was%20able%20to%20login%20but%20when%20I%20tried%20starting%20a%20desktop%20I%20would%20get%20a%20username%20and%20password%20error.%3CBR%20%2F%3ETo%20try%20and%20resolve%20this%20I%20cleaned%20the%20host%20pool%20setup%20by%20opening%20the%20Resource%20Group%20and%20deleting%20all%20the%20items%20within%20it.%3CBR%20%2F%3EHowever%2C%20now%20what%20happens%20is%20that%20the%20provisioning%20fails%20when%20provisioning%20the%20dcsextension%26nbsp%3Bstarts.%3CBR%20%2F%3EThe%20error%20says%20that%20the%20provisioning%20user%20does%20not%20have%20permission%2C%20which%20it%20does%20as%20it%20worked%20before%20but%20now%20no%20matter%20what%20I%20do%20I%20get%20this%20error%20and%20provisioning%20stops.%3C%2FP%3E%3CP%3EHas%20anyone%20else%20had%20this%20issue%20and%20if%20so%20how%20did%20you%20get%20around%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-711466%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20Provision%20Host%20Pools%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-711466%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F81522%22%20target%3D%22_blank%22%3E%40Paul%20Shadwell%3C%2FA%3E%3A%20Are%20you%20using%20a%20user%20account%20or%20service%20principal%3F%20If%20service%20principal%20please%20create%20a%20new%20one%20as%20we%20have%20seen%20issues%20with%20those%20that%20are%20older.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOtherwise%20please%20confirm%20your%20issue%20is%20not%20named%20here%3A%26nbsp%3B%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-set-up-issues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-set-up-issues%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-711669%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20Provision%20Host%20Pools%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-711669%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F139744%22%20target%3D%22_blank%22%3E%40Eva%20Seydl%3C%2FA%3E%26nbsp%3BI%20am%20trying%20with%20both%20username%20and%20service%20principal.%3CBR%20%2F%3EThankyou%20for%20the%20link%20it%20looks%20useful.%3CBR%20%2F%3ESince%20the%20dscextension%20is%20the%20failure%20point%20and%20everything%20else%20worked%20it%20would%20be%20great%20to%20have%20a%20way%20to%20just%20re-run%20that%20part.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712251%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20Provision%20Host%20Pools%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712251%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F81522%22%20target%3D%22_blank%22%3E%40Paul%20Shadwell%3C%2FA%3E%26nbsp%3B%3A%20Just%20for%20clarity%2C%20the%20DSC%20extension%20is%20what%3A%3C%2FP%3E%0A%3CP%3E-%20Creates%20the%20Windows%20Virtual%20Desktop%20host%20pool%3C%2FP%3E%0A%3CP%3E-%20Installs%20components%20%2F%20registers%20the%20virtual%20machines%20to%20the%20host%20pool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20the%20DSC%20was%20the%20only%20thing%20failing%2C%20(meaning%20the%20VMs%20got%20provisioned%20and%20were%20properly%20domain%20joined)%2C%20I'd%20recommend%3A%3C%2FP%3E%0A%3CP%3E1.%20Go%20to%20each%20of%20the%20VMs%20and%20remove%20the%20extensions%3C%2FP%3E%0A%3CP%3E2.%20Follow%20the%20steps%20here%20to%20manually%20create%20the%20host%20pool%20and%20register%20the%20VMs%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20if%20that%20helps!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-715289%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20Provision%20Host%20Pools%20anymore%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-715289%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%26nbsp%3BThankyou%20for%20the%20responses.%3CBR%20%2F%3EWithout%20changing%20anything%20I%20created%20a%20new%20host%20pool%20today%20with%203%20hosts%20and%20it%20completed%20successfully%20in%2022%20minutes%20and%2037%20seconds.%3CBR%20%2F%3EWhatever%20was%20causing%20the%20issue%20before%20is%20now%20resolved.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Paul Shadwell
Contributor

I have been able to successfully provision a host pool (with 2 hosts) once with published apps. Users can login.

I then provisioned another host pool with 2 hosts that would be used for Desktops.
I was able to login but when I tried starting a desktop I would get a username and password error.
To try and resolve this I cleaned the host pool setup by opening the Resource Group and deleting all the items within it.
However, now what happens is that the provisioning fails when provisioning the dcsextension starts.
The error says that the provisioning user does not have permission, which it does as it worked before but now no matter what I do I get this error and provisioning stops.

Has anyone else had this issue and if so how did you get around it?

4 Replies

@Paul Shadwell: Are you using a user account or service principal? If service principal please create a new one as we have seen issues with those that are older. 

 

Otherwise please confirm your issue is not named here: https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-set-up-issues

 

 

@Eva Seydl I am trying with both username and service principal.
Thankyou for the link it looks useful.
Since the dscextension is the failure point and everything else worked it would be great to have a way to just re-run that part.

@Paul Shadwell : Just for clarity, the DSC extension is what:

- Creates the Windows Virtual Desktop host pool

- Installs components / registers the virtual machines to the host pool.

 

If the DSC was the only thing failing, (meaning the VMs got provisioned and were properly domain joined), I'd recommend:

1. Go to each of the VMs and remove the extensions

2. Follow the steps here to manually create the host pool and register the VMs: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell

 

 

Let me know if that helps!

@christianmontoya Thankyou for the responses.
Without changing anything I created a new host pool today with 3 hosts and it completed successfully in 22 minutes and 37 seconds.
Whatever was causing the issue before is now resolved.

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