Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I just upgraded from version 9.10.1.2111 to version 9.11.1.2208 of the PowerShell Toolkit. After the upgrade, all of my PowerShell scripts fail with the message shown below. Any ideas as to the cause? I reverted to the VMware snapshot I took before upgrading and verified I can run the exact same commands pre-upgrade without any errors.
Connect-NcController : The remote server returned an error: (401) Unauthorized.
FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.C.PowerShell.SDK.ConnectNcController
Solved! See The Solution
1 ACCEPTED SOLUTION
TMADOCTHOMAS has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In case anyone searches this post, the answer is here. One of our NetApp reps pointed me in this direction. Adding -ontapi to the Connect-NcController command worked!
8 REPLIES 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you using an LDAP account for authentication? I think there might be a bug with that in the PSTK version. I'll flag it with the developers
/Matt
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mbeattie , no it's just a normal Windows service account created just for PowerShell scripting. It has limited rights on each of the clusters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone else have insight into the cause of this issue? I will simply have to bypass this update if there's no solution, which I don't want to do.
TMADOCTHOMAS has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In case anyone searches this post, the answer is here. One of our NetApp reps pointed me in this direction. Adding -ontapi to the Connect-NcController command worked!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. I've been sitting on the Powershell Module 9.10 version waiting to figure out why I couldn't authenticate with my AD Service Account anymore. Odd that neither -ONTAPI nor -ZAPICALL are listed when you do 'get-help connect-nccontroller' but both of them allow me to authenticate when I couldn't without them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I agree, the lack of documentation is what created the confusion. Glad this post was helpful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The NetApp.ONTAP v9.11.1.2208 module is garbage. I don't know how this modules passed the QA checks. I uninstalled it and reinstalled v9.10.1.2111.
Get-Module -ListAvailable NetApp.ONTAP | Uninstall-Module -Force
Install-Module -Name NetApp.ONTAP -RequiredVersion 9.10.1.2111
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wow sorry to hear that. I'm only using it in limited ways thus far, but for what I'm using it for it's working the same as before.
