So we have a script to add users to our ArcGIS Enterprise portal. Unfortunately it is erroring out on a particular user passing this in the python log: "Exception: The user already exists. Please check the username and try again.
(Error Code: 500)"
Awesome. Searching for the offending username in the portal manager and in the Organization-->Members area shows that there are 0 users with that id. Not awesome. Does anyone have any idea how to 'clear' this id so that we can actually add this user into the portal?