Hello,
I updated to the latest .Net package 4.6.2 and this did not make a difference unfortunately.
What I have noticed is that it will connect if I provide credentials in powershell outside of WFA. Is there somehow in the WFA commands to do the same sort of thing? I tried "-Credential" in the "Connect-WFAController" command but it's not a recognized paramenter.
Working outside WFA:
PS C:\Windows\system32> connect-nacontroller nas1 -Credential $a
Name Address Ontapi Version
---- ------- ------ -------
nas1.... xxx.xxx.xxx.xxx 1.19 NetApp Release 8.1.3P1 7-Mode: Wed Jul 10 20:17:...
Not working in WFA (command powershell code):
param (
[parameter(Mandatory=$true, HelpMessage="Array name or IP address")]
[string]$Array,
[parameter(Mandatory=$true, HelpMessage="Share name")]
[string]$ShareName,
[parameter(Mandatory=$false, HelpMessage="Virtual Filer name")]
[string]$VFilerName
)
# connect to controller
Connect-WFAController -Array $Array -VFiler $VFilerName
# Check that Qtree exists
$ShareStatus = Get-NaCifsShare -ShareName $ShareName -ErrorAction SilentlyContinue
if ($ShareStatus)
{
$msg = "Sorry there is already a share named" + " " + $ShareName + ". " + "It is located at" + " " + $ShareStatus.MountPoint + ". " + "Make sure you entered the correct share name, try a different share name if possible, or contact a NAS team member to assist."
throw $msg
}
else
{
}