How to fix the error "You have been authenticated but you are not yet authorized. You have requested access to Test Manager" that is displayed while accessing Test Manager.
Issue Description: If the user attempting to access is a tenant admin, but they authenticate via an external identity provider (like Active Directory, Google, Azure or SAML 2.0), they would receive the same error.
Root Cause: This error happens if the user trying to access Test Manager was not yet authorized by an admin.
Resolution:
If the issue is with users other than Admin:
- Log into Test Manager on the tenant where Test Manager was enabled as local admin user
- enter "admin" as user ID and the password
- Click on the 3 dots next to the username icon and select "Users and Groups"
- Navigate to the "All" tab or the "Pending Authorization" tab and click on the 3 dots pertaining to the user and select "Authorize".
If the issue is with Admin:
- If it is an issue with the admin user, analyze the status in the database and consider necessary actions,
- Analyze [tmusr].[Users] table on the Test Manager database
- If the IsActive flag is 0 for the user
- Update it to 1 and it should now be possible to login successfully.
If Test Manager is installed in HAA (take this into consideration)
- Test Manager can be installed in an HAA environment, however, it is not recommended when using the MSI. Manage the multi-note environment behind a load balancer. It is suggested to use Automation Suite if HAA is required
- Once Windows auth was disabled in IIS for Test Manager, and the feature was enabled, user will be able to get past the login page to the new error "You are not authorized"
- A license is needed in order to authenticate to Test Manager as seen in the documentation Post Installation Steps- Allocate Testing Runtime License at the Tenant level .