I’m trying to use the below transform with no success. Any ideas on what I am doing wrong?
The roles contain entitlements to groups in AD that provision entra licenses. I’m trying an approach to confirm membership of the group or an assignment to one of the roles. I tried a startsWith on the memberOf logic but that wasn’t working, so I am testing the containsAll for the group dn. I have the containsAll working for a different solution, but don’t seem to be able to get it to work here.
The transform doesn’t have any errors, but for all users it is reporting False as the return value.
"attributes": {
"requiresPeriodicRefresh": "true",
"input": {
"attributes": {
"ignoreErrors": "true",
"values": [
{
"attributes": {
"accountPropertyFilter": "(memberOf.containsAll(\"CN=O365_Licensing_Tier1,OU=Groups,OU=ExampleUsers,DC=example,DC=example,DC=org\"))",
"attributeName": "memberOf",
"sourceName": "Active Directory-Lab"
},
"type": "accountAttribute"
},
"$identity.isMemberOfRole(\"O365: Tier1 License\")",
"$identity.isMemberOfRole(\"O365: Tier2 License\")",
"$identity.isMemberOfRole(\"O365: Tier3 License\")",
"False"
]
},
"type": "firstValid"
},
"table": {
"False": "False",
"default": "True"
}
},