I have created 'mail-enabled security' groups in admin center of office 365.
Further,I have created two dropdowns in powerapps
-one for group(dropdown1)
-other for users(dropdown2)
I want to fetch list of groups with 'mail-enabled security' in dropdown1.
And based on group selected ,I want to populate other dropdown(dropdown1) with corresponding users.
Problem is how to get list of security groups in powerapps?
Please help with the solution.
Hi @Nikita1 ,
The office365Group connection can only get the Office 365 type group.
You should try to use AzureAD.GetMemberGroups function to get the security enabled groups.
Set the following formula in OnStart property of App, and set col_groups to Items property of Dropdown1.
Set the following formula in Items property of dropdown2
Hope this help.
If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.
Hi @v-siky-msft ,
Sorry,but its not working.
I am getting empty dropdown.
Check out these cool Power Apps & vote on your favorite!
Check out whats happening in Power Apps
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021