Azure AD: "user not a member of one of the required groups"

Hi folks, I am new to Grafana and I just followed the wiki to set up Azure AD auth for our Grafana portal, But i always get the error like that:

t=2021-02-20T07:57:36+0000 lvl=eror msg=“login.OAuthLogin(get info from azuread)” logger=context userId=0 orgId=0 uname= error=“user not a member of one of the required groups”
t=2021-02-20T07:57:36+0000 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=GET path=/login/azuread status=500 remote_addr=**** time_ms=1225 size=1745

That is wired, i tried the method from 23358, but failed.

I both set :
“groupMembershipClaims”: “ApplicationGroup, SecurityGroup”,
and
_“appRoles”

But the error remains.

Anything else missed?

Thank you guys in advance.

1 Like

BTW, my Grafana config is like:

#################################### Azure AD OAuth #######################
[auth.azuread]
name = Azure AD
enabled = true
allow_sign_up = true
client_id = <>
client_secret = <>
scopes = openid email profile
auth_url = <Cannot past here as atmost 2 links i can past>
token_url = <Cannot past here as atmost 2 links i can past>
allowed_domains = mycompany.com
allowed_groups = 17d51234-06f4-1234-1234-9ff123411234

1 Like

Did we get the solution for the above issue. getting the same error.

1 Like

Did we get the solution to the above problem? We are also getting the same error

1 Like

By any chance, did we get the solution to the above problem?

1 Like