<?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: Administrators bulk add via mgmt_cli in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123005#M5989</link>
    <description>&lt;P&gt;Thanks! That helped my memory.&lt;BR /&gt;&lt;BR /&gt;dos2unix fixed it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 15:26:21 GMT</pubDate>
    <dc:creator>Juan_</dc:creator>
    <dc:date>2021-07-05T15:26:21Z</dc:date>
    <item>
      <title>Administrators bulk add via mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/122992#M5987</link>
      <description>&lt;P&gt;Hi Buddies,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to add multiple administrators in one go via mgmt_cli but something is going wrong.&lt;BR /&gt;&lt;BR /&gt;Not sure if its a bug or there is a different reason for the failure.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We Run:&lt;UL&gt;&lt;LI&gt;mgmt_cli add administrator name "username" password "password" email "username@xyz.com" authentication-method "check point password" permissions-profile "Read Write All" --domain 'System Data'&lt;UL&gt;&lt;LI&gt;This works fine&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;If we run:&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;mgmt_cli add administrator --batch administrators.csv --domain 'System data'&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;SPAN&gt;Fails with:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;SPAN&gt;Line 2: code: "generic_err_invalid_parameter_name"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;message: "Unrecognized parameter [name]"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Our CSV looks like this:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;name,password,email,authentication-method,permissions-profile&lt;/DIV&gt;&lt;DIV&gt;username,password,username@xyz.com,'check point password','Super User'&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Have tried on R80.40 and 20.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any suggestion?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Jul 2021 14:11:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/122992#M5987</guid>
      <dc:creator>Juan_</dc:creator>
      <dc:date>2021-07-05T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Administrators bulk add via mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123001#M5988</link>
      <description>&lt;P&gt;It should be failing on line 1 if the header row is wrong.&lt;BR /&gt;Which suggests you have an extra line feed in your CSV file.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 15:05:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123001#M5988</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-07-05T15:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Administrators bulk add via mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123005#M5989</link>
      <description>&lt;P&gt;Thanks! That helped my memory.&lt;BR /&gt;&lt;BR /&gt;dos2unix fixed it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 15:26:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123005#M5989</guid>
      <dc:creator>Juan_</dc:creator>
      <dc:date>2021-07-05T15:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Administrators bulk add via mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123006#M5990</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created your file with quotations marks instead of apostrophes in the following way and it worked:&lt;/P&gt;
&lt;DIV&gt;name,password,email,authentication-method,permissions-profile&lt;/DIV&gt;
&lt;DIV&gt;username,password,username@xyz.com,"check point password","Super User"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Also worked without the quotation marks:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;name,password,email,authentication-method,permissions-profile&lt;/DIV&gt;
&lt;DIV&gt;username,password,username@xyz.com,check point password,Super User&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 15:29:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123006#M5990</guid>
      <dc:creator>Tal_Paz-Fridman</dc:creator>
      <dc:date>2021-07-05T15:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Administrators bulk add via mgmt_cli</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123007#M5991</link>
      <description>&lt;P&gt;Thanks mate! as explained above the issue was with the format. dos2unix did the trick&lt;BR /&gt;&lt;BR /&gt;I think we transferred the file out of excel directly. (ugh!)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 15:33:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Administrators-bulk-add-via-mgmt-cli/m-p/123007#M5991</guid>
      <dc:creator>Juan_</dc:creator>
      <dc:date>2021-07-05T15:33:40Z</dc:date>
    </item>
  </channel>
</rss>

