<?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: Security Login Create in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129612#M5325</link>
    <description>&lt;P&gt;^^&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Agree, use built-in cmdlet's when possible&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2017 13:46:38 GMT</pubDate>
    <dc:creator>JGPSHNTAP</dc:creator>
    <dc:date>2017-03-30T13:46:38Z</dc:date>
    <item>
      <title>Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129608#M5322</link>
      <description>&lt;P&gt;All, I am trying to configure AD group authentication for my controllers. When I run the following command below from the CLI it works with no issues and the group is added:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;security login create -user-or-group-name "PIE\PIE Storage Admin" -application ssh -authentication-method domain -role admin -vserver CLUSTERNAME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I try the same syntax using poweshell, I get an error stating that "storage" is not a "-application" parameter. The code I am using for the powershell is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-NcSsh security login create -user-or-group-name "PIE\PIE Storage Admin" -application ssh -authentication-method domain -role admin -vserver $clustername&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on this would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:15:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129608#M5322</guid>
      <dc:creator>drwoodberry</dc:creator>
      <dc:date>2025-06-04T15:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129609#M5323</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8646"&gt;@drwoodberry&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why not use the New-NcUser cmdlet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;New-NcUser -UserName 'PIE\PIE Storage Admin' -Application ssh -AuthMethod domain -Role admin -Vserver $clusername&lt;/PRE&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:42:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129609#M5323</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-03-30T13:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129611#M5324</link>
      <description>&lt;P&gt;&lt;FONT face="trebuchet ms,geneva"&gt;The CLI command needs to be within quotes - here the problem is PowerShell thinks "Application" is a parameter for Invoke-NcSSH cmdlet.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="trebuchet ms,geneva"&gt;Try using it like this - should work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$cmd = "security login create -user-or-group-name `"PIE\PIE Storage Admin`" -application ssh -authentication-method domain -role admin -vserver $clustername"
Invoke-NcSSH $cmd&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="trebuchet ms,geneva"&gt;I second Andrew's suggestion of using the New-NcUser cmdlet instead though - it's always better to use a PSTK cmdlet than use the passthrough.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:46:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129611#M5324</guid>
      <dc:creator>Aparajita</dc:creator>
      <dc:date>2017-03-30T13:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129612#M5325</link>
      <description>&lt;P&gt;^^&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Agree, use built-in cmdlet's when possible&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:46:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129612#M5325</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2017-03-30T13:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129613#M5326</link>
      <description>&lt;P&gt;I did not even think about that. I was looking in the wrong place for the commandlets and just brain farted. That was simple to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the assist.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:47:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129613#M5326</guid>
      <dc:creator>drwoodberry</dc:creator>
      <dc:date>2017-03-30T13:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129614#M5327</link>
      <description>&lt;P&gt;It appears that sometimes it assumes a parameter is part of the command and other times it does not. I use InVoke-NcSsh a few times in my scripts and usually any options within the command are not seen as a parameter to the InVoke-NcSsh commandlet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I apprecuate the help.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:51:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129614#M5327</guid>
      <dc:creator>drwoodberry</dc:creator>
      <dc:date>2017-03-30T13:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129646#M5329</link>
      <description>&lt;P&gt;The other thing to note in your scripting is that you had a single backslach '\'. &amp;nbsp;In most scripting languages the backslash is interpreted as the start of an escape sequence. &amp;nbsp;In order to have a backslash be interpreted not as the escape sequence, you need to use a double backslash '\\'.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 23:22:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129646#M5329</guid>
      <dc:creator>Andre_Clark</dc:creator>
      <dc:date>2017-03-30T23:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Security Login Create</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129662#M5330</link>
      <description>&lt;P&gt;Hello everyone, thanks in advance for your assistance.&amp;nbsp; I hope someone can assist me here. I am also running into the same issue here, I am trying to create an admin user here with full previleages, I keppt running into these errors. I have tried multiple ways, still getting the smae errors. Can someone be kind enough to help here These are my errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; security login create -vserver -vserver vs1 John.Doe monitor -application ontapi -authmethod password -role vsadmin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Missing value for -vserver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; security login create -vserver -vserver1 John.Doe monitor -application ontapi -authmethod password -role vsadmin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Vserver name: Invalid. The Vserver name must begin with a letter or an underscore. Maximum supported length: 41 if Vserver is type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "sync-source", 47 otherwise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; security login create -vserver vs1 John.Doe monitor -application http -authmethod cert -role admin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: "monitor" is an invalid value for field "-application &amp;lt;text&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster1::&amp;gt; security login create -vserver vs1 John.Doe admin -application http -authmethod cert -role admin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: "admin" is an invalid value for field "-application &amp;lt;text&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ucluster1::&amp;gt; security login create -vserver vs1 John.Doe administrator -application&amp;nbsp;ssh -authmethod cert -role admin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: "administrator" is an invalid value for field "-application &amp;lt;text&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ucluster1::&amp;gt; security login create -vserver vs1 John.Doe vsadmin -application&amp;nbsp;ssh cert -role admin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: "vsadmin" is an invalid value for field "-application &amp;lt;text&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ucluster1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks everyone for your assistance&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 11:06:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Security-Login-Create/m-p/129662#M5330</guid>
      <dc:creator>windycity_1</dc:creator>
      <dc:date>2017-03-31T11:06:08Z</dc:date>
    </item>
  </channel>
</rss>

