Users have to be created in AAD before they can be added to a security group. It’s not possible to create a user using a Power App
It’s only possible to add or remove members from security groups that the user owns. Security groups can have multiple owners. The security group owners don’t need to have any security roles assigned to them, ownership, or co-ownership of the security group is sufficient
Current users can be sourced from the Office365Users connector or from the ‘AAD User’ table in Dataverse
A user who is not a security group owner can still view the members of a security group, even if they are not in the group themselves
Updates to AAD can take a few second to action so an app that makes multiple rather than single changes would be preferable
Because security groups exist at the Tenant level, the Power App can reside on any of the environments in the tenant and will show the identical results
Finally, even if a user is added to a security group, they still need to have an appropriate licence to be able to use the Power App
Nice post. I’m looking for adding members to user/owner team from powers apps based on a list of emails selected from a combo box? Is it possible because i’m unable to access teammembership_association table in powerapps or powerautomate??
Yes that should be possible. If you can’t access the teammembership table, check the security roles of the users running the power app, or if you are using a flow for this, the user in whose name the flow runs. You can test this by giving them the standard security role of system customizer which has full access to standard tables like teammembership.