Apologies up front if this has been covered - cant find anything that seems related with a search :(
Our 1st line Desktop support team use a powershell script to provision new statically assigned VDIs in XenDesktop 7.6
I am now working on a transition to XenDesktop 7.15 LTSR for Windows 10 VDIs.
I have adapted the script to cater with the new environment and it works fine for me as a full admin.
however, we want to apply appropriate locked down permissions to the 1st line guys. i have got them to test adding a machine manually to the machine catalog and then into the delivery group. all works fine. but when they try to do the same using a powershell script it fails with the following error: (this is the log ouput from the script)
Starting the process of importing the new machine to Citrix
- Starting the import to Citrix for newmachinename
- Adding newmachinename to the correct Machine catalog
New-BrokerMachine : Insufficient administrative privilege
At \\companyfilesharelocation\VDI-CreateVM-Win10.ps1:49 char:12
+ New-BrokerMachine -MachineName $FullADName -CatalogUid $CatalogUid -H ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [New-BrokerMachine], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.AccessDenied,Citrix.Broker.Admin.SDK.NewBrokerMachineCommand
Any ideas?... i know this is bound to be something simple! :(
Question
David Flint-Johnson1709156560
Apologies up front if this has been covered - cant find anything that seems related with a search :(
Our 1st line Desktop support team use a powershell script to provision new statically assigned VDIs in XenDesktop 7.6
I am now working on a transition to XenDesktop 7.15 LTSR for Windows 10 VDIs.
I have adapted the script to cater with the new environment and it works fine for me as a full admin.
however, we want to apply appropriate locked down permissions to the 1st line guys. i have got them to test adding a machine manually to the machine catalog and then into the delivery group. all works fine. but when they try to do the same using a powershell script it fails with the following error: (this is the log ouput from the script)
Starting the process of importing the new machine to Citrix
- Starting the import to Citrix for newmachinename
- Adding newmachinename to the correct Machine catalog
New-BrokerMachine : Insufficient administrative privilege
At \\companyfilesharelocation\VDI-CreateVM-Win10.ps1:49 char:12
+ New-BrokerMachine -MachineName $FullADName -CatalogUid $CatalogUid -H ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [New-BrokerMachine], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.AccessDenied,Citrix.Broker.Admin.SDK.NewBrokerMachineCommand
Any ideas?... i know this is bound to be something simple! :(
thanks in advance :)
Link to comment
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now