SlideShare a Scribd company logo
aOS 2017Canadian Tour
Fueled by
Quebec
Montreal
Ottawa
Toronto
February 6
February 7
February 8
February 10
Introduction to
Azure Fonctions
and Microsoft Flow
Or reliable and fast development
Vincent Biret
MVP Office Servers and
Services
Cloud Architect @ 2ToLead
@baywet
bit.ly/vincentbiret
Thanks !
Fact – it’s hard to find good devs
Fact – dev can get complex
Fact – costs increase rapidly
• Customizing SharePoint Workflows with SPD?
• Developing WF with Visual Studio?
• Maintaining a WF infrastructure?
Your experience?
• SharePoint workflows are a complicated thing
• Limited to SharePoint
• Software development is costly
• Reusing what already exists
Why this session?
The Team
Users Devs
• Demo (“broken bridges” solution)
• Introduction to Microsoft Flow
• Introduction to Azure Functions
• Conclusion
Agenda
Ready?
Vincent biret azure functions and flow (ottawa)
Text messages volonteer
Demo
“broken bridges” solution
Microsoft Flow
Or workflows that actually work
• User based workflow solution
• 91 services integrated as of today
• Web editor
• You can leverage on prem data via a gateway
• Steps based concept
• Numerous templates already available
Description
Some Services
• Free – 750 ex/month, 15 min
• Plan 1 – 5USD/u/m – 4500 ex/month, 3min
• O365 or D365 – free – 2000 ex/month, 5 min
• Plan 2 – 15USD/u/m – 15 000 ex/month, 1 min
Pricing
Demo
The Approbation flow
• Performances are not
guaranteed
• Delivery is not guaranteed
• User based execution
context
• No import/export
• Inconstancies
Folder/SPItem
Some remarks
• WebHooks to start the flows
• Private API’s => use of swagger + AAD app
• Public API’s => Swagger (Icone…) => flowdev@microsoft.com
• Catalog => Iframes + URL params system or SDK JS
What about the devs?
Azure Functions
Or focusing on what matters
• Run « pieces of code »
• Focus on code, nothing else
• Supported by Azure App Service/WebJobs
• .NET is .netcore
Azure Functions
Supported langages
Scenarios
Scenario 2
Available region
Triggers
• One trigger per function
• Can have multiple inputs (SQL, Azure Storage, DocumentDB…)
• Can have multiple outputs (same as inputs + http, SendGrid, Twilio…)
Triggers/Inputs/Outputs
f
WebJob-App
Service
Cloud Service
VM
On prem
How to chose?
s
i
m
p
l
i
c
i
t
y
c
o
n
t
r
o
l
e
• Web Editor
• Git + Visual Studio
• VS 2015 update 3
• Azure SDK 2.9.6 +
• Web dev tools
• https://aka.ms/azfunctiontools (SDK in preview)
• #r ‘’Newtonsoft.Json’’
Tools
Demo
Functions: inspector localisation, web editor, Visual Studio (if we have time)
Flow + Functions
Best practices
• WebHooks (both ways)
• Simple API (limitations)
• API + swagger
• API + Swagger + PowerApps
Multiple integration options
Conclusion
I swear, I’m going to stop talking soon and let you free
• Native access to tons of services and data
• Short developement cycles
• More power to users
• Time saved
• Money saved
Conclusion
Thanks!/Questions?
Bit.ly/vincentbiret @baywet slideshare.net/VincentBIRET

More Related Content

Vincent biret azure functions and flow (ottawa)

Editor's Notes

  1. Difficultés à recruter Overengineering coûts
  2. Audience: power users, devs, décideurs
  3. L’objectif c’est que les usagers fassent des flow et demandent aux développeurs des API/functions
  4. Gestion des questions, interaction, ok avec ce programme?
  5. Verifier le compte de la personne avec twilio.com/user/account/phone-numbers/verified
  6. https://flow.microsoft.com/
  7. https://flow.microsoft.com/fr-fr/pricing/
  8. Le débuggueur a cessé quand j’ai oublié d’approuver On peut attendre jusqu’à plusieurs minutes sur une approbation https://powerusers.microsoft.com/t5/Flow-Ideas/Flow-export/idi-p/8912 http://social.technet.microsoft.com/wiki/contents/articles/36906.microsoft-flow-and-sharepoint.aspx
  9. https://flow.microsoft.com/fr-fr/documentation/get-started-flow-dev/ https://flow.microsoft.com/fr-fr/documentation/embed-flow-dev/ https://flow.microsoft.com/fr-fr/documentation/customapi-webhooks/ https://flow.microsoft.com/fr-fr/documentation/register-custom-api/ https://sandervandevelde.wordpress.com/2016/10/09/triggering-microsoft-flow-using-an-azure-function/
  10. Emphase: faible courbe d’apprentissage car langages très présents dans l’industrie C# et Javascript ceux qui ont le plus d’intégration pour le moment
  11. Toutes les 15 minutes, data scavenging Event blob storage, transformation du CSV en données, explotation via powerbi Event excel onedrive, creation de graphiques automatisée
  12. Photo prise qui appelle un webhook, stockage dans le blob storage, redimensionnement des images Implémentation d’un bot via le SDK, commandes mappées à des functions, sortie mappée à des réponses
  13. Les autres paramètres d’entrées vont être mappés aux paramètres de notre fonction en fonction des noms qu’on fournit
  14. Expliquer ce qu’est un webhook Modèles de route permettent de réutiliser la même fonction en contextualisant les appels
  15. https://blogs.msdn.microsoft.com/webdev/2016/12/01/visual-studio-tools-for-azure-functions/ Syntaxe r avec le pool de librairies à disposition Référencer une dll existante comme point d’entrée http://stackoverflow.com/questions/36577584/how-to-put-the-entry-point-of-an-azure-function-inside-a-net-dll
  16. https://www.visualstudio.com/fr-fr/docs/build/concepts/agents/hosted#software