<?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 SAML Attribute Map from QlikCli in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/SAML-Attribute-Map-from-QlikCli/m-p/1817320#M15142</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I m creating SAML virtual proxy from Qlik-cli and got stuck as SAML attribute map parameter. This parameter takes hashtable as input so i used below code . In powershell, I created variable &lt;STRONG&gt;$hash&lt;/STRONG&gt; and provided all the required parameters . I am passing this $hash to -samlAttributeMap (please check at end of the script).&amp;nbsp;&lt;/P&gt;&lt;P&gt;After executing the script, I m getting error "The remote server returned an error: (400) Bad Request". Can anyone please help me how to achieve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;Connect-Qlik -TrustAllCerts

$hash = @{ Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role"; Email = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"; Name = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"}

New-QlikVirtualProxy -description SAML_rim -sessionCookieHeaderName X-Qlik-Session-SAML -authenticationMethod SAML -prefix saml -samlAttributeUserDirectory [SAML] -samlAttributeUserId http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn -samlEntityId 9822314-dev -samlHostUri https://dataviz.gcp.cloud.uk/ -samlSigningAlgorithm sha256 -sessionInactivityTimeout 30 -loadBalancingServerNodes ce4e22bd-b472-466e-b9c2-e8c004dc644d -websocketCrossOriginWhiteList dataviz.gcp.cloud.uk -samlAttributeMap $hash
&lt;/LI-CODE&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>Wed, 23 Jun 2021 12:29:35 GMT</pubDate>
    <dc:creator>jshashiv</dc:creator>
    <dc:date>2021-06-23T12:29:35Z</dc:date>
    <item>
      <title>SAML Attribute Map from QlikCli</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/SAML-Attribute-Map-from-QlikCli/m-p/1817320#M15142</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I m creating SAML virtual proxy from Qlik-cli and got stuck as SAML attribute map parameter. This parameter takes hashtable as input so i used below code . In powershell, I created variable &lt;STRONG&gt;$hash&lt;/STRONG&gt; and provided all the required parameters . I am passing this $hash to -samlAttributeMap (please check at end of the script).&amp;nbsp;&lt;/P&gt;&lt;P&gt;After executing the script, I m getting error "The remote server returned an error: (400) Bad Request". Can anyone please help me how to achieve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;Connect-Qlik -TrustAllCerts

$hash = @{ Role = "http://schemas.microsoft.com/ws/2008/06/identity/claims/role"; Email = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"; Name = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"}

New-QlikVirtualProxy -description SAML_rim -sessionCookieHeaderName X-Qlik-Session-SAML -authenticationMethod SAML -prefix saml -samlAttributeUserDirectory [SAML] -samlAttributeUserId http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn -samlEntityId 9822314-dev -samlHostUri https://dataviz.gcp.cloud.uk/ -samlSigningAlgorithm sha256 -sessionInactivityTimeout 30 -loadBalancingServerNodes ce4e22bd-b472-466e-b9c2-e8c004dc644d -websocketCrossOriginWhiteList dataviz.gcp.cloud.uk -samlAttributeMap $hash
&lt;/LI-CODE&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>Wed, 23 Jun 2021 12:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/SAML-Attribute-Map-from-QlikCli/m-p/1817320#M15142</guid>
      <dc:creator>jshashiv</dc:creator>
      <dc:date>2021-06-23T12:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAML Attribute Map from QlikCli</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/SAML-Attribute-Map-from-QlikCli/m-p/1819675#M15202</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79600"&gt;@jshashiv&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation on this JSON structure is available here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/APIs/RepositoryServiceAPI/index.html?page=1860" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/APIs/RepositoryServiceAPI/index.html?page=1860&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are unsure about how it should be, you can also check it in the browser devtools when you try to perform the same action in the QMC.&lt;/P&gt;&lt;P&gt;I can see that the structure should be the following:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[{"samlAttribute":"attribute1","senseAttribute":"attributesense1","isMandatory":true},{"samlAttribute":"attribute2","senseAttribute":"attributesense2","isMandatory":true}]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Damien_Villaret_0-1625468629810.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57972i43CD5B224E206251/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Damien_Villaret_0-1625468629810.png" alt="Damien_Villaret_0-1625468629810.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/SAML-Attribute-Map-from-QlikCli/m-p/1819675#M15202</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-07-05T07:06:23Z</dc:date>
    </item>
  </channel>
</rss>

