Error: vsix installer not all privileges or groups referenced are assigned to the caller

Error: vsix installer not all privileges or groups referenced are assigned to the caller.

The error “not all privileges or groups referenced are assigned to the caller” occurs when the admin account didn’t have ownership of the Program/ Application. This was causing a problem when installing a particular Program/ Application.

If you having the same issue while installing an Extension to the Visual Studio (i.e. vsix installer) then you need to provide ownership of the Visual Studio to the admin account.
Here are the steps that fixed the issue.

  1. Go to Program Files in the C Drive
  2. Right-click “Microsoft Visual Studio”–> Properties –> Security Tab –> Advanced –> Click on the Change (After Owner name)
  3. Provide your name or Admin name to whom you want to provide ownership
  4. Check “Replace owner on subcontainers & Objects”
  5. Reboot the system.

You can also follow the same step while having the same problem with SQL Server or other application.