Access Active Directory Group and Roles from Auth0

We want to Integrate Authentication and Authorization from Active Directory. We are struck on how to read the groups and roles of AD after authentication is done. We have enables the extended settings but still the AD group and role is not returned in the response.