Hi Mike,
What api call do you are using ?
your account don't migrate to CNX ? (New Central)
You can look the PowerArubaCP module for the connect (and api call)
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------
Original Message:
Sent: Oct 06, 2025 11:54 AM
From: mikecopp
Subject: Powershell auth token issue
Hey there,
I have a powershell script that we use to connect to the central api to parse one of our guest portals for a list of users to automatically reset the password weekly, This was working for years and then appears to have stopped working June 23rd 2025. Has anything changed that would cause the api to no longer connect? The way we connect is by getting a CSRF token and using that to get the Auth token. I am getting the CSRF token properly but then get 401 unauthorized when it comes to the auth token.
-------------------------------------------