Automation to dynamically move users between Analyzer and Analyzer Capacity based on actual usage
Hi all,
I'm working with a customer who has an Analyzer Capacity pack of 1,000 minutes in Qlik Cloud, alongside regular Analyzer licenses. I'm running into two issues and I'm hoping someone has solved this before.
1. I can't reliably control who is on the capacity pack
With Enable dynamic assignment of analyzer users turned on, users automatically get an Analyzer license again as soon as they open an app. So if I remove someone's Analyzer license to move them onto the minutes pack, the setting simply reassigns the license the next time they log in. The change doesn't stick.
2. I don't want everyone to start on the capacity pack by default
Ideally I'd monitor each user's actual consumption first, and only move them to Analyzer Capacity once I can see they fit the profile (i.e. low/occasional usage). Turning dynamic assignment off entirely isn't attractive either, since new users would then need manual handling.
What I'd like to build
An automation (Qlik Application Automation) that runs daily, checks how many minutes / how frequently each user has consumed Qlik over the past period (e.g. last 30 days), and based on that either:
moves a user to Analyzer Capacity when their usage is low, or
assigns a full Analyzer license when their usage is consistently high.
Has anyone already built something like this? Specifically I'm curious about:
Which endpoints / automation blocks you used to get per-user consumption data (Analyzer Capacity minutes, session data)
How you dealt with the dynamic assignment setting fighting the automation
Any pitfalls with the license assignment API when moving users back and forth
Any pointers, examples or even partial solutions would be much appreciated.