Any suggestions for troubleshooting when Microsoft Auth pulls in the wrong email address?

It indeed does exactly that! It should be fairly easy to add a setting for this.


info do
        {
          name: raw_info['displayName'] || raw_info['userPrincipalName'],
          email: raw_info['mail'] || raw_info['userPrincipalName']
        }
end