Managed group filter question

Hi Team,

Quick question, is there a better way of doing filters?

variable “adgroups” {
type = string
default =“54edd5af-32f9-4ad3-8734-57b0561813dd”
}

resource “boundary_managed_group” “azuread” {
auth_method_id = boundary_auth_method_oidc.provider.id
description = “Boundary Admins managed group”
name = “boundary-admins”
filter = “”${var.adgroups}" in “/token/groups”"
}

resource “boundary_role” “project” {
scope_id = boundary_scope.org.id
grant_strings = [
“id=;type=;actions=*”
]
principal_ids = [boundary_managed_group.azuread.id]
}

i get authenticated with ad… but i dont accesss

I thought my issue with with my boundary, but the solution was with Azure AD. Forgot to add the appropriate group claims.

solved