KevinTheJedi
I am getting the same error, "Invalid response received from Authorization Server. Expected JSON."
I have tried multiple variations of the EmailAddress attribute as I am unsure what attribute should be used. Looking at different places in AAD the email appears in "User principal name" and "Email", but I'm not sure if that's the issue here or not.
Any input would be greatly appreciated!