Hello @Nicholas
Thank you for sharing your issue on Microsoft Q&A.
I understand you are having issues creating users using the dynamic group rule.
The error in your dynamic rule is due to the use of curly quotation marks (”) instead of straight quotation marks ("). This can cause syntax errors in the rule. Here is the corrected version of your rule:
Kindly try testing out the rule below.
(user.assignedPlans -any (assignedPlan.capabilityStatus -eq "enabled")) -and (user.userPrincipalName -notIn ["quotefile@cibaservices.com", "policyfile@cibaservices.com", "metalogix@cibaservices.com", "LogNotes@cibaservices.com", "itmail@cibaservices.com", "gnc@cibaservices.com", "edocketo365@cibaservices.com", "claimsfile@cibaservices.com", "claims@claimsadjustgrp.com", "CIBAQuote@cibaservices.com", "admin@cibainsuranceservices.onmicrosoft.com"])
Thanks
Siri