Hi All,
We have a requirement that we need to add users to the Azure AD security group using the canvas app. We have the AD group name with us. Using the AD group name how we can find the Object OD of the group. How to achieve this requirement.
Any Sugession?
Solved! Go to Solution.
Hi @Abhilash :
You could use this graph API to create a custom connector to search for the group by group name:
https://graph.microsoft.com/v1.0/groups?$filter=adatumisv_courses/displayName eq 'YourGroupName'
In addition,if you do not know how to create a custom connector,I think this link will help you a lot:
How to connect Microsoft Graph API in PowerApps
Best Regards,
Bof
Hi @Abhilash :
You could use this graph API to create a custom connector to search for the group by group name:
https://graph.microsoft.com/v1.0/groups?$filter=adatumisv_courses/displayName eq 'YourGroupName'
In addition,if you do not know how to create a custom connector,I think this link will help you a lot:
How to connect Microsoft Graph API in PowerApps
Best Regards,
Bof
Hello,
I found one working solution (in my case).
There is just one condition :
You need to know at least one member of the security or distribution group.
1) Use Get-groups of a user (the known user as stated above). You then have a list of all the ID groups of the user
2) Next step is using Get-Group by using "value"; it gets all ID groups of the user one by one and gives the display name of each
3) Use the "Condition" to test if the group Display Name matches the targeted group
4) If condition is true, then you found the id group, congratulations !
For an unknow reason, it's never "True" for me in this demonstration, but it worked in another flow, with dynamics values...
But I hope you can understand the logic !
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
184 | |
51 | |
47 | |
32 | |
32 |
User | Count |
---|---|
265 | |
91 | |
78 | |
68 | |
67 |