PowerShell commands fail with "Insufficient administrative privilege" although with administrative privilege

PowerShell commands fail with "Insufficient administrative privilege" although with administrative privilege

book

Article ID: CTX218500

calendar_today

Updated On:

Description

PowerShell commands by a user with administrative privilege fail by "Insufficient administrative privilege".

Sameple of the output:
---
PS C:\Users\user> Get-BrokerDesktopGroup
Get-BrokerDesktopGroup : Insufficient administrative privilege
発生場所 行:1 文字:1
+ Get-BrokerDesktopGroup > c:\temp\Get-BrokerDesktopGroup.log
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (:) [Get-BrokerDesktopGroup], SdkOperationException
    + FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.AccessDenied,Citrix.Broker.Admin.SDK.GetBrokerDesktopGroupCommand

Resolution

Solution 1 - The user is in multiple domain groups.

  1. Create a new user in the domain who belongs to only "Domain Users" group (default)

  2. Add administrative privilege to the new user in Citrix Studio

Solution 2 - SDK components are corrupted.

  1. Install Citrix Studio from installation media to another Windows machine.
  2. Perform PowerShell commands on the Windows machine
  3. Delivery Controller or SQL Server has not been installed successfully.​
  4. Rebuild Delivery Controller or/and SQL Server

Problem Cause

  • The user is in multiple domain groups.
  • SDK components are corrupted.
  • Delivery Controller or SQL Server has not been installed successfully.

Issue/Introduction

PowerShell commands by a user with administrative privilege fail by "Insufficient administrative privilege".