<?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: Tabular Reporting Tasks based on IdP Groups in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Tabular-Reporting-Tasks-based-on-IdP-Groups/m-p/2157478#M747</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/259707"&gt;@Linda95&lt;/a&gt;&amp;nbsp; certain IdP groups are available using the load script to load users (and optionally groups).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The trick is to use the 'users' endpoint with the Qlik REST Connector to pull the list of IdP groups from your tenant.&amp;nbsp; Create a new REST connection as below pointing to the URL of your tenant's users endpoint:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;https://&amp;lt;tenant&amp;gt;.&amp;lt;region&amp;gt;.qlikcloud.com/api/v1/users&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_0-1704203548978.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126420iA455C196AAC60328/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_0-1704203548978.png" alt="JonnyPoole_0-1704203548978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You will also need an 'API key' (which must be pre-generated) and then pasted into the Query headers section of the REST Connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The query header name is 'Authorization' (you must type this out manually).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value is set to 'Bearer &amp;lt;APIKEY&amp;gt;'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_1-1704203678164.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126421i33FA38E5FCB4EAE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_1-1704203678164.png" alt="JonnyPoole_1-1704203678164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The groups are available under 'assignedGroups' (see below)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_2-1704203862267.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126422iBC6D4169C77E7B6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_2-1704203862267.png" alt="JonnyPoole_2-1704203862267.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind you will only see the groups for the members have already logged into Qlik Cloud. The tenant is only becomes aware of IdP groups when it gets the group memberships from the IdP at the time of login.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've adjusted the load script to join the groups and users together, and rename and hide the recipient fields&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_3-1704204517357.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126423i99E76D81CB704271/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_3-1704204517357.png" alt="JonnyPoole_3-1704204517357.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After rerunning the load script, you will see the Idp groups under 'groups' with the correct memberships.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_4-1704204583979.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126424iCCD71025A25EA88C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_4-1704204583979.png" alt="JonnyPoole_4-1704204583979.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you want to copy my script for editting, here it is pasted out:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;set hideprefix='%';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;LIB CONNECT TO 'Qlik Cloud Users Endpoint';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;RestConnectorMasterTable:&lt;/DIV&gt;
&lt;DIV&gt;SQL SELECT&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__KEY_root",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; (SELECT&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "name" AS "name_u2",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "email",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__KEY_data",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__FK_data",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; (SELECT&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "name" AS "name_u1",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__FK_assignedGroups",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__KEY_assignedGroups"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; FROM "assignedGroups" PK "__KEY_assignedGroups" FK "__FK_assignedGroups")&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; FROM "data" PK "__KEY_data" FK "__FK_data")&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;UserGroups:&lt;/DIV&gt;
&lt;DIV&gt;LOAD [name_u1] AS %Group,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; [__FK_assignedGroups] AS %UserID&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;
&lt;DIV&gt;WHERE NOT IsNull([__FK_assignedGroups]);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;LEFT JOIN (UserGroups)&lt;/DIV&gt;
&lt;DIV&gt;LOAD [name_u2] AS %Name,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; [email] AS %Email,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; [__KEY_data] AS %UserID&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;
&lt;DIV&gt;WHERE NOT IsNull([__FK_data]);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;DROP TABLE RestConnectorMasterTable;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;tag field %Name with 'DL_DISTRIBUTION_SVC__recipientName';&lt;/DIV&gt;
&lt;DIV&gt;tag field %Email with 'DL_DISTRIBUTION_SVC__recipientEmail';&lt;/DIV&gt;
&lt;DIV&gt;tag field %Group with 'DL_DISTRIBUTION_SVC__groupsName';&lt;/DIV&gt;
&lt;DIV&gt;//tag field %Filters with 'DL_DISTRIBUTION_SVC__recipientFilters';&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 14:10:19 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2024-01-02T14:10:19Z</dc:date>
    <item>
      <title>Tabular Reporting Tasks based on IdP Groups</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Tabular-Reporting-Tasks-based-on-IdP-Groups/m-p/2156671#M728</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Is there currently a way to plan report tasks based on active directory groups? Or do you plan implementing an integrated way to use the IdP Connection for that? Would be much easier than maintaining an excel file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Tabular-Reporting-Tasks-based-on-IdP-Groups/m-p/2156671#M728</guid>
      <dc:creator>Linda95</dc:creator>
      <dc:date>2023-12-28T13:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tabular Reporting Tasks based on IdP Groups</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Tabular-Reporting-Tasks-based-on-IdP-Groups/m-p/2156691#M730</link>
      <description>&lt;P&gt;Good news &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/259707"&gt;@Linda95&lt;/a&gt;&amp;nbsp; you can source your distribution list form other connected sources(avoiding the excel file) - see&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Reporting/cloud-in-app-reports-distribution.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Reporting/cloud-in-app-reports-distribution.htm&lt;/A&gt;&amp;nbsp;and the section&amp;nbsp;&lt;EM&gt;Defining the distribution list manually in the load script&lt;/EM&gt;.&amp;nbsp; &amp;nbsp;You will have to replicate the DL schema of the excel file in your source e.g. add the filter names you need and the group names you want to use in the reporting tasks.&amp;nbsp; We do anticipate this will be a preferred strategy over time.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 14:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Tabular-Reporting-Tasks-based-on-IdP-Groups/m-p/2156691#M730</guid>
      <dc:creator>Andrew_Kruger</dc:creator>
      <dc:date>2023-12-28T14:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tabular Reporting Tasks based on IdP Groups</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Tabular-Reporting-Tasks-based-on-IdP-Groups/m-p/2157478#M747</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/259707"&gt;@Linda95&lt;/a&gt;&amp;nbsp; certain IdP groups are available using the load script to load users (and optionally groups).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The trick is to use the 'users' endpoint with the Qlik REST Connector to pull the list of IdP groups from your tenant.&amp;nbsp; Create a new REST connection as below pointing to the URL of your tenant's users endpoint:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;https://&amp;lt;tenant&amp;gt;.&amp;lt;region&amp;gt;.qlikcloud.com/api/v1/users&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_0-1704203548978.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126420iA455C196AAC60328/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_0-1704203548978.png" alt="JonnyPoole_0-1704203548978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You will also need an 'API key' (which must be pre-generated) and then pasted into the Query headers section of the REST Connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The query header name is 'Authorization' (you must type this out manually).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value is set to 'Bearer &amp;lt;APIKEY&amp;gt;'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_1-1704203678164.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126421i33FA38E5FCB4EAE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_1-1704203678164.png" alt="JonnyPoole_1-1704203678164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The groups are available under 'assignedGroups' (see below)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_2-1704203862267.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126422iBC6D4169C77E7B6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_2-1704203862267.png" alt="JonnyPoole_2-1704203862267.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind you will only see the groups for the members have already logged into Qlik Cloud. The tenant is only becomes aware of IdP groups when it gets the group memberships from the IdP at the time of login.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've adjusted the load script to join the groups and users together, and rename and hide the recipient fields&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_3-1704204517357.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126423i99E76D81CB704271/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_3-1704204517357.png" alt="JonnyPoole_3-1704204517357.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After rerunning the load script, you will see the Idp groups under 'groups' with the correct memberships.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_4-1704204583979.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126424iCCD71025A25EA88C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_4-1704204583979.png" alt="JonnyPoole_4-1704204583979.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you want to copy my script for editting, here it is pasted out:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;set hideprefix='%';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;LIB CONNECT TO 'Qlik Cloud Users Endpoint';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;RestConnectorMasterTable:&lt;/DIV&gt;
