Custom APIs with Powerapps and Microsoft Flow

Post on 16-Apr-2017

147 views 3 download

Transcript of Custom APIs with Powerapps and Microsoft Flow

Custom APIs with PowerApps and Microsoft Flow

Malin De SilvaMVP, Office Servers and Services

Malin De Silva

Email : malindesilva@live.comTwitter : Malind19Facebook : Malin De SilvaLinkedIn : Malin De Silva

• MVP for Office Servers and Services.

• SharePoint Specialist with experience since SharePoint 2007.

• MCSD, SharePoint Apps.• Speaker at many conferences

and meetups.

Agenda• PowerApps Recap

• Why Custom API?

• Using Custom APIs

• Microsoft Flow

PowerApps Recap• Apps that run on Mobile and Web

• Built using a Windows 10 App or Browser

• Access through PowerApps App or Web

• Connectivity for multiple services and Custom APIs

• On-premises connectivity through gateways

Business Application Platform Innovation

• Power Users• Professional Developers• The Microsoft Common Data

Model• Connectors and Gateways

Why Custom APIs?• Services not supported

• Custom logic and interactions

• Impersonations and custom authentication rules

Easy Steps1. Create Swagger file

2. Add connection to custom API

3. Add custom API to Flow and App

4. Share the custom API

DEMONSTRATIONCreating a Custom API with Visual Studio and Azure

Quota and Throttling• Up to five APIs per a PowerApps account

• Up to 500 requests per minute on each custom API

• Deleting the custom API deletes all the connections to the API

Microsoft Flow• Utilizes IFTTT Saas implementation

• Available templates as well as new templates

• Hosted on Azure App Services

• Many services in integrated with SharePoint lists and libraries(in future)

Supported Services

In-built templates

DEMONSTRATIONAutomation with Microsoft Flow

Pros and ConsPros

• Easily create cross site or cross tenant Flows

• Cross application Flows• Templates : Leverage or Build• Recurring Flows• User Profile Properties

Cons• Public Preview mode• Its personal; actions are ran using

your connections including any created items, emails send are using your credentials

• Cannot trigger a secondary Flow from the primary Flow

• Reordering of steps not possible; requires deleting and recreating to insert another Step

• Error on Twitter REST API max connections (by app, not user)Content credits: Jennifer Pearcey

Questions?Thank You

Email : malindesilva@live.comTwitter : Malind19Facebook : Malin De SilvaLinkedIn : Malin De Silva