Authentication is failing for my ‘domain\user1_us’ but it works for one teammate’s “domain\user2_us” account. Also 'admin' user is working fine. We were wondering because both of us have same permissions on NAS as well as on Active Directory.Accounts created using,
# security login create -vserver vservername -username domain\user1_us -application ssh -authmethod domain -role admin
# security login create -vserver vservername -username domain\user1_us -application ontapi -authmethod domain -role admin
Following 2 lines will be responsible.
$pwd = Get-Credential -credential "domain\user1_us”
Connect-NcController “clustername” -vserver “vservername” -Credential $pwd -ErrorAction silentlycontinue | Out-Null
Really appreciate the help.