QRSAPI - Remove Unwanted Users with PowerShell

    Preamble

    Ever have a situation where you attach a User Directory Connector and bring in all of the users only to realize you only needed to bring in ten users?  How do you remove the other 49,990 users you don't want referenced in the Qlik Sense Repository?

    Introduction

    This document uses words and pictures to demonstrate a method for removing unwanted users from the Qlik Sense Repository using the Qlik Sense Repository Service API.  Is it the only method?  No, definitely not.  But it's a handy way to leverage existing Windows tools to connect to Qlik Sense and use Qlik Sense Custom Properties to identify users to keep in a purge.  The benefit of the method is it automates the manual user delete process many admins probably go through today to remove users from the repository.

    Companion Documents:

    Qlik Sense Virtual Proxy Header Authentication Configuration

     

    Code:

    PowerShell_QRSDeleteUsers on branch.qlik.com