2016-06-03 08:50 AM
I have a step in a WFA workflow that assigns NTFS security permissions to new share volumes that are deployed. On my test cluster (DOT 8.3.2P1) this step works fine, however, from the same WFA server the same step fails on my production cluster (DOT 8.2.3P6) with the following error:
10:46:19.117 ERROR [SWN Set NTFS Permssions] Failed executing command. Exception: Invalid value specified for "ntfs-sd" element within "file-directory-security-policy-task-add": " ".
Has anyone else run into this issue? Anyone found a fix or workaround? The only thing I can think of is to change the whole step to use ssh commands and do this via command line or Upgrade Ontap. We are not ready to upgrade production yet to 8.3.2 and I don't want to change the entire command step to ssh if there is an easy fix for this issue.
2016-06-09 09:20 PM
wfa's compatibility list is quite narrow. it might be due to that. what's the version of powershell toolkit?
2016-06-10 08:11 AM - edited 2016-06-10 08:18 AM
wfa's compatibility list is narrow? That is a real surprise for me.
What makes you say that. What is it that you are trying to connect to and you can't do using WFA. I'm really curious to know.
2016-06-10 08:17 AM
Can you post which is the cmdlet that is throwing the error in the WFA command. If its difficult to figure out I'll suggest you try the following:
In your WFA command which is failing, Add the below code in the end and save it. execute it and let it fail. it will be able to locate the error in the command code.
provide the command execution output. I believe you already know my email.
$at_char = $_.InvocationInfo.OffsetInLine
$at_code = $_.InvocationInfo.Line
Get-WfaLogger -Error -Message "Error Occurred at Code `"$at_code`" Line: $at_line Char: $at_char"