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 =
description = “Boundary Admins managed group”
name = “boundary-admins”
filter = “”${var.adgroups}" in “/token/groups”"

resource “boundary_role” “project” {
scope_id =
grant_strings = [
principal_ids = []

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.