PowerShell-SentinelOne icon indicating copy to clipboard operation
PowerShell-SentinelOne copied to clipboard

API Token too long

Open JD405 opened this issue 1 year ago • 1 comments

When I generated a new API Token in SentinelOne the length of the Token is now 350 characters and it seems it cannot be valid for longer than 1 month. Seems there was an update on the SentinelOne side.

JD405 avatar Mar 25 '24 16:03 JD405

I was able to get it to work by simply adjusting the Add-S1APIToken ValidateLength of the $APIToken Parameter.

JD405 avatar Mar 25 '24 16:03 JD405