Forum Discussion

James_Randall_1978's avatar
James_Randall_1978
Brass Contributor
Mar 26, 2019

Error Upon Deployment from GitHub template.

Hello,

I've just tried a deployment of 7 Server 2016 session hosts from a sysprepped Server 2016 image.  The session hosts seem to have been created suceessfully and joined to my domain, however the deployment failed.  The failure seems to relate to this:

 PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: User is not authorized to query the management service.

However I am using the correct Azure credentials as far as I can tell and it's my Global Admin account..

    • James_Randall_1978's avatar
      James_Randall_1978
      Brass Contributor

      rbergertd  Thank you for the advice, I re-ran the deployment and all is good.  It's not impossible I mistyped either the AAD username or password I guess.  All good, 7 Server 2016 session hosts deployed flawlessly from the template, with the web access HTML5 connection working perfectly.  No onto configuring the RemoteApps.  Which looks fiddly at the moment...

Resources