PowerApps and Flow Bill Feldker and Becky Bertram St. Louis SharePoint User Group, December 2016
Becky Bertram Owner of Savvy Technical Solutions 8-time SharePoint MVP Authored several Microsoft SharePoint exams Co-authored Wrox book on SharePoint 2013 Wrote on-demand SharePoint Online training at Opsgility.com Wife and mother of 3 kids, aged 5, 3, and 1
Bill Feldker •Solutions Consultant at Valorem •18 years of developer experience •12 years of Microsoft SharePoint experience •Husband and Father of two boys 13 and 11
Mercantilism An economic theory and practice that promoted governmental regulation of a nation's economy for the purpose of augmenting state power at the expense of rival national powers. … With respect to its colonies, British mercantilism meant that the government and the merchants became partners with the goal of increasing political power and private wealth, to the exclusion of other empires. The government protected its merchants— and kept others out—through trade barriers, regulations, and subsidies to domestic industries in order to maximize exports from and minimize imports to the realm. (Wikipedia)
Free Market A system in which the prices for goods and services are determined by the open market and consumers, in which the laws and forces of supply and demand are free from any intervention by a government, price-setting monopoly, or other authority. It is a result of a need being, then the need being met.
Old Microsoft: Mercantilism Corporations must be heavily invested in the Microsoft platform Products only play well with each other e.g. SharePoint only runs on Windows Server using SQL Server
New Microsoft: Free Market Interoperability with other platforms Microsoft gets its money by being the clearinghouse through which other products are connected or hosted e.g. Code is open-source, Microsoft joined the Linux foundation, Azure hosts Apache, Ubuntu, etc.
Connectors Connectors are ways to connect a Microsoft product or service to an external service Connectors used in Power BI, Office 365 Groups, PowerApps, and Flow
PowerApps Becky Bertram
What is a PowerApp? Mobile-ready application Phone- or tablet-centric Viewed with a phone app or using a browser Android, iPhone, GA; Windows Phone, Preview Phone apps can utilize phone camera Usually used to connect to other data sources Microsoft products such as SharePoint and SQL Server Cloud or on-prem using the On-premise Data Gateway 3rd party data sources (SalesForce, DropBox, Box.net, Slack, Pinterest, RSS, FTP) Created “auto-magically” for you based on your data source Some customization allowed No actual programmability
PowerApps Studio Tool for creating and editing PowerApps Available only Windows 10 desktop Create.PowerApps.com in Beta
PowerApps Portal https://powerapps.Microsoft.com Sign in with an organizational account Manage: PowerApps created by you or that have been shared with you for editing Connections On-premise gateways Flows (starting from a PowerApp) Common Data Service Determine which environment you’re using
Demo Creating a PowerApp the connects to SharePoint Online
On-Premise Data Gateway Connections to internal on prem datasources – Non API You can install the gateway installer (Server only) Does not need to be on the same server as the data source Currently only SharePoint and SQL Server are supported Uses the Azure Service Bus for data transfer Can’t be on a DC
Demo Connecting to an on-premise SharePoint List using the Data Gateway
Management https://admin.powerapps.com Environments Select region (immutable) Can use the Common Data Model Could be used for segments of your company, or for Dev/QA/Prod Security User roles If using CDM, can also determine granular permissions Data Policies Determine which environment(s) Restrict sharing of data between particular environments
Demo Managing Your PowerApps Environments
Publishing and Sharing Your PowerApps Share with individual users Grant read or contributor access Share with whole organization Users with Contribute access will see it on the PowerApps Apps list Users with Read access will see it on the Dynamics 365 homepage or in App Source (https://home.dynamics.com)
Sharing an app Using the PowerApps Portal and the Dynamics 365 Homepage
Microsoft Flow Bill Feldker
What is Flow? Microsoft offering to automate workflows between apps and services http://flow.microsoft.com Start from a template or create your own from scratch
Microsoft Flow helps you work smarter by automating workflow across your apps and services Get notifications Synchronize files Collect data Automate approvals
The flow ecosystem
Templates There are hundreds of templates to choose from Currently you cannot share your templates out Sharing is supposed to be ready by the end of 2016 Sharing within your organization Sharing with the general public
Service Connections Different from PowerApps – not just connections to data, also actions and triggers
Flow in SharePoint
Included in context in SharePoint (online):
Triggers - SharePoint Triggers
Actions - SharePoint Actions
Actions - SharePoint Actions – Dynamic Content
Connections
Connections This is a list of your current connections in Flow
Custom API
Connecting your services to Flow Flow is fully metadata-driven and extensible so you can connect to any of your own services Even connect to 3rd party services you consume Custom APIs within an organization Scoped to a company so that you can build something that’s unique to that organization
Requirements for building a connector HTTP Web API Must Use Swagger to define your API One of the standard forms of Auth: API key Basic OAuth 2.0 APIs which have human-consumable contracts For triggers: Webhooks recommended Polling available with some work
Custom Connectors with PowerApps
Flow Pricing
Flow Documentation
Documentation General Flow Information Custom API https://flow.microsoft.com/en-us/documentation/getting-started/ https://flow.microsoft.com/ Custom API https://flow.microsoft.com/en-us/documentation/register-custom-api/ https://flow.microsoft.com/en-us/documentation/customapi-azure-resource-manager-tutorial/#enable- authentication-in-azure-active-directory
Demo
Questions?