Power Apps and Office365 Groups

Peter Heffner
Peter HeffnerInternal Communications | Intranet Solutions bei Thermo Fisher Scientific Germany à Thermo Fisher Scientific Germany
The world leader in serving science
Permissions in
Power Apps based
on Office 365 Groups
02JUL2020
Peter Heffner
@Lingualizer
Power Apps & Office 365 Groups
What is covered?
 List owned groups
 List group members
 Check membership
This is a concept how to use Office 365 groups to
show/hide content like buttons or navigation
menus in Power Apps.
It makes it easier for non-developers to manage
permissions for Power App content.
Permissions of the logged in user in the app are
defined by the membershipin an Office 365 Group.
Connected Data Sources
 Office365Groups
 Office365Users
Remarks
This presentation describes how to get information
about Office 365 Groups and list the members of a
group.
If this scenario is used in a productive application
the developer would get the ID of the group and
check directly the membership OnStart or on the
Home screen.
List my Groups
Items = SortByColumns(
Office365Groups.ListOwnedGroupsV3().value,"displayName",Ascending)
// To keep some data in variables and collections for later use
OnSelect = Set(glb_selO365Group,ThisItem.id);
// The email address of the selected O365 group
Set(glb_selO365GroupMail,ThisItem.mail);
// Storing all members and details in a Collection
ClearCollect(collMembers, Office365Groups.ListGroupMembers(g_MyGroups_1.Selected.id)
.value);
// Concatenate all email addresses, so I can email the members directly
Set(glb_MailIndividuals,Concat(collMembers,";" & mail))
List Group Members
 Add a List box and display the Members:
Items = Office365Groups.ListGroupMembers(glb_selO365Grou
p).value
 Add a text field and display the concatenated emails
Text = glb_MailIndividuals
// Both variables glb_selO365Group and
glb_MailIndividuals have been set in the previous slide
Check Membership
 Add a Combobox to select a user
OnChange = Set(glb_selUser, cbx_SearchUser.Selected.Mail)
 Add a text label to display the email address (optional)
Text = glb_selUser
 Add an image control
If(
IsBlank(
Find(glb_selUser, glb_MailIndividuals)),
'Thumbs-Down',
'Thumbs-Up'
)
Summary
 Create Office 365 Groups for each permissionyou want to use in a Power App
 Add your users to the desired groups
 In Power Apps check to which group the currently logged in user belongs to
 Use this information to hide/display controls like buttons or navigation menus
Resources: https://docs.microsoft.com/en-us/connectors/office365groups
Thanks for watching!
@Lingualizer
This Phot o by U nknown author is
licensed under CC BY.
1 sur 8

Recommandé

(130928) #fitalk cloud storage forensics - dropbox par
(130928) #fitalk   cloud storage forensics - dropbox(130928) #fitalk   cloud storage forensics - dropbox
(130928) #fitalk cloud storage forensics - dropboxINSIGHT FORENSIC
527 vues23 diapositives
Forensic Science par
Forensic ScienceForensic Science
Forensic ScienceMadona Mathew
349 vues12 diapositives
Google chrome operating system par
Google chrome operating systemGoogle chrome operating system
Google chrome operating systemkondalarao7
15.8K vues14 diapositives
Autopsy Digital forensics tool par
Autopsy Digital forensics toolAutopsy Digital forensics tool
Autopsy Digital forensics toolSreekanth Narendran
4.1K vues17 diapositives
Forensic hypnosis1 par
Forensic hypnosis1Forensic hypnosis1
Forensic hypnosis1Shincy Nair
180 vues11 diapositives
National cyber security policy 2013 par
National cyber security policy  2013National cyber security policy  2013
National cyber security policy 2013M P Keshava
1.2K vues21 diapositives

Contenu connexe

Similaire à Power Apps and Office365 Groups

