Grafana Azure AD Integration

Hi Team,
I am installed my grafana setup on the RHEL VM and my grafana version is 6.7. I am trying to integrate the Azure AD with grafana. But I am facing issue in the redirect URL. After entering the azure credentials its again redirecting to the grafana. Can anyone help me out in this issue.