<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Qlik Sense License Management through API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1837861#M15595</link>
    <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;I managed to create a script that assign tokens getting users from csv file. The tokens are correctly assigned and binded to the users in QMC but opening an app I still get the No Access Pass&amp;nbsp; error. Any idea?&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;</description>
    <pubDate>Tue, 21 Sep 2021 09:04:07 GMT</pubDate>
    <dc:creator>Giovanni_Civardi</dc:creator>
    <dc:date>2021-09-21T09:04:07Z</dc:date>
    <item>
      <title>Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/116033#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on a project to possibly manage the assignment/removal of license using API calls and event triggered events.&lt;/P&gt;&lt;P&gt;The goal is to address the below cases:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Continued monitoring and deallocation of licenses for Users that have never used it&lt;/LI&gt;&lt;LI&gt;Bulk allocation/removal of licenses to users (ex: list defined in an excel sheet)&lt;/LI&gt;&lt;LI&gt;The assignment of a full license for users leveraging group tokens but are consuming too many shared tokens&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can we find documentation or the correct APIs to build such features against our Qlik Sense server. &lt;/P&gt;&lt;P&gt;We have qliksense server running on version: Qlik Sense June 2018 &lt;STRONG&gt;12.26.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we are checking the following API calls but nothing substantial has been found yet, based on documentation found &lt;A href="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-QRS-API-Endpoints.htm"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;GET&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /qrs/license/loginaccessusage/{id}?privileges={appendprivileges}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;GET&amp;nbsp;&amp;nbsp; /qrs/selection/{id}/license/loginaccessusage/full?filter={filter}&amp;amp;orderby={orderby}&amp;amp;privileges={appendprivileges}&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;/P&gt;&lt;P&gt;Any help on this is very appreciated &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 15:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/116033#M1599</guid>
      <dc:creator>ghaliabed</dc:creator>
      <dc:date>2018-07-23T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/116034#M1600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Continued monitoring and deallocation of licenses for Users that have never used it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DELETE /qrs/license/useraccesstype/ID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Example code: &lt;A href="https://github.com/levi-turner/QlikSenseScripts/blob/master/qlik_sense_purge_unused_user_access_passes.ps1" title="https://github.com/levi-turner/QlikSenseScripts/blob/master/qlik_sense_purge_unused_user_access_passes.ps1"&gt;https://github.com/levi-turner/QlikSenseScripts/blob/master/qlik_sense_purge_unused_user_access_passes.ps1 &lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt;(uses Qlik CLI)&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bulk allocation/removal of licenses to users (ex: list defined in an excel sheet)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Adding: &lt;SPAN style="font-family: 'courier new', courier;"&gt;POST /qrs/license/useraccesstype&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Body (where ID = the ID of the user):&lt;SPAN style="font-family: 'courier new', courier;"&gt; {"user": {"id": "447d3ce4-5492-41bb-99c6-460456ae4363"}} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Removing: Same as above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 19:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/116034#M1600</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2018-07-23T19:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1518995#M9667</link>
      <description>&lt;P&gt;But why I got "(400)Bad Request" when I try to&amp;nbsp;&lt;SPAN&gt;POST /qrs/license/useraccesstype with your method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the url I am posting to is:&amp;nbsp;https://***.southeastasia.cloudapp.azure.com:4242/qrs/license/useraccesstype?Xrfkey=Dorph1HyqLsZGeKg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And I found most open api end points with GET method working well, such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;https://***.southeastasia.cloudapp.azure.com:4242/qrs/user?Xrfkey=Dorph1HyqLsZGeKg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 07:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1518995#M9667</guid>
      <dc:creator>weiqiang_wang</dc:creator>
      <dc:date>2018-12-11T07:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1726185#M12994</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp;, I'm trying to de-allocate professional licenses based on the user's id... will this work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{FQDN}:4242/qrs/license/professionalaccesstype/full?Xrfkey=1234567890123456&amp;amp;filter=(user.id eq 'f5806d7d-6758-4422-b803-1b2fd3950fa4')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried this but it says&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cannot&amp;nbsp;convert&amp;nbsp;the&amp;nbsp;constant&amp;nbsp;value "Guid"&amp;nbsp;to&amp;nbsp;the&amp;nbsp;following: f5806d7d-6758-4422-b803-1b2fd3950fa4&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Jul 2020 16:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1726185#M12994</guid>
      <dc:creator>ryanplkam</dc:creator>
      <dc:date>2020-07-08T16:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1726237#M12996</link>
      <description>&lt;P&gt;The call for removal would be:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;DELETE /qrs/license/professionalaccesstype/6fa395c1-4de6-47bf-96e1-5ca484168a9d&lt;/LI-CODE&gt;&lt;P&gt;So you get the ID from:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;GET /qrs/license/professionalaccesstype/full&lt;/LI-CODE&gt;&lt;P&gt;do your app logic for group membership then call DELETE with the IDs from the GET&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 18:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1726237#M12996</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2020-07-08T18:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1728904#M13031</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 17:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1728904#M13031</guid>
      <dc:creator>ryanplkam</dc:creator>
      <dc:date>2020-07-17T17:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1797254#M14709</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Endpoint&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;POST /qrs/license/useraccesstype allocate license for single user.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way if we could allocate multiple users? Help would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;BR /&gt;Babita&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 14:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1797254#M14709</guid>
      <dc:creator>babitaku</dc:creator>
      <dc:date>2021-04-06T14:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1797264#M14710</link>
      <description>&lt;P&gt;Option 1: Just loop over them in your code. In PowerShell it'd be something like&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$ids = '1','2'

