<?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 Snapcenter 4.6 Flexclone operation via Powershell Cmdlet in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Snapcenter-4-6-Flexclone-operation-via-Powershell-Cmdlet/m-p/435027#M13622</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;we are using Snapcenter Powershell Cmdlets to deploy on-demand Flexclones of our ERP database for testing purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After updating our Snapcenter installation to version 4.6, the cmdlet "Add-SmCloneJob" fails with error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Add-SmCloneJob : Operation unauthorized. The user you are trying to operate does not have a valid token.&lt;BR /&gt;In Zeile:1 Zeichen:15&lt;BR /&gt;+ ... mclonejob = Add-SmCloneJob $instance -PluginCode SMSQL -ClonetoInstan ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (SnapManager.Client.PSModule.AddCloneJob:AddCloneJob) [Add-SmCloneJob], Exception&lt;BR /&gt;+ FullyQualifiedErrorId : -1,SnapManager.Client.PSModule.AddCloneJob&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resourcegroup is created in Snapcenter - but no clone operations are triggered. No authentication error, while login to Snapcenter via Powershell. Username and password are correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas? Im not sure what's meant with "token" in this context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All this works in further versions of Snapcenter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets&lt;/P&gt;&lt;P&gt;Tobi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:00:59 GMT</pubDate>
    <dc:creator>tbshpgn</dc:creator>
    <dc:date>2025-06-04T10:00:59Z</dc:date>
    <item>
      <title>Snapcenter 4.6 Flexclone operation via Powershell Cmdlet</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snapcenter-4-6-Flexclone-operation-via-Powershell-Cmdlet/m-p/435027#M13622</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;we are using Snapcenter Powershell Cmdlets to deploy on-demand Flexclones of our ERP database for testing purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After updating our Snapcenter installation to version 4.6, the cmdlet "Add-SmCloneJob" fails with error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Add-SmCloneJob : Operation unauthorized. The user you are trying to operate does not have a valid token.&lt;BR /&gt;In Zeile:1 Zeichen:15&lt;BR /&gt;+ ... mclonejob = Add-SmCloneJob $instance -PluginCode SMSQL -ClonetoInstan ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (SnapManager.Client.PSModule.AddCloneJob:AddCloneJob) [Add-SmCloneJob], Exception&lt;BR /&gt;+ FullyQualifiedErrorId : -1,SnapManager.Client.PSModule.AddCloneJob&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resourcegroup is created in Snapcenter - but no clone operations are triggered. No authentication error, while login to Snapcenter via Powershell. Username and password are correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas? Im not sure what's meant with "token" in this context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All this works in further versions of Snapcenter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets&lt;/P&gt;&lt;P&gt;Tobi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:00:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snapcenter-4-6-Flexclone-operation-via-Powershell-Cmdlet/m-p/435027#M13622</guid>
      <dc:creator>tbshpgn</dc:creator>
      <dc:date>2025-06-04T10:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Snapcenter 4.6 Flexclone operation via Powershell Cmdlet</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snapcenter-4-6-Flexclone-operation-via-Powershell-Cmdlet/m-p/435243#M13632</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/55233"&gt;@tbshpgn&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you able to perform a clone from the Snapcenter GUI or only erroring out when doing it via powershell?&lt;/P&gt;&lt;P&gt;For security, a token is usually passed with each request and in used in all API calls for client validation. You would need to refresh that by pushing the server credentials within Snapcenter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Login to the SnapCenter webpage&lt;/LI&gt;&lt;LI&gt;Selects&amp;nbsp;&lt;STRONG&gt;Hosts&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Click the SCV&amp;nbsp;hostname&lt;/LI&gt;&lt;LI&gt;Check the box to&amp;nbsp;&lt;STRONG&gt;Push server credentials&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Click&amp;nbsp;&lt;STRONG&gt;Submit&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope this answer your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:24:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snapcenter-4-6-Flexclone-operation-via-Powershell-Cmdlet/m-p/435243#M13632</guid>
      <dc:creator>hmoubara</dc:creator>
      <dc:date>2022-05-24T06:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Snapcenter 4.6 Flexclone operation via Powershell Cmdlet</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snapcenter-4-6-Flexclone-operation-via-Powershell-Cmdlet/m-p/435244#M13633</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@hmoubra,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are not using SCV in our environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We could fix the issue yesterday with NetApp tech support. The solution was to install the whole Snapcenter Plugin for Windows on the host running the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like NetApp improved something with version 4.6. In earlier version it was sufficient to install the Snapcenter Powershell Toolkit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greets,&lt;/P&gt;&lt;P&gt;tbshpgn&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:28:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snapcenter-4-6-Flexclone-operation-via-Powershell-Cmdlet/m-p/435244#M13633</guid>
      <dc:creator>tbshpgn</dc:creator>
      <dc:date>2022-05-24T06:28:22Z</dc:date>
    </item>
  </channel>
</rss>

