# I want to turn off the "Read Directory" permission for Azure AD connection - what will happen?

**URL:** <https://community.auth0.com/t/i-want-to-turn-off-the-read-directory-permission-for-azure-ad-connection-what-will-happen/21201>\
**Category:** Get Help\
**Tags:** azure-ad\
**Created:** [February 12, 2019, 5:36am UTC](https://community.auth0.com/t/i-want-to-turn-off-the-read-directory-permission-for-azure-ad-connection-what-will-happen/21201 "2019-02-12T05:36:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dean.ashton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dean.ashton/32/10347_2.png) [@dean.ashton](https://community.auth0.com/u/dean.ashton)\
**Post date:** [February 12, 2019, 5:36am UTC](https://community.auth0.com/t/i-want-to-turn-off-the-read-directory-permission-for-azure-ad-connection-what-will-happen/21201/1 "2019-02-12T05:36:29Z")

</div>

Hi there

We have set up an application registration for our application and ticked the permission “Read directory data” as per the instructions in the doc below:

> **[Connect Your App to Microsoft Azure Active Directory - Auth0 Docs](https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/azure-active-directory/v2)**
>
> Learn how to connect your app to Microsoft Azure Active Directory using an enterprise connection.

We now want to set this permission to OFF. We don’t need any extended profiles or security groups or other group info from the directory - we just need the signed in user’s basic details.

What would happen if we turn this off?

Note: I have already seen this topic but it didn’t really tell me why this permissions was needed, so wanted to ask a further question…

> [@Is Read Directory permission absolutely required for Azure AD connection?](http://community.auth0.com/t/is-read-directory-permission-absolutely-required-for-azure-ad-connection/11509):
>
> Hello, I’d like to know if the admin level privilege in Azure (Read Directory Data) is absolutely required to operate with an Azure AD connection. I have a potential customer who is running into a consent dialog and it would be much easier if we don’t need to request that permission. Thank you

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 13, 2019, 3:53am UTC](https://community.auth0.com/t/i-want-to-turn-off-the-read-directory-permission-for-azure-ad-connection-what-will-happen/21201/2 "2019-02-13T03:53:02Z")

</div>

Hi @dean.ashton

Off hand I am not sure what would happen in this scenario. I would suggest testing this in a throwaway tenant.

---

<div class="post-metadata">

**Author:** ![dean.ashton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dean.ashton/32/10347_2.png) [@dean.ashton](https://community.auth0.com/u/dean.ashton)\
**Post date:** [February 13, 2019, 5:01am UTC](https://community.auth0.com/t/i-want-to-turn-off-the-read-directory-permission-for-azure-ad-connection-what-will-happen/21201/3 "2019-02-13T05:01:54Z")

</div>

Hi Mark, thanks for your reply. I was hoping someone would be able to say they did it and the effect was XYZ.

We can turn this OFF in a throwaway tenant and test it as you suggest, to see if it will be an issue, but I was hoping not to do that as we would have to get a customer on board to test it and it can sometimes be hard to get them on board just to test something for us.

Thanks  
Dean

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 13, 2019, 3:37pm UTC](https://community.auth0.com/t/i-want-to-turn-off-the-read-directory-permission-for-azure-ad-connection-what-will-happen/21201/4 "2019-02-13T15:37:59Z")

</div>

Hi Dean,

Understood. Always awkward to have your users involved in the troubleshooting! I’m afraid I can’t offer anything definitive. I do have ADFS hooked up in my dev tenant. Not sure if it will help but I’ll see if I can learn anything there.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 29, 2019, 11:05am UTC](https://community.auth0.com/t/i-want-to-turn-off-the-read-directory-permission-for-azure-ad-connection-what-will-happen/21201/5 "2019-08-29T11:05:44Z")

</div>


