Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
prabhu0505
Specialist
Specialist

Revoke User Tokens automatically after 30 days of inactivity

Need to revoke User tokens automatically after 30 days of inactivity without even going outside of Qlik environment and not installing any additional software in Qlik environment. Is that possible?

Thanks!

Labels (1)
5 Replies
Levi_Turner
Employee
Employee

This PowerShell file should point you in the right direction.

prabhu0505
Specialist
Specialist
Author

Thanks for the directions...
Looks like there is no off-the-shelf solution from Qlik for this.
Your script is so tempting but it is dependent on Qlik-Cli (https://github.com/ahaydon/Qlik-Cli) which is not supported by Qlik. So we don't want to move forward with it, will spend some more time and see...
Levi_Turner
Employee
Employee

Understood. It wouldn't be too terribly difficult if you have experience with PowerShell to decompose the calls and re-write in raw PowerShell (e.g. this is a GET, this is a POST).

The high-level work-flow:

  • GET the license assignments with a filter
  • Loop over the response's IDs with a DELETE
Imran_Arshad
Partner - Contributor III
Partner - Contributor III

@Levi_Turner , i have gone through this entire post, you suggested a solution but the github-link which is shared by you is not available. 

Any luck to get a solution for this Deallocation of license from the inactive users for specific number of days.