# Discourse Azure AD Plugin not working

**URL:** <https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249>\
**Category:** Product Support\
**Created:** [2017 年 6 月 28 日午前 6:05 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:** 7

<div class="post-metadata">

**Author:** ![Chanka\_Dod](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chanka_dod/32/69649_2.png) [@Chanka\_Dod](https://meta.discourse.org/u/Chanka_Dod)\
**Post date:** [2017 年 8 月 25 日午前 6:30 UTC](https://meta.discourse.org/t/discourse-azure-ad-plugin-not-working/65249/7 "2017-08-25T06:30:13Z")

</div>

Hi Ryan  
Before rebuilding you need to

> If you’re running Discourse from the Docker container, add these environment variables to your container’s yml file:  
> DISCOURSE\_AZURE\_CLIENT\_ID  
> DISCOURSE\_AZURE\_CLIENT\_SECRET  
> (optional) DISCOURSE\_AZURE\_TITLE

Cheers  
Chanka

---

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