Troubleshoot Entra ID Authentication Issues

Here is a list of known issues with Entra ID Authentication and how to resolve them.

Tenant Join Issues

The Join Was Successful but Authentication Is Not Working

Check the permissions on the application in Azure, because there are issues with the permissions. These can be:

  • There are missing permissions.
  • Permissions are issued but not granted. Confirm they have a green checkmark by them.
  • The Allow public client flows setting has not been enabled.

Authenticating Users Are Not Prompted With the Device Code

If the tenant name used during the join does not match the tenant id, users attempting to authenticate will be prompted for a password, not the device code and URL.

sudo /opt/pbis/bin/tenantjoin-cli join --tenant-id ########-####-####-####-############ --tenant-name bananas --app-id ########-####-####-####-############ --app-secret-file secret-file

Rejoin the tenant with the correct tenant name.