Trying to automate the deployment of a NetApp Filer using powershell, and utilise Add-NaLicense. It works well until trying to add the Disk Sanitizer license where the script hangs. Looking at the console I can see the NetApp is waiting for a prompt:
Filer> You will not be able to remove this license, are you sure you
This is a Data ONTAP API bug, not something we can address in the Toolkit. Merely calling the API remotely to add this license causes ONTAP to prompt for confirmation on the controller console. So while this is inconvenient, the sticky nature of this license means it only has to be applied once. Sorry for the trouble.