# Discourse Azure AD Plugin not working

**URL:** <https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249>\
**Category:** Product Support\
**Created:** [28.Июнь.2017 06:05:32 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:** 12

<div class="post-metadata">

**Author:** ![Ryan\_Nix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_nix/32/78712_2.png) [@Ryan\_Nix](https://meta.discourse.org/u/Ryan_Nix)\
**Post date:** [21.Сентябрь.2017 20:15:40 UTC](https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249/12 "2017-09-21T20:15:40Z")

</div>

Looks like the UPN or UserPrincipalName is the attribute being used as the email address in Discourse. I’ll log a ticket with Azure support to see how this can be fixed. @sam @marknadig

---

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