I have an AzureAD where I'm using Dynamic Groups with a rule like this:
user.memberOf -any (group.objectId -in ['1111f5ee-56cf-43a6-87f5-064d63fd7230'])
Normal members are added to that dynamic group, but not guest accounts. There are no errors in the Audit logand it actually say that ythe guest account are added - but they aren't in there.
I have checked that Guests are allowed in the AzureADDirectorySetting.
Also guest invites works fine with normal teams sites.
Any ideas what is wrong. I have other tenants where it works fine.