Wrong redirect after successful login with Azure AD


I have managed to login with Azure AD. However, after login, I am getting the page
https://my-grafana-domain/login/azuread/login# which doesn’t exist.

What am I doing wrong?

My configuration is the following:

root_url = https://my-grafana-domain

name = Azure AD
enabled = true
allow_sign_up = true
client_id = “<client_id”
client_secret = “<client_secret>”
scopes = openid email profile
auth_url = <path_to_aad_authorize>
token_url = <path_to_aad_token>
allowed_domains =
allowed_groups = <group_id>

Try deleting cookies in your browser.
I had the same problem today, it helped me.