07-21-2025 06:30 AM
Hi , my powershell script that connects to the EU intersight has stopped working, saying I have an invalid API key. I have not changed my script but I was using a legacy v2 API token. I have tried creating a new API token in intersight and I am still getting the same error. I have tried installing the latest Intersight powershell module as well.
Error I am getting
Get-IntersightOrganizationOrganization: Error calling GetOrganizationOrganizationList: {"code":"AuthenticationFailure","message":"Cannot perform the operation. Invalid API key. Verify the API keyID, status, account and retry.","messageId":"iam_api_key_is_invalid","traceId":"w=="}
07-21-2025 07:05 AM
FYI - I am running this from a windows server running PS 7
PSVersion 7.5.1
07-21-2025 08:57 AM
Managed to solve this ! Needed .Net 8 installed.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide