Add a member to a group
Add a member to a Microsoft 365 group or a security group through the members navigation property.
Add a member to a user group
Add a member to a user group, the member should belong to the same organization as the group.
Power Automate
Power Automate