Sets ALL Inactive Users in Qlik Sense to Active
Reactivates ALL users in a Qlik Sense Site that have been set to inactive and removed externally.
Connects to the Qlik Sense Repository using the QRS API. A POST selection call is run with a filter on inactive eq true, then a PUT on the selection is made to change the properties to false.
Reactivate-QlikUsers %senseServerHostName% %certFriendlyName%
Reactivate-QlikUsers sense3.112adams.local QlikClient
The name of the Qlik Sense server.
The friendly name of the Qlik Sense generated certificate used to connect to the QRS api. By default, enter QlikClient. See note below.
This Code defaults to using the CurrentUser certificate store and prefers using the QlikClient certificate. The QlikClient certificate is installed for the service account user set up during Qlik Sense installation.
- Download the ps1 file to the Qlik Sense server Central Node.
- Run the script as the Qlik Sense service account user so that the QlikClient certificate can be used.
- If prompted to disable signing of Powershell scripts, follow the directions on this page
Set Execution Policy for Powershell Scripts.