I have a few applications that use AAD for authentication.
Current behavior: I am logged into my desktop using email@example.com. I launch the application, the app redirects to the AAD login screen and enter firstname.lastname@example.org as the user name. When I click the login button the application logs in automatically using email@example.com and completely ignores firstname.lastname@example.org
Purpose: I am trying to use synthetic transactions (Dynatrace) to monitor the application. When the scripts use a username to login it is completely ignored and AAD uses the Local System user to login and AAD does not consider it as a valid user. It completely ignores the user email@example.com that is entered in the username field.
Expected behavior: I should be able to logon to the application using any username/password irrespective of the user logged on to the computer or the user context the service is running under.