If a Service Manager connection fails to connect to the Request Management API endpoint, the Request Management tab on the Admin page becomes inaccessible. If the Request Management API endpoint has been de-provisioned, you need to remove the connection using PowerShell to be able access the Request Management tab again to add a new connection.
Please follow the steps below:
- Delete all associated Plans that contain the connection
- Edit attached script and replace $AdminUri and $AuthUri values reflecting your environment
- Run script
IMPORTANT: This script makes use of Windows Authentication, if you're using ADFS for authentication on Admin Site/API you need to modify the retrieval of access token in the script for ADFS.