Permission error in Azure AD connection

Hi, I have created an enterprise connection for Azure AD in auth0 and used the common endpoint to authenticate any Azure AD tenant, but after logging in I get an error as access denied, from the logs I found the error msg as

AADSTS650056: Misconfigured application. This could be due to one of the following: the client has not listed any permissions for 'AAD Graph' in the requested permissions in the client's application registration. Or, the admin has not consented in the tenant. Or, check the application identifier in the request to ensure it matches the configured client application identifier.

I don’t require the AAD Graph access, but my request URL contains the resource:, is it because of this I get the permission error after logging in, how can I remove this resource in my request URL