<?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 Not supported for REST call in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445057#M6769</link>
    <description>&lt;P&gt;&amp;nbsp;We have upgraded from ONTAP&amp;nbsp;9.9.1P10 to&amp;nbsp;9.11.1P9.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have extensively used the PowerShell Toolkit for automation. After the upgrade many command stopped working, where we received errors that the switch isn't support. We even tried downgrading the toolkit to the previous version but that didn't help against 9.11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is one example, where the switch isn't supported:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;New-NcVol -ExcludedFromAutobalance&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example of a switch within command which is no longer working:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;Get-NcEmsMessage -StartTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;We get this error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There was an error Get NcEmsMessage System.ArgumentException: StartTime parameter specified, which is not supported for REST call at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord) At line:526 char:19 For: $Events = Get-NcEmsMessage -StartTime $startdate | Where-Object { $_.MessageName -notin $Ignore } Reason: ArgumentException, Activity: Get-NcEmsMessage, Category: InvalidArgument&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see on the site (&lt;A href="https://docs.netapp.com/us-en/ontap-restmap-9111/volume.html#volume-encryption-conversion-start" target="_blank"&gt;https://docs.netapp.com/us-en/ontap-restmap-9111/volume.html#volume-encryption-conversion-start&lt;/A&gt;) that some of the commands say:&amp;nbsp;&lt;EM&gt;No REST Equivalent&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But we know 100% these commands worked before the upgrade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has the Toolkit/REST API been limited?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:48:11 GMT</pubDate>
    <dc:creator>reuvygroovy</dc:creator>
    <dc:date>2025-06-04T09:48:11Z</dc:date>
    <item>
      <title>Not supported for REST call</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445057#M6769</link>
      <description>&lt;P&gt;&amp;nbsp;We have upgraded from ONTAP&amp;nbsp;9.9.1P10 to&amp;nbsp;9.11.1P9.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have extensively used the PowerShell Toolkit for automation. After the upgrade many command stopped working, where we received errors that the switch isn't support. We even tried downgrading the toolkit to the previous version but that didn't help against 9.11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is one example, where the switch isn't supported:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;New-NcVol -ExcludedFromAutobalance&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example of a switch within command which is no longer working:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;Get-NcEmsMessage -StartTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;We get this error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There was an error Get NcEmsMessage System.ArgumentException: StartTime parameter specified, which is not supported for REST call at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord) At line:526 char:19 For: $Events = Get-NcEmsMessage -StartTime $startdate | Where-Object { $_.MessageName -notin $Ignore } Reason: ArgumentException, Activity: Get-NcEmsMessage, Category: InvalidArgument&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see on the site (&lt;A href="https://docs.netapp.com/us-en/ontap-restmap-9111/volume.html#volume-encryption-conversion-start" target="_blank"&gt;https://docs.netapp.com/us-en/ontap-restmap-9111/volume.html#volume-encryption-conversion-start&lt;/A&gt;) that some of the commands say:&amp;nbsp;&lt;EM&gt;No REST Equivalent&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But we know 100% these commands worked before the upgrade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has the Toolkit/REST API been limited?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:48:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445057#M6769</guid>
      <dc:creator>reuvygroovy</dc:creator>
      <dc:date>2025-06-04T09:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Not supported for REST call</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445080#M6770</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/106589"&gt;@reuvygroovy&lt;/a&gt;. If you find that you're not getting the answer in a timely manner over here in the Community, you might find some success over in the Powershell Toolkit channel in our Discord. If you'd like, you can join us here: &lt;A href="https://netappdiscord.com" target="_blank"&gt;https://netappdiscord.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 14:50:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445080#M6770</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2023-06-08T14:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Not supported for REST call</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445104#M6771</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try using the -Ontapi parameter when connecting to the cluster using Connect-NcController then test the command you are having problems with? By default the latest version of the PSTK will do an ONTAP version check and if running &amp;gt;= ONTAP 9.6 it will attempt to use REST API's unless you explicitly tell it not to by using the -Ontapi parameter which tells the PSTK to revert to using ZAPI for CmdLet's with the context of the cluster connection. That might be a temporary solution for you but longer term ZAPI is being removed in ONTAP 9.13 so you would need to use REST API CLI pass through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps explain it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 02:33:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445104#M6771</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2023-06-09T02:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Not supported for REST call</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445200#M6772</link>
      <description>Hi, We need support ongoing. ZAPI is being phased out. Also, before the upgrade to 9.11, we were on 9.9.1P10 and we were able to run the command without the -Ontapi switch.</description>
      <pubDate>Tue, 13 Jun 2023 09:15:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Not-supported-for-REST-call/m-p/445200#M6772</guid>
      <dc:creator>reuvygroovy</dc:creator>
      <dc:date>2023-06-13T09:15:01Z</dc:date>
    </item>
  </channel>
</rss>