need help completing week 6 ilab.. i will upload what I currently ha.docx par
need help completing week 6 ilab.. i will upload what I currently ha.docxneed help completing week 6 ilab.. i will upload what I currently ha.docx
need help completing week 6 ilab.. i will upload what I currently ha.docxniraj57
3 vues13 diapositives
How PMs Can Improve a Data Model by Chartio Product Lead par
How PMs Can Improve a Data Model by Chartio Product LeadHow PMs Can Improve a Data Model by Chartio Product Lead
How PMs Can Improve a Data Model by Chartio Product LeadProduct School
182 vues42 diapositives
BITSAA.org Portal Administration - Group Admin : Batches par
BITSAA.org Portal Administration - Group Admin : BatchesBITSAA.org Portal Administration - Group Admin : Batches
BITSAA.org Portal Administration - Group Admin : BatchesBITSAA International
297 vues15 diapositives
Managing Office 365 Groups - SPFest Denver par
Managing Office 365 Groups - SPFest DenverManaging Office 365 Groups - SPFest Denver
Managing Office 365 Groups - SPFest DenverDrew Madelung
394 vues42 diapositives
A user created an Office 365 Group. You'll never believe what happens next! (... par
A user created an Office 365 Group. You'll never believe what happens next! (...A user created an Office 365 Group. You'll never believe what happens next! (...
A user created an Office 365 Group. You'll never believe what happens next! (...Max Fritz
881 vues73 diapositives
Cis407 a ilab 6 web application development devry university par
Cis407 a ilab 6 web application development devry universityCis407 a ilab 6 web application development devry university
Cis407 a ilab 6 web application development devry universitylhkslkdh89009
454 vues6 diapositives

Similaire à Power Apps and Office365 Groups(20)

need help completing week 6 ilab.. i will upload what I currently ha.docx par niraj57
need help completing week 6 ilab.. i will upload what I currently ha.docxneed help completing week 6 ilab.. i will upload what I currently ha.docx
need help completing week 6 ilab.. i will upload what I currently ha.docx
niraj573 vues
How PMs Can Improve a Data Model by Chartio Product Lead par Product School
How PMs Can Improve a Data Model by Chartio Product LeadHow PMs Can Improve a Data Model by Chartio Product Lead
How PMs Can Improve a Data Model by Chartio Product Lead
Product School182 vues
Managing Office 365 Groups - SPFest Denver par Drew Madelung
Managing Office 365 Groups - SPFest DenverManaging Office 365 Groups - SPFest Denver
Managing Office 365 Groups - SPFest Denver
Drew Madelung394 vues
A user created an Office 365 Group. You'll never believe what happens next! (... par Max Fritz
A user created an Office 365 Group. You'll never believe what happens next! (...A user created an Office 365 Group. You'll never believe what happens next! (...
A user created an Office 365 Group. You'll never believe what happens next! (...
Max Fritz881 vues
Cis407 a ilab 6 web application development devry university par lhkslkdh89009
Cis407 a ilab 6 web application development devry universityCis407 a ilab 6 web application development devry university
Cis407 a ilab 6 web application development devry university
lhkslkdh89009454 vues
Office365 groups from the ground up - SPTechCon Boston par Drew Madelung
Office365 groups from the ground up - SPTechCon BostonOffice365 groups from the ground up - SPTechCon Boston
Office365 groups from the ground up - SPTechCon Boston
Drew Madelung3.5K vues
SPUnite17 Extending Groups-Teams-Planner par NCCOMMS
SPUnite17 Extending Groups-Teams-PlannerSPUnite17 Extending Groups-Teams-Planner
SPUnite17 Extending Groups-Teams-Planner
NCCOMMS185 vues
BITSAA.org Portal Administration - Group Admin : Initiatives par BITSAA International
BITSAA.org Portal Administration - Group Admin : InitiativesBITSAA.org Portal Administration - Group Admin : Initiatives
BITSAA.org Portal Administration - Group Admin : Initiatives
Office365 groups from the ground up - Collab365 Global Conference par Drew Madelung
Office365 groups from the ground up - Collab365 Global ConferenceOffice365 groups from the ground up - Collab365 Global Conference
Office365 groups from the ground up - Collab365 Global Conference
Drew Madelung963 vues
Object Oriented Dbms par maryeem
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
maryeem36.1K vues
View Solution #48 - Email- Active Directory - Samanage par Andrew Peisner
View Solution #48 - Email- Active Directory - SamanageView Solution #48 - Email- Active Directory - Samanage
View Solution #48 - Email- Active Directory - Samanage
Andrew Peisner105 vues
Cis 407 i lab 6 of 7 par helpido9
Cis 407 i lab 6 of 7Cis 407 i lab 6 of 7
Cis 407 i lab 6 of 7
helpido9213 vues

Plus de Peter Heffner

Hey Siri, open my PowerApp par
Hey Siri, open my PowerAppHey Siri, open my PowerApp
Hey Siri, open my PowerAppPeter Heffner
144 vues7 diapositives
Multilingual Power Apps par
Multilingual Power AppsMultilingual Power Apps
Multilingual Power AppsPeter Heffner
253 vues10 diapositives
Power Apps and Microsoft Teams par
Power Apps and Microsoft TeamsPower Apps and Microsoft Teams
Power Apps and Microsoft TeamsPeter Heffner
179 vues10 diapositives
PowerApps - Canvas Screen with Tabs par
PowerApps - Canvas Screen with TabsPowerApps - Canvas Screen with Tabs
PowerApps - Canvas Screen with TabsPeter Heffner
3.4K vues13 diapositives
PowerApps - Using your own Colour Set par
PowerApps - Using your own Colour SetPowerApps - Using your own Colour Set
PowerApps - Using your own Colour SetPeter Heffner
1.8K vues10 diapositives
PowerApps and Azure SQL Server / Blob storage par
PowerApps and Azure SQL Server / Blob storagePowerApps and Azure SQL Server / Blob storage
PowerApps and Azure SQL Server / Blob storagePeter Heffner
3.1K vues11 diapositives

Plus de Peter Heffner(20)

Power Apps and Microsoft Teams par Peter Heffner
Power Apps and Microsoft TeamsPower Apps and Microsoft Teams
Power Apps and Microsoft Teams
Peter Heffner179 vues
PowerApps - Canvas Screen with Tabs par Peter Heffner
PowerApps - Canvas Screen with TabsPowerApps - Canvas Screen with Tabs
PowerApps - Canvas Screen with Tabs
Peter Heffner3.4K vues
PowerApps - Using your own Colour Set par Peter Heffner
PowerApps - Using your own Colour SetPowerApps - Using your own Colour Set
PowerApps - Using your own Colour Set
Peter Heffner1.8K vues
PowerApps and Azure SQL Server / Blob storage par Peter Heffner
PowerApps and Azure SQL Server / Blob storagePowerApps and Azure SQL Server / Blob storage
PowerApps and Azure SQL Server / Blob storage
Peter Heffner3.1K vues
Import excel rows to sharepoint list par Peter Heffner
Import excel rows to sharepoint listImport excel rows to sharepoint list
Import excel rows to sharepoint list
Peter Heffner3.2K vues
Office Lens #68: Screenshots mit Office Lens par Peter Heffner
Office Lens #68: Screenshots mit Office LensOffice Lens #68: Screenshots mit Office Lens
Office Lens #68: Screenshots mit Office Lens
Peter Heffner382 vues
PowerApp #69 Create a PowerApp par Peter Heffner
PowerApp #69 Create a PowerAppPowerApp #69 Create a PowerApp
PowerApp #69 Create a PowerApp
Peter Heffner316 vues
SharePoint Lesson #67: Connect List Data and Visio par Peter Heffner
SharePoint Lesson #67: Connect List Data and VisioSharePoint Lesson #67: Connect List Data and Visio
SharePoint Lesson #67: Connect List Data and Visio
Peter Heffner520 vues
SharePoint Lesson #66: Live Data - List Items in PowerPoint par Peter Heffner
SharePoint Lesson #66: Live Data - List Items in PowerPointSharePoint Lesson #66: Live Data - List Items in PowerPoint
SharePoint Lesson #66: Live Data - List Items in PowerPoint
Peter Heffner1.5K vues
SharePoint Lesson #65: Content Organizer in SP2013 par Peter Heffner
SharePoint Lesson #65: Content Organizer in SP2013SharePoint Lesson #65: Content Organizer in SP2013
SharePoint Lesson #65: Content Organizer in SP2013
Peter Heffner606 vues
SharePoint Lesson #64. Sort-of-Gantt par Peter Heffner
SharePoint  Lesson #64. Sort-of-GanttSharePoint  Lesson #64. Sort-of-Gantt
SharePoint Lesson #64. Sort-of-Gantt
Peter Heffner487 vues
SharePointLesson #63: vCard for Outlook par Peter Heffner
SharePointLesson #63: vCard for OutlookSharePointLesson #63: vCard for Outlook
SharePointLesson #63: vCard for Outlook
Peter Heffner493 vues
SharePoint Lesson #62: Progress Bar in SP2013 par Peter Heffner
SharePoint Lesson #62: Progress Bar in SP2013SharePoint Lesson #62: Progress Bar in SP2013
SharePoint Lesson #62: Progress Bar in SP2013
Peter Heffner728 vues
SharePoint Lesson #61: Embed non-MS Content in SP2013 par Peter Heffner
SharePoint Lesson #61: Embed non-MS Content in SP2013SharePoint Lesson #61: Embed non-MS Content in SP2013
SharePoint Lesson #61: Embed non-MS Content in SP2013
Peter Heffner517 vues
SharePoint Tutorial Lesson 60#: Embed Microsoft Content par Peter Heffner
SharePoint Tutorial Lesson 60#: Embed Microsoft ContentSharePoint Tutorial Lesson 60#: Embed Microsoft Content
SharePoint Tutorial Lesson 60#: Embed Microsoft Content
Peter Heffner2.3K vues
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte par Peter Heffner
SharePoint Lektion #52. Kurzanleitung - Webseiten und InhalteSharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
SharePoint Lektion #52. Kurzanleitung - Webseiten und Inhalte
Peter Heffner792 vues
SharePoint Lesson #59: Filtered Lookup par Peter Heffner
SharePoint Lesson #59: Filtered LookupSharePoint Lesson #59: Filtered Lookup
SharePoint Lesson #59: Filtered Lookup
Peter Heffner532 vues

Dernier

Winter '24 Release Chat.pdf par
Winter '24 Release Chat.pdfWinter '24 Release Chat.pdf
Winter '24 Release Chat.pdfmelbourneauuser
9 vues20 diapositives
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit... par
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...Deltares
13 vues34 diapositives
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon par
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - AfternoonDSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - AfternoonDeltares
13 vues43 diapositives
DevsRank par
DevsRankDevsRank
DevsRankdevsrank786
11 vues1 diapositive
Consulting for Data Monetization Maximizing the Profit Potential of Your Data... par
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Flexsin
15 vues10 diapositives
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... par
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...Deltares
9 vues26 diapositives

Dernier(20)

DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit... par Deltares
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...
DSD-INT 2023 FloodAdapt - A decision-support tool for compound flood risk mit...
Deltares13 vues
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon par Deltares
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - AfternoonDSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
Deltares13 vues
Consulting for Data Monetization Maximizing the Profit Potential of Your Data... par Flexsin
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Flexsin 15 vues
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... par Deltares
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
Deltares9 vues
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko... par Deltares
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...
Deltares11 vues
Copilot Prompting Toolkit_All Resources.pdf par Riccardo Zamana
Copilot Prompting Toolkit_All Resources.pdfCopilot Prompting Toolkit_All Resources.pdf
Copilot Prompting Toolkit_All Resources.pdf
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... par Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller38 vues
El Arte de lo Possible par Neo4j
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo Possible
Neo4j38 vues
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ... par Deltares
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
Deltares9 vues
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema par Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - GeertsemaDSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
Deltares17 vues
Navigating container technology for enhanced security by Niklas Saari par Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy8 vues
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx par animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm13 vues
Roadmap y Novedades de producto par Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j50 vues
Generic or specific? Making sensible software design decisions par Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
Tridens DevOps par Tridens
Tridens DevOpsTridens DevOps
Tridens DevOps
Tridens9 vues
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... par Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri711 vues

Power Apps and Office365 Groups

  • 1. The world leader in serving science Permissions in Power Apps based on Office 365 Groups 02JUL2020 Peter Heffner @Lingualizer
  • 2. Power Apps & Office 365 Groups What is covered?  List owned groups  List group members  Check membership This is a concept how to use Office 365 groups to show/hide content like buttons or navigation menus in Power Apps. It makes it easier for non-developers to manage permissions for Power App content. Permissions of the logged in user in the app are defined by the membershipin an Office 365 Group. Connected Data Sources  Office365Groups  Office365Users
  • 3. Remarks This presentation describes how to get information about Office 365 Groups and list the members of a group. If this scenario is used in a productive application the developer would get the ID of the group and check directly the membership OnStart or on the Home screen.
  • 4. List my Groups Items = SortByColumns( Office365Groups.ListOwnedGroupsV3().value,"displayName",Ascending) // To keep some data in variables and collections for later use OnSelect = Set(glb_selO365Group,ThisItem.id); // The email address of the selected O365 group Set(glb_selO365GroupMail,ThisItem.mail); // Storing all members and details in a Collection ClearCollect(collMembers, Office365Groups.ListGroupMembers(g_MyGroups_1.Selected.id) .value); // Concatenate all email addresses, so I can email the members directly Set(glb_MailIndividuals,Concat(collMembers,";" & mail))
  • 5. List Group Members  Add a List box and display the Members: Items = Office365Groups.ListGroupMembers(glb_selO365Grou p).value  Add a text field and display the concatenated emails Text = glb_MailIndividuals // Both variables glb_selO365Group and glb_MailIndividuals have been set in the previous slide
  • 6. Check Membership  Add a Combobox to select a user OnChange = Set(glb_selUser, cbx_SearchUser.Selected.Mail)  Add a text label to display the email address (optional) Text = glb_selUser  Add an image control If( IsBlank( Find(glb_selUser, glb_MailIndividuals)), 'Thumbs-Down', 'Thumbs-Up' )
  • 7. Summary  Create Office 365 Groups for each permissionyou want to use in a Power App  Add your users to the desired groups  In Power Apps check to which group the currently logged in user belongs to  Use this information to hide/display controls like buttons or navigation menus Resources: https://docs.microsoft.com/en-us/connectors/office365groups
  • 8. Thanks for watching! @Lingualizer This Phot o by U nknown author is licensed under CC BY.