Power Apps and Microsoft Teams

Peter Heffner
Peter HeffnerInternal Communications | Intranet Solutions bei Thermo Fisher Scientific Germany à Thermo Fisher Scientific Germany
The world leader in serving science
How to use
Microsoft Teams
in Power Apps
23JUN2020
Peter Heffner
@Lingualizer
Power Apps & Teams Connector
What is covered?
 Get All Teams
 Get Channels For Group
 Get Messages From Channel
 Post Message To Channel
Connect Data Sources
Add Microsoft Teams as a Data Source
Office365User is optional
Get the Teams
 Add a Gallery and display the Teams:
Items = SortByColumns(
MicrosoftTeams.GetAllTeams().value,
"displayName",
Ascending
)
 Add 2 text labels
ThisItem.displayName
ThisItem.description
 Gallery.OnSelect
Set(glb_selTeams,ThisItem)
Get the Channels
 Add another Gallery and display the Channels of the previously
selected Team (in variable glb_selTeams):
Items
= MicrosoftTeams.GetChannelsForGroup(glb_selTeams.id).value
 Add a text label
ThisItem.displayName
 Gallery.OnSelect
Set(glb_selChannel,ThisItem))
Get the Messages
 Add another Gallery and display the Messages of the previously
selected Channel (in variable glb_selChannel):
Items = MicrosoftTeams.GetMessagesFromChannel(glb_selTeams.id,
glb_selChannel.id).value
 Add 2 html-text labels
ThisItem.subject
ThisItem.body.content
 Gallery.OnSelect
Set(glb_selMessage,ThisItem);
ClearCollect(collConversation,ThisItem)
Display the complete message
 Add a text label:
Text = glb_selMessage.subject
 Add a html-text label:
HtmlText = glb_selMessage.body.content
Post a Message to a Channel
 Add a text input control:
 Add a Rich Text Editor control:
 Add a button control
Button.OnSelect = MicrosoftTeams.PostMessageToChannelV3(
glb_selTeams.id,
glb_selChannel.id,
{
content: rte_Body.HtmlText,
contentType: 1 // 0=text; 1=html
},
{subject: ti_subject}
)
Known issues and limitations
 The Microsoft Teams "When a new channel message is added" trigger only fires when root
messages are added in the channel. Replies to an existing channel message will not result in
the trigger event firing.
 The message size limit for the "Post a message" action is approximately 28KB. This encompasses
all HTML elements like text, images, links, tables, mentions and so on. If the message exceeds
28KB the action will fail with an error stating: "Request Entity too large"
Source: https://docs.microsoft.com/en-us/connectors/teams/
Thanks for watching!
@Lingualizer
This Photo by Unknown author is
licensed under CC BY.
1 sur 10

Recommandé

Power Apps and Office365 Groups par
Power Apps and Office365 GroupsPower Apps and Office365 Groups
Power Apps and Office365 GroupsPeter Heffner
312 vues8 diapositives
9781439035665 ppt ch08 par
9781439035665 ppt ch089781439035665 ppt ch08
9781439035665 ppt ch08Terry Yoast
328 vues62 diapositives
Chap08 par
Chap08Chap08
Chap08Terry Yoast
454 vues60 diapositives
IRE Project IIIT Hyderabad Tweet classification Group 37 par
IRE Project IIIT Hyderabad Tweet classification Group 37IRE Project IIIT Hyderabad Tweet classification Group 37
IRE Project IIIT Hyderabad Tweet classification Group 37manish jindal
709 vues24 diapositives
Tweets Classification using Naive Bayes and SVM par
Tweets Classification using Naive Bayes and SVMTweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVMTrilok Sharma
27.7K vues24 diapositives
Microsoft dynamics ax 2012 development introduction part 2/3 par
Microsoft dynamics ax 2012 development introduction part 2/3Microsoft dynamics ax 2012 development introduction part 2/3
Microsoft dynamics ax 2012 development introduction part 2/3Ali Raza Zaidi
14.7K vues56 diapositives

Contenu connexe

Similaire à Power Apps and Microsoft Teams

chapter 5 Objectdesign.ppt par
chapter 5 Objectdesign.pptchapter 5 Objectdesign.ppt
chapter 5 Objectdesign.pptTemesgenAzezew
6 vues37 diapositives
Developing a new Epsilon EMC driver par
Developing a new Epsilon EMC driverDeveloping a new Epsilon EMC driver
Developing a new Epsilon EMC driverHoracio Hoyos Rodríguez
547 vues50 diapositives
Salesforce, APEX Concepts par
Salesforce, APEX ConceptsSalesforce, APEX Concepts
Salesforce, APEX ConceptsGaurish Goel
1.6K vues6 diapositives
Presentation_BigData_NenaMarin par
Presentation_BigData_NenaMarinPresentation_BigData_NenaMarin
Presentation_BigData_NenaMarinn5712036
788 vues49 diapositives
Running automated tests with Sparx Enterprise Architect add-ins, London EA Us... par
Running automated tests with Sparx Enterprise Architect add-ins, London EA Us...Running automated tests with Sparx Enterprise Architect add-ins, London EA Us...
Running automated tests with Sparx Enterprise Architect add-ins, London EA Us...Guillaume Finance
283 vues31 diapositives
Mvc acchitecture par
Mvc acchitectureMvc acchitecture
Mvc acchitecturelaxmi.katkar
694 vues13 diapositives

Similaire à Power Apps and Microsoft Teams(11)

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
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
Import excel rows to sharepoint list par
Import excel rows to sharepoint listImport excel rows to sharepoint list
Import excel rows to sharepoint listPeter Heffner
3.2K vues12 diapositives

Plus de Peter Heffner(20)

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
SharePoint Lesson #58: Meeting Documents & Events par Peter Heffner
SharePoint Lesson #58: Meeting Documents & EventsSharePoint Lesson #58: Meeting Documents & Events
SharePoint Lesson #58: Meeting Documents & Events
Peter Heffner566 vues

Dernier

DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs par
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDeltares
7 vues17 diapositives
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema par
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 - GeertsemaDeltares
17 vues13 diapositives
Citi TechTalk Session 2: Kafka Deep Dive par
Citi TechTalk Session 2: Kafka Deep DiveCiti TechTalk Session 2: Kafka Deep Dive
Citi TechTalk Session 2: Kafka Deep Diveconfluent
17 vues60 diapositives
Software evolution understanding: Automatic extraction of software identifier... par
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...Ra'Fat Al-Msie'deen
7 vues33 diapositives
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... par
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...Deltares
9 vues24 diapositives
WebAssembly par
WebAssemblyWebAssembly
WebAssemblyJens Siebert
33 vues18 diapositives

Dernier(20)

DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs par Deltares
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
Deltares7 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
Citi TechTalk Session 2: Kafka Deep Dive par confluent
Citi TechTalk Session 2: Kafka Deep DiveCiti TechTalk Session 2: Kafka Deep Dive
Citi TechTalk Session 2: Kafka Deep Dive
confluent17 vues
Software evolution understanding: Automatic extraction of software identifier... par Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... par Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares9 vues
What Can Employee Monitoring Software Do?​ par wAnywhere
What Can Employee Monitoring Software Do?​What Can Employee Monitoring Software Do?​
What Can Employee Monitoring Software Do?​
wAnywhere21 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
Roadmap y Novedades de producto par Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j50 vues
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut... par HCLSoftware
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
HCLSoftware6 vues
Fleet Management Software in India par Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable11 vues
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)... par Deltares
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...
Deltares9 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
.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
Tridens DevOps par Tridens
Tridens DevOpsTridens DevOps
Tridens DevOps
Tridens9 vues
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... par Deltares
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
Deltares6 vues

Power Apps and Microsoft Teams

  • 1. The world leader in serving science How to use Microsoft Teams in Power Apps 23JUN2020 Peter Heffner @Lingualizer
  • 2. Power Apps & Teams Connector What is covered?  Get All Teams  Get Channels For Group  Get Messages From Channel  Post Message To Channel
  • 3. Connect Data Sources Add Microsoft Teams as a Data Source Office365User is optional
  • 4. Get the Teams  Add a Gallery and display the Teams: Items = SortByColumns( MicrosoftTeams.GetAllTeams().value, "displayName", Ascending )  Add 2 text labels ThisItem.displayName ThisItem.description  Gallery.OnSelect Set(glb_selTeams,ThisItem)
  • 5. Get the Channels  Add another Gallery and display the Channels of the previously selected Team (in variable glb_selTeams): Items = MicrosoftTeams.GetChannelsForGroup(glb_selTeams.id).value  Add a text label ThisItem.displayName  Gallery.OnSelect Set(glb_selChannel,ThisItem))
  • 6. Get the Messages  Add another Gallery and display the Messages of the previously selected Channel (in variable glb_selChannel): Items = MicrosoftTeams.GetMessagesFromChannel(glb_selTeams.id, glb_selChannel.id).value  Add 2 html-text labels ThisItem.subject ThisItem.body.content  Gallery.OnSelect Set(glb_selMessage,ThisItem); ClearCollect(collConversation,ThisItem)
  • 7. Display the complete message  Add a text label: Text = glb_selMessage.subject  Add a html-text label: HtmlText = glb_selMessage.body.content
  • 8. Post a Message to a Channel  Add a text input control:  Add a Rich Text Editor control:  Add a button control Button.OnSelect = MicrosoftTeams.PostMessageToChannelV3( glb_selTeams.id, glb_selChannel.id, { content: rte_Body.HtmlText, contentType: 1 // 0=text; 1=html }, {subject: ti_subject} )
  • 9. Known issues and limitations  The Microsoft Teams "When a new channel message is added" trigger only fires when root messages are added in the channel. Replies to an existing channel message will not result in the trigger event firing.  The message size limit for the "Post a message" action is approximately 28KB. This encompasses all HTML elements like text, images, links, tables, mentions and so on. If the message exceeds 28KB the action will fail with an error stating: "Request Entity too large" Source: https://docs.microsoft.com/en-us/connectors/teams/
  • 10. Thanks for watching! @Lingualizer This Photo by Unknown author is licensed under CC BY.