<?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: Getting started with PSTK 9.11.1 and REST in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440411#M6648</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried a different test, to try and find out why this login does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another Ontap cluster which is running 9.8P12.&amp;nbsp; It has a domain user with admin role and http,ontapi,and ssh applications enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using our current PSTK v9.7.1, and performing 'connect-nccontroller &amp;lt;clustername&amp;gt;', I provide the domain username and password.&amp;nbsp; It connects no problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use the new PSTK 9.11.1, and perform the same exact steps as above, I get a (401) Unathorized error.&amp;nbsp; It is using REST by default.&lt;/P&gt;&lt;P&gt;If I use the new PSTK 9.11.1, and perform 'connect-nccontroller &amp;lt;clustername&amp;gt; -ontapi', the connection does succeed using ONTAPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This seems to indicate that PSTK 9.11.1 is having issues connecting to a cluster using a domain credential and REST.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else had any success, or can provide an example of, PSTK 9.11.1 connecting to a cluster using domain credentials and REST?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2022 16:55:39 GMT</pubDate>
    <dc:creator>StevePutre</dc:creator>
    <dc:date>2022-12-08T16:55:39Z</dc:date>
    <item>
      <title>Getting started with PSTK 9.11.1 and REST</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440377#M6643</link>
      <description>&lt;P&gt;I have been attempting to get started with teh above version of PSTK, to get away from ZAPI and onto REST.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set up a clean Windows environment and installed the PSTK module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My test cluster is running OnTAP 9.10.1p8.&amp;nbsp; I can connect just fine to it using ZAPI; but when I try to use this version of the toolkit, I get &lt;STRONG&gt;401 authorization error.&lt;/STRONG&gt;&amp;nbsp; The user I am using has an admin role, so should have access to all APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to find some specific documentation/examples, but have not found any yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hve a lot of background with PSTK and ZAPI, so I just need to know what is different using REST.&amp;nbsp; Can anyone direct me to some use examples?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is 'connect-nccontroller' still used with REST?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:54:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440377#M6643</guid>
      <dc:creator>StevePutre</dc:creator>
      <dc:date>2025-06-04T09:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with PSTK 9.11.1 and REST</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440380#M6644</link>
      <description>&lt;P&gt;I think you might need to create a "rest role" - Ensure that "rest-role" exists with appropriate privileges and is applied to specific user/group for http access via security login.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please see this kb:&lt;BR /&gt;Calls to ONTAP 9.6+ REST API fail with 401 error or repeated password request&lt;BR /&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Calls_to_ONTAP_9.6__REST_API_fail_with_401_error_or_repeated_password_request" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Calls_to_ONTAP_9.6__REST_API_fail_with_401_error_or_repeated_password_request&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to NetApp documentation - You should be able to connect to storage using the existing ps cmdlet "Connect-NcController" and once connected then I think it uses 'curl command' within Powershell which invokes the GET /api/* or may be.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PowerShell Toolkit:&lt;BR /&gt;For existing ONTAP PowerShell Toolkit customers, the transition from ONTAPI to the ONTAP REST API will be managed internally by the tool itself. By FY22 Q4 timeframe , the ONTAP PowerShell Toolkit will prompt users for ONTAPI or ONTAP REST API usage, according to the underlying ONTAP version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related info:&lt;BR /&gt;&lt;A href="https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Custom-user-not-authorized-for-REST-API-but-it-is/m-p/435822" target="_blank"&gt;https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Custom-user-not-authorized-for-REST-API-but-it-is/m-p/435822&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following lab on support site will be helpful to get your started (They may be old).&lt;BR /&gt;&lt;A href="https://handsonlabs.netapp.com/lab/ontap-PS-auto" target="_blank"&gt;https://handsonlabs.netapp.com/lab/ontap-PS-auto&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://handsonlabs.netapp.com/system/files/lab_guides/exploring_the_ontap_rest_api.pdf" target="_blank"&gt;https://handsonlabs.netapp.com/system/files/lab_guides/exploring_the_ontap_rest_api.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to access the ONTAP REST API&lt;BR /&gt;&lt;A href="https://www.netapp.com/blog/transform-automation-ontap-rest-api/#powershell_toolkiit" target="_blank"&gt;https://www.netapp.com/blog/transform-automation-ontap-rest-api/#powershell_toolkiit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.netapp.com/us-en/ontap-automation/rest/access_rest_api.html#network-considerations" target="_blank"&gt;https://docs.netapp.com/us-en/ontap-automation/rest/access_rest_api.html#network-considerations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 19:51:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440380#M6644</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-12-07T19:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with PSTK 9.11.1 and REST</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440385#M6645</link>
      <description>&lt;P&gt;As an experiment, I created a new local user with the same role, but with 'password' authentication and application=http.&amp;nbsp; This local user can connect through PSTK just fine.&lt;/P&gt;&lt;P&gt;However my original user, which was a domain user, is still getting denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some kind of limitation with PSTK that it cannot use domain logins with REST?&amp;nbsp; They work fine with ONTAPI.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 21:25:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440385#M6645</guid>
      <dc:creator>StevePutre</dc:creator>
      <dc:date>2022-12-07T21:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with PSTK 9.11.1 and REST</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440388#M6646</link>
      <description>&lt;P&gt;What rights does the domain-user have on the netapp?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;::&amp;gt; security login show -user Domain\ADUser&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Related:&lt;BR /&gt;&lt;A href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-do-I-connect-to-a-Cluster-Mode-filer-using-Connect-NcController/m-p/106050" target="_blank"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-do-I-connect-to-a-Cluster-Mode-filer-using-Connect-NcController/m-p/106050&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/connect-nccontroller-without-password-prompt/m-p/155831" target="_blank"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/connect-nccontroller-without-password-prompt/m-p/155831&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 01:06:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440388#M6646</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-12-08T01:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with PSTK 9.11.1 and REST</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440406#M6647</link>
      <description>&lt;P&gt;The domain user had the role 'admin'.&amp;nbsp; The associated rest-role is automatically defined, so the domain user should have admin rights through REST.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 14:19:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440406#M6647</guid>
      <dc:creator>StevePutre</dc:creator>
      <dc:date>2022-12-08T14:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with PSTK 9.11.1 and REST</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440411#M6648</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried a different test, to try and find out why this login does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another Ontap cluster which is running 9.8P12.&amp;nbsp; It has a domain user with admin role and http,ontapi,and ssh applications enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using our current PSTK v9.7.1, and performing 'connect-nccontroller &amp;lt;clustername&amp;gt;', I provide the domain username and password.&amp;nbsp; It connects no problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use the new PSTK 9.11.1, and perform the same exact steps as above, I get a (401) Unathorized error.&amp;nbsp; It is using REST by default.&lt;/P&gt;&lt;P&gt;If I use the new PSTK 9.11.1, and perform 'connect-nccontroller &amp;lt;clustername&amp;gt; -ontapi', the connection does succeed using ONTAPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This seems to indicate that PSTK 9.11.1 is having issues connecting to a cluster using a domain credential and REST.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else had any success, or can provide an example of, PSTK 9.11.1 connecting to a cluster using domain credentials and REST?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 16:55:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Getting-started-with-PSTK-9-11-1-and-REST/m-p/440411#M6648</guid>
      <dc:creator>StevePutre</dc:creator>
      <dc:date>2022-12-08T16:55:39Z</dc:date>
    </item>
  </channel>
</rss>

