Got Response: "Invalid Credentials"
Trying to setup for login on a brand new ubuntu machine running 23.04 release.
- Installed the packages as specified in the documentation.
- Created an app registration in Azure AD
- Ensured that the "Allow public client flows" was set to "Yes" (not in the documentation but mentioned in other issues)
- Ensured that Microsoft Graph -> User.Read is granted for the application (again not in the documentation but mentioned in other issues)
- Ensured that the /etc/aad.conf file was updated with tenant_id and app_id
- Restarted the OS to ensure that the configuration is picked up
Attempts to login fail with "Invalid Credentials" when using legitimate credentials. Invalid users are flagged as non existing users and Attempts to login without a domain suffix are also flagged as missing the suffix.
Sign in logs in Azure against the app registration show that the credential is invalid.
Worth noting that our organisation uses our verified domain and not a *.onmicrosoft.com for the UPN.
Have you tried with [email protected]? I too faced the same issue and when I tried with fully qualified username, it logged in successfully.
Have you tried with [email protected]? I too faced the same issue and when I tried with FQDN, it logged in successfully.
Yes, I was trying with our email (which is the same as UPN format). I noticed that the logs indicate the missing FQDN you don't provide in the [email protected] format and it also doesn't work