# Ho do I get the roles from Azure AD in Auth0

**URL:** <https://community.auth0.com/t/ho-do-i-get-the-roles-from-azure-ad-in-auth0/51688>\
**Category:** Get Help\
**Tags:** azure-ad, auth0\
**Created:** [October 16, 2020, 8:16am UTC](https://community.auth0.com/t/ho-do-i-get-the-roles-from-azure-ad-in-auth0/51688 "2020-10-16T08:16:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakesh\_ostwal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rakesh_ostwal/32/14562_2.png) [@rakesh\_ostwal](https://community.auth0.com/u/rakesh_ostwal)\
**Post date:** [October 16, 2020, 8:16am UTC](https://community.auth0.com/t/ho-do-i-get-the-roles-from-azure-ad-in-auth0/51688/1 "2020-10-16T08:16:58Z")

</div>

Hi,

I have integrated Azure AD with Auth0 using Enterprise connectors, and it is working fine as well. But I am not getting user roles from Azure AD when I am trying to test my connection. I tried setting up the [Authorization Extention](https://auth0.com/docs/extensions/authorization-extension/configure-authorization-extension?_ga=2.50876321.960257295.1602834463-2061606511.1582898956) as well but when I enabled merge roles and Groups, it did not give roles and groups information, but it also stopped giving basic user information (not sure if I missed anything from article though I followed it step by step).

From Azure AD: I have added roles and enabled permissions to read the data, from auth0 as well, I have enabled permissions to read extended data.

Can someone please help me if I am missing something here?

Here is what I have enabled while configuring Authorization Extension:

1. In “Authorization information in the user object in Rules”

- I have enabled - Groups and Roles

1. In “You might have users that receive groups from the IdP” and " Persistence" as well, I have enabled Groups and Roles.

Here is the screenshot of the configuration as well:

 ![Screenshot 2020-10-16 at 1.46.19 PM](https://global.discourse-cdn.com/auth0/original/3X/6/d/6dcbab091f8eb27be762762c8cc03b39a8bbee21.png)
