It’s not entirely like that.
If you set user repository to LDAP and enable SSO to SAML protocol then you have still 2 log-in options:
1. Standard (Dynatrace log-in form)
In that case, authentication (users source) is retrieved from LDAP; authorization (groups / permissions) are retrieved also from LDAP.
2. Log-in via SSO (redirect to SSO)
In that case, user is redirected to the configured Identity Provider (IdP) - SSO. User authenticates there and IdP returns groups membership. And now:
a) If switcher “Assign users to groups based on SAML 2.0 response attribute” is turned on
then authorization (groups / permissions) is taken from SSO.
b) If switcher “Assign users to groups based on SAML 2.0 response attribute” is turned off
then authorization (groups / permissions) is taken from LDAP.
So in all cases (with or without SSO), when you select LDAP → local users are ignored - as a user query goes to LDAP. If that “local user” doesn’t exist in LDAP, you get unauthenticated response.
If you want to retain local users and have SSO available - turn off LDAP.
Only “admin” user is able to log-in in any mode.