# Discourse Azure AD Plugin not working

**URL:** <https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249>\
**Category:** Product Support\
**Created:** [June 28, 2017, 6:05am UTC](https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249 "2017-06-28T06:05:32Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![marknadig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marknadig/32/79120_2.png) [@marknadig](https://meta.discourse.org/u/marknadig)\
**Post date:** [September 20, 2017, 4:05pm UTC](https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249/11 "2017-09-20T16:05:21Z")

</div>

Crosspoting from gitub. I’m not in a position to test this out at the moment, however it appears that we’re just grabbing the ‘email’ attribute returned from Azure.  
line 52 of

> <https://github.com/marknadig/omniauth-azure-oauth2/blob/master/lib/omniauth/strategies/azure_oauth2.rb>

---

_[View the full topic](https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249)._