foreach ($id in $ids) {
    # Do stuff
}&lt;/LI-CODE&gt;&lt;P&gt;But similar approaches exist in all scripting or programming languages.&lt;/P&gt;&lt;P&gt;Option 2: Toy with the Selection endpoint (&lt;A href="https://help.qlik.com/en-US/sense-developer/APIs/RepositoryServiceAPI/index.html?page=1099" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/APIs/RepositoryServiceAPI/index.html?page=1099&lt;/A&gt;) which allows you to do edits to multiple things. It's how the QMC works. I honestly haven't played with this approach at all myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Personally, option 1 is easier to deploy, simpler to understand and maintain, and is more conducive to adding robustness checks / logging.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 15:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1797264#M14710</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2021-04-06T15:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1797840#M14725</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp;for the quick response.&lt;/P&gt;&lt;P&gt;But, how to call Qlik api endpoint from powershell? Also, the id which we pass in loop, is that GUID or Name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Babita&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 05:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1797840#M14725</guid>
      <dc:creator>babitaku</dc:creator>
      <dc:date>2021-04-08T05:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1837861#M15595</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;I managed to create a script that assign tokens getting users from csv file. The tokens are correctly assigned and binded to the users in QMC but opening an app I still get the No Access Pass&amp;nbsp; error. Any idea?&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 09:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/1837861#M15595</guid>
      <dc:creator>Giovanni_Civardi</dc:creator>
      <dc:date>2021-09-21T09:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense License Management through API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/2155327#M19652</link>
      <description>&lt;LI-CODE lang="csharp"&gt;GET /qrs/license/analyzeraccesstype/full&lt;/LI-CODE&gt;
&lt;P&gt;works but I get 403 (Forbidden) if I try to&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;DELETE /qrs/license/analyzeraccesstype/{id}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;I am admin and I can deallocate and delete users from qmc.&lt;BR /&gt;So what to do?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 08:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-License-Management-through-API/m-p/2155327#M19652</guid>
      <dc:creator>Jaeger</dc:creator>
      <dc:date>2023-12-21T08:51:30Z</dc:date>
    </item>
  </channel>
</rss>

