Dynamic group membership based on single domain

Posted by Puzzleheaded-Mud-884@reddit | sysadmin | View on Reddit | 4 comments

Is there a straightforward way to have a dynamic group membership rule to add all users in one specific domain within a tenant? When I try to use -endsWith with any combination of values such as "@domain.com" or "domain.com" or "*@domain.com" it says that its an invalid operator.

Is there really no easy way to create a security group based on a single domain?