<?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: Connect-NcController : API invoke Failed - Error When Logging in With Powershell to SVM in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Connect-NcController-API-invoke-Failed-Error-When-Logging-in-With-Powershell-to/m-p/459167#M44774</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Users\user\Scripts&amp;gt; Connect-NcController &amp;lt;SVM_IP&amp;gt; -Credential snapcenter -Vserver &amp;lt;Svm_Name&amp;gt;&lt;/P&gt;&lt;P&gt;PowerShell credential request&lt;BR /&gt;Enter your credentials.&lt;BR /&gt;Password for user snapcenter: ************&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Name Address Vserver Version&lt;BR /&gt;---- ------- ------- -------&lt;BR /&gt;&amp;lt;SVM_IP&amp;gt; &amp;lt;SVM_IP&amp;gt; &amp;lt;SVM_Name&amp;gt; NetApp Release 9.14.1P10: Thu Nov 28 12:32:16 UTC 2024&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Users\user\Scripts&amp;gt; Get-NcVol -ONTAPI| select Vserver, Name&lt;/P&gt;&lt;P&gt;Vserver Name&lt;BR /&gt;------- ----&lt;BR /&gt;svm_name prod_data&lt;BR /&gt;svm_name prod_data2&lt;BR /&gt;svm_name svm_name_rootvol&lt;BR /&gt;svm_name svm_name_rootvol_ls1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What version is your Ontap? and PSTK?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2025 02:34:29 GMT</pubDate>
    <dc:creator>Sanaman</dc:creator>
    <dc:date>2025-03-06T02:34:29Z</dc:date>
    <item>
      <title>Connect-NcController : API invoke Failed - Error When Logging in With Powershell to SVM</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Connect-NcController-API-invoke-Failed-Error-When-Logging-in-With-Powershell-to/m-p/459163#M44773</link>
      <description>&lt;P&gt;We are getting these errors when we try to connect directly via powershell to the SVM.&amp;nbsp; If we connect to the higher-level controller and SVM, it works.&amp;nbsp; This used to work in former versions of ONTAP.&amp;nbsp; Trying to avoid changing scripts unless I have to. Anybody know how to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Connect-NcController svmName -Credential vsadmin -vserver SVMName&lt;/DIV&gt;&lt;DIV&gt;Connect-NcController : API invoke failed:The underlying connection was closed: An unexpected error occurred on a send.&lt;/DIV&gt;&lt;DIV&gt;At line:1 char:1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Connect-NcController&amp;nbsp; Device -Credential admin -vserver SVMName - this works&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Mar 2025 21:20:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Connect-NcController-API-invoke-Failed-Error-When-Logging-in-With-Powershell-to/m-p/459163#M44773</guid>
      <dc:creator>ZBasile</dc:creator>
      <dc:date>2025-03-05T21:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Connect-NcController : API invoke Failed - Error When Logging in With Powershell to SVM</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Connect-NcController-API-invoke-Failed-Error-When-Logging-in-With-Powershell-to/m-p/459167#M44774</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Users\user\Scripts&amp;gt; Connect-NcController &amp;lt;SVM_IP&amp;gt; -Credential snapcenter -Vserver &amp;lt;Svm_Name&amp;gt;&lt;/P&gt;&lt;P&gt;PowerShell credential request&lt;BR /&gt;Enter your credentials.&lt;BR /&gt;Password for user snapcenter: ************&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Name Address Vserver Version&lt;BR /&gt;---- ------- ------- -------&lt;BR /&gt;&amp;lt;SVM_IP&amp;gt; &amp;lt;SVM_IP&amp;gt; &amp;lt;SVM_Name&amp;gt; NetApp Release 9.14.1P10: Thu Nov 28 12:32:16 UTC 2024&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Users\user\Scripts&amp;gt; Get-NcVol -ONTAPI| select Vserver, Name&lt;/P&gt;&lt;P&gt;Vserver Name&lt;BR /&gt;------- ----&lt;BR /&gt;svm_name prod_data&lt;BR /&gt;svm_name prod_data2&lt;BR /&gt;svm_name svm_name_rootvol&lt;BR /&gt;svm_name svm_name_rootvol_ls1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What version is your Ontap? and PSTK?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 02:34:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Connect-NcController-API-invoke-Failed-Error-When-Logging-in-With-Powershell-to/m-p/459167#M44774</guid>
      <dc:creator>Sanaman</dc:creator>
      <dc:date>2025-03-06T02:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connect-NcController : API invoke Failed - Error When Logging in With Powershell to SVM</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Connect-NcController-API-invoke-Failed-Error-When-Logging-in-With-Powershell-to/m-p/459177#M44777</link>
      <description>&lt;P&gt;We are on&amp;nbsp;&lt;SPAN&gt;NetApp Release 9.15.1P6.&amp;nbsp; Powershell_9.16.1.&amp;nbsp; What perms does you snapcenter account use?&amp;nbsp; We are using vsadmin account with vsadmin roles.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 14:54:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Connect-NcController-API-invoke-Failed-Error-When-Logging-in-With-Powershell-to/m-p/459177#M44777</guid>
      <dc:creator>ZBasile</dc:creator>
      <dc:date>2025-03-06T14:54:23Z</dc:date>
    </item>
  </channel>
</rss>

