When enrolling the API Gateway with Portal, you may run into a 401 error during the process
If so, one thing to check would be the below:
1. Ensure the date and time of the Portal Server and the Gateway server are in sync. Being out of sync causes a 401 error.