Getting tripped up with the single quote in the membershipRule property, using format in this article which works in Graph Explorer. Flow says invalid json, tried a few variations like ("user.department -eq \"Marketing\"") which is valid to Flow, but Graph throws a "bad request" error.
{
"groupTypes":[
"Unified",
"DynamicMembership"
],
"membershipRule": 'user.department -eq "Marketing"',
"membershipRuleProcessingState": "on"
}Any suggestions to try?