I have a few applications that use AAD for authentication.
Current behavior: I am logged into my desktop using firstname.lastname@example.org. I launch the application, the app redirects to the AAD login screen and enter email@example.com as the user name. When I click the login button the application logs in automatically using firstname.lastname@example.org and completely ignores email@example.com
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 firstname.lastname@example.org 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.