<?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 Custom role with Remove-NcSnapshot returning error 403, but still deletes snapshots in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Custom-role-with-Remove-NcSnapshot-returning-error-403-but-still-deletes/m-p/463658#M7090</link>
    <description>&lt;P&gt;I created a new role that should only have snapshot permissions to volumes ending with _stg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;security login role create -role stg-admin -vserver dc -cmddirname "volume" -access readonly&lt;BR /&gt;security login role create -role stg-admin -vserver dc -cmddirname "vserver" -access readonly&lt;BR /&gt;security login role create -role stg-admin -vserver dc -cmddirname "network interface" -access readonly&lt;BR /&gt;security login role create -role stg-admin -vserver dc -cmddirname "volume snapshot" -query "-volume *_stg" -access all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A new user with that role is not able to delete a random snapshot for vol1, but is able to delete snapshots from vol2_stg. So permissions are working properly. The problem is I'm getting "&lt;SPAN&gt;Remove-NcSnapshot : [403]: not authorized for that command" on both examples, even when it does successfully delete the vol2_stg vol snapshot. Am I missing a permission it's expecting even though it is successfully deleting them? Or is this a bug in&amp;nbsp;NetApp.ONTAP module?&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 23:46:26 GMT</pubDate>
    <dc:creator>DAU</dc:creator>
    <dc:date>2025-10-14T23:46:26Z</dc:date>
    <item>
      <title>Custom role with Remove-NcSnapshot returning error 403, but still deletes snapshots</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Custom-role-with-Remove-NcSnapshot-returning-error-403-but-still-deletes/m-p/463658#M7090</link>
      <description>&lt;P&gt;I created a new role that should only have snapshot permissions to volumes ending with _stg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;security login role create -role stg-admin -vserver dc -cmddirname "volume" -access readonly&lt;BR /&gt;security login role create -role stg-admin -vserver dc -cmddirname "vserver" -access readonly&lt;BR /&gt;security login role create -role stg-admin -vserver dc -cmddirname "network interface" -access readonly&lt;BR /&gt;security login role create -role stg-admin -vserver dc -cmddirname "volume snapshot" -query "-volume *_stg" -access all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A new user with that role is not able to delete a random snapshot for vol1, but is able to delete snapshots from vol2_stg. So permissions are working properly. The problem is I'm getting "&lt;SPAN&gt;Remove-NcSnapshot : [403]: not authorized for that command" on both examples, even when it does successfully delete the vol2_stg vol snapshot. Am I missing a permission it's expecting even though it is successfully deleting them? Or is this a bug in&amp;nbsp;NetApp.ONTAP module?&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 23:46:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Custom-role-with-Remove-NcSnapshot-returning-error-403-but-still-deletes/m-p/463658#M7090</guid>
      <dc:creator>DAU</dc:creator>
      <dc:date>2025-10-14T23:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom role with Remove-NcSnapshot returning error 403, but still deletes snapshots</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Custom-role-with-Remove-NcSnapshot-returning-error-403-but-still-deletes/m-p/463705#M7097</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/124344"&gt;@DAU&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you advise what version of ONTAP you are using?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 22:18:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Custom-role-with-Remove-NcSnapshot-returning-error-403-but-still-deletes/m-p/463705#M7097</guid>
      <dc:creator>chamfer</dc:creator>
      <dc:date>2025-10-15T22:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom role with Remove-NcSnapshot returning error 403, but still deletes snapshots</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Custom-role-with-Remove-NcSnapshot-returning-error-403-but-still-deletes/m-p/463717#M7098</link>
      <description>&lt;P&gt;We're on&amp;nbsp;&lt;SPAN&gt;9.15.1P11&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 15:02:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Custom-role-with-Remove-NcSnapshot-returning-error-403-but-still-deletes/m-p/463717#M7098</guid>
      <dc:creator>DAU</dc:creator>
      <dc:date>2025-10-16T15:02:37Z</dc:date>
    </item>
  </channel>
</rss>

