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?
@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.
@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.