Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
stascher
Partner - Creator III
Partner - Creator III

CLI and User Directory Connectors

Hello,

Is it possible to use CLI on Qlik Sense Enterprise on Windows to obtain the operational status of User Directory Connectors?

Thank you,

Steven

Labels (2)
1 Solution

Accepted Solutions
steveshaw
Partner - Contributor III
Partner - Contributor III

Yes, it is possible — but with some limitations.

Best Option: Qlik CLI + QRS API

You can use the Qlik CLI (qlik command line tool) on Qlik Sense Enterprise on Windows to get the status of User Directory Connectors via the QRS (Qlik Repository Service) API.

Example commands:

Bash
 
# List all User Directory Connectors
qlik qrs user-directory-connector list

# Get detailed status of a specific UDC
qlik qrs user-directory-connector get --id <UDC-ID>
 
 

More Practical Commands:

  1. List all UDCs with basic info:

    Bash
     
    qlik qrs user-directory list
     
     
  2. Check synchronization / operational status:

    Bash
     
    qlik qrs user-directory-connector sync-status --id <UDC-ID>
     
     

    Or check the last sync time and status.

Alternative / Easier Ways:

  • QMC (Qlik Management Console): Go to User Directory Connectors → you can see status and last sync directly in the UI.
  • QRS API directly (if CLI is not giving full details): Use tools like Postman or PowerShell with the QRS API.

Note: The CLI must be configured with proper certificates and connected to your Qlik Sense server (qlik qrs setup).

View solution in original post

1 Reply
steveshaw
Partner - Contributor III
Partner - Contributor III

Yes, it is possible — but with some limitations.

Best Option: Qlik CLI + QRS API

You can use the Qlik CLI (qlik command line tool) on Qlik Sense Enterprise on Windows to get the status of User Directory Connectors via the QRS (Qlik Repository Service) API.

Example commands:

Bash
 
# List all User Directory Connectors
qlik qrs user-directory-connector list

# Get detailed status of a specific UDC
qlik qrs user-directory-connector get --id <UDC-ID>
 
 

More Practical Commands:

  1. List all UDCs with basic info:

    Bash
     
    qlik qrs user-directory list
     
     
  2. Check synchronization / operational status:

    Bash
     
    qlik qrs user-directory-connector sync-status --id <UDC-ID>
     
     

    Or check the last sync time and status.

Alternative / Easier Ways:

  • QMC (Qlik Management Console): Go to User Directory Connectors → you can see status and last sync directly in the UI.
  • QRS API directly (if CLI is not giving full details): Use tools like Postman or PowerShell with the QRS API.

Note: The CLI must be configured with proper certificates and connected to your Qlik Sense server (qlik qrs setup).