<?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 SVM Connected NetApp ONTAP Powershell Toolkit, Get-NcVol returns 403 Errors when QoS policy applied in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SVM-Connected-NetApp-ONTAP-Powershell-Toolkit-Get-NcVol-returns-403-Errors-when/m-p/467368#M7122</link>
    <description>&lt;P&gt;Troubleshooting: enabled PSTK debugging&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ERROR DataONTAP.C.PowerShell.SDK.NcRestInterface - The remote server returned an error: (403) Forbidden.&lt;/LI&gt;&lt;LI&gt;ONTAP does not allow the QoS commands to be assigned to any role at the SVM level – so&amp;nbsp; can’t fix this by adding a permission&lt;/LI&gt;&lt;LI&gt;Although ZAPI works, dropping back to using ZAPI is not a viable solution, as it’s only maintained for “legacy” and on a sunset path&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;To reproduce&lt;/STRONG&gt;&lt;BR /&gt;a. Install PowerShell toolkit&lt;BR /&gt;b. Setup vsadmin user on an SVM&lt;BR /&gt;c. Setup management lif on the SVM&lt;BR /&gt;d. Connect to the SVM management lif with the vsadmin account (or account with vsadmin assigned)&lt;BR /&gt;e. Execute Get-NcVol, with no QoS policies applied – success, no errors&lt;BR /&gt;f. Apply QoS policy or Adaptive QoS policy to a volume&lt;BR /&gt;g. Execute Get-NcVol again, 403 error occurs&lt;BR /&gt;h. Enable debug level logging, Set-NaToolKitConfiguration -LogLevel DEBUG&lt;BR /&gt;i. Note the qos/policies endpoint being attempted&lt;/P&gt;&lt;P&gt;Reproduced using PowerShell Toolkit 9.15.1, 9.16.1, and 9.17.1 – connecting to ONTAP 9.16.1P8 and ONTAP 9.17.1P7&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Idea/suggestions on long term fix?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2026 15:35:24 GMT</pubDate>
    <dc:creator>GlennW</dc:creator>
    <dc:date>2026-05-22T15:35:24Z</dc:date>
    <item>
      <title>SVM Connected NetApp ONTAP Powershell Toolkit, Get-NcVol returns 403 Errors when QoS policy applied</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SVM-Connected-NetApp-ONTAP-Powershell-Toolkit-Get-NcVol-returns-403-Errors-when/m-p/467368#M7122</link>
      <description>&lt;P&gt;Troubleshooting: enabled PSTK debugging&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ERROR DataONTAP.C.PowerShell.SDK.NcRestInterface - The remote server returned an error: (403) Forbidden.&lt;/LI&gt;&lt;LI&gt;ONTAP does not allow the QoS commands to be assigned to any role at the SVM level – so&amp;nbsp; can’t fix this by adding a permission&lt;/LI&gt;&lt;LI&gt;Although ZAPI works, dropping back to using ZAPI is not a viable solution, as it’s only maintained for “legacy” and on a sunset path&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;To reproduce&lt;/STRONG&gt;&lt;BR /&gt;a. Install PowerShell toolkit&lt;BR /&gt;b. Setup vsadmin user on an SVM&lt;BR /&gt;c. Setup management lif on the SVM&lt;BR /&gt;d. Connect to the SVM management lif with the vsadmin account (or account with vsadmin assigned)&lt;BR /&gt;e. Execute Get-NcVol, with no QoS policies applied – success, no errors&lt;BR /&gt;f. Apply QoS policy or Adaptive QoS policy to a volume&lt;BR /&gt;g. Execute Get-NcVol again, 403 error occurs&lt;BR /&gt;h. Enable debug level logging, Set-NaToolKitConfiguration -LogLevel DEBUG&lt;BR /&gt;i. Note the qos/policies endpoint being attempted&lt;/P&gt;&lt;P&gt;Reproduced using PowerShell Toolkit 9.15.1, 9.16.1, and 9.17.1 – connecting to ONTAP 9.16.1P8 and ONTAP 9.17.1P7&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Idea/suggestions on long term fix?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2026 15:35:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SVM-Connected-NetApp-ONTAP-Powershell-Toolkit-Get-NcVol-returns-403-Errors-when/m-p/467368#M7122</guid>
      <dc:creator>GlennW</dc:creator>
      <dc:date>2026-05-22T15:35:24Z</dc:date>
    </item>
  </channel>
</rss>