&lt;DIV&gt;SQL SELECT&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__KEY_root",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; (SELECT&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "name" AS "name_u2",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "email",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__KEY_data",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__FK_data",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; (SELECT&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "name" AS "name_u1",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__FK_assignedGroups",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; "__KEY_assignedGroups"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; FROM "assignedGroups" PK "__KEY_assignedGroups" FK "__FK_assignedGroups")&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; FROM "data" PK "__KEY_data" FK "__FK_data")&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;UserGroups:&lt;/DIV&gt;
&lt;DIV&gt;LOAD [name_u1] AS %Group,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; [__FK_assignedGroups] AS %UserID&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;
&lt;DIV&gt;WHERE NOT IsNull([__FK_assignedGroups]);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;LEFT JOIN (UserGroups)&lt;/DIV&gt;
&lt;DIV&gt;LOAD [name_u2] AS %Name,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; [email] AS %Email,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; [__KEY_data] AS %UserID&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;RESIDENT RestConnectorMasterTable&lt;/DIV&gt;
&lt;DIV&gt;WHERE NOT IsNull([__FK_data]);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;DROP TABLE RestConnectorMasterTable;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;tag field %Name with 'DL_DISTRIBUTION_SVC__recipientName';&lt;/DIV&gt;
&lt;DIV&gt;tag field %Email with 'DL_DISTRIBUTION_SVC__recipientEmail';&lt;/DIV&gt;
&lt;DIV&gt;tag field %Group with 'DL_DISTRIBUTION_SVC__groupsName';&lt;/DIV&gt;
&lt;DIV&gt;//tag field %Filters with 'DL_DISTRIBUTION_SVC__recipientFilters';&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 14:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Tabular-Reporting-Tasks-based-on-IdP-Groups/m-p/2157478#M747</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2024-01-02T14:10:19Z</dc:date>
    </item>
  </channel>
</rss>

