OAuth2 Authorization Profile with Azure AD

I am trying to setup an Authorization Profile using oAuth2 to query the Azure AD for user details using the graph api - : https://graph.microsoft.com/v1.0/me/

However setting up the Auth Profile for oAuth2 and testing it results in “AzureOAuthStrategy requires a tenant id.”, despite of me adding the tenant id in the Authorize URL and Token URL. Please advise how to circumvent this issue. Thanks!