Changes will vary by distribution, but under Ubuntu 18.04 the following changes are necessary to
account [success=2 ignore=ignore default=die] pam_aad.so
auth [success=2 ignore=ignore default=die] pam_aad.so
If you're struggling to troubleshoot issues with the module, try appending
debug to both its
auth lines, then monitor the system's security log. Don't forget to remove it again when you're done -- it'll generate a large volume of output.
It also requires the following options to be set in
For further details see the Azure documentation.