I know I can use Office365Groups.ListOwnedGroups().value to return a list of groups that I own but when the app is published, this function returns those groups for the user running the app. Is there a way to control the context and return the same list for everyone? Something along the lines of Office365Groups.ListOwnedGroups("firstname.lastname@example.org").value
For example, in our organization there are many teams using Office 365 Groups. We would like to use PowerApps to collect ideas, route, prioritize and otherwise manage and assign them. I was thinking that it would be great instead of having the item forms be populated with a static list of these teams, we could pull down a live list of O365 Groups to associate an idea/project with a team/O365 Group. Obviously this would have huge implications and advantages like notifying all group members when an item in PowerApps is assigned to the group, etc.
Is something like this possible?
Solved! Go to Solution.
Well, fetching all the company's Office365 Groups is not a small thing. You want your users to see thing that they should not. This is why, somewhere, you have to give them the autorisation to fetch all the company's groups and using an AzureApp Application Permission is the way to do this.
Read the announcement for more information!
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Features releasing from October 2019 through March 2020
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications