Top Banner
36

How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

May 28, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability
Page 2: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

How to build better apps using Microsoft Graph

Mark Stafford

Program Manager, Microsoft Graph

Page 3: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Microsoft Graph is a free-to-use REST API for M365 and more.

Page 4: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Agenda

Page 5: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Introducing Contoso Airlines

Page 6: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

▅ Small airline, 95% US domestic

▅ 4,500 flight crew

▅ 60 developers, mostly Web/mobile

▅ Mixed cloud platform

▅ M365 E5 subscribers

About Contoso Airlines

Page 7: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

▅ Mobile/kiosk scheduling app for flight crew

▅ Serverless provisioning app for compliance and conformity

▅ Workflow app to handle last-minute flight crew changes

▅ Bot as an natural language interface for scheduling system

▅ Analytic app for analyzing effectiveness of flight crew allocation

Contoso Airlines’ app needs

Page 8: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

1. Realistic needs

2. Architecturally differentiated

3. Different patterns for consuming Microsoft Graph

Why those apps?

Page 9: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Why build with Microsoft Graph?

Page 10: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

2 cognitive biases every dev should know

• The origami experiment

• Overvaluation of things

you’ve worked on

1. The IKEA effect

• The idea experiment

• Tendency to reject other

ideas in favor of your own

2. Not-invented-here

Page 11: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

1. Distract from your business 2. You own the risk

2 dangers of these biases

Page 12: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

What business are you in?

Page 13: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

2 examples of knowing your business

Real estate Media company

Page 14: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Focusing on others’ business costs you time

Re-researching

8%

Re-building

26%

Re-certifying

10%

Adding YOUR unique value

56%

Page 15: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Microsoft helps you focus on your business

Fundamentals

☑Secure

☑Compliant

☑Scalable and resilient

☑Global

☑Trusted

Graph domains

☑Productivity

☑Directory

☑Security

☑ Files

☑And more!

Page 16: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Microsoft scale, Microsoft guarantees

>1Bidentities secured

>70compliance certifications

>50Azure regions

95%of Fortune 500

companies

Page 17: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Productivity

Mail

Calendar

Teamwork

Tasks

Directory

Users

Groups

Devices

Policies

Sites & files

Files

Sites

Lists

Excel

…and more

Security

Reports

Cross-

device

…and still

more!

Graph domains

Page 18: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Beware the slippery slope

Page 19: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Graph is a unified endpoint

API 1 -

register app

API 1 -

authenticate

API 1 - read

docs

API 2 -

register app

API 2 -

authenticate

API 2 - read

docs

Add

YOUR

value

1

2

3

4

Page 20: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

What to build with Microsoft Graph?

Page 21: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Portal/mobile appsAutomation/business

process apps

Bots/dialogue apps Analytical apps

4 app patterns

Page 22: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Portals, desktop, and mobile apps

▅ Typically HTML+JavaScript,

iOS, or Android

▅ Always has authenticated

user

▅ Content tends to be user-

oriented and scoped

▅ Consider offline usage

scenarios

Page 23: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Automation and business process apps

▅ Variety of languages and

hosting options (e.g.,

serverless)

▅ Almost never has

authenticated user

▅ Content can range over

users and domains

▅ Consider batching and

throttling implications

Page 24: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Bots and interactive dialogue apps

▅ Typically framework based

(e.g., Bot Framework)

▅ Usually has authenticated

user (but auth is challenging)

▅ Content tends to be user-

oriented and scoped

▅ Consider how to render

result(s) with limited real

estate or “headless” devices

Page 25: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Analytic apps

▅ Typically involves big data

processing tools

▅ Never has authenticated

user

▅ Content tends to be broad

but specific (minimize

footprint)

▅ Consider security, privacy,

and ToU implications

Page 26: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Portal Automation Bot Analytic

Auth

flow

Implicit/OBO Client

credentials

Device code Client

credentials

Has user Always Rarely Usually Never

Content User-oriented Varies User-oriented Scenario-

oriented

Consider Offline Throttling Limited size Security/

privacy

App pattern comparison

Page 27: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

How to build with Microsoft Graph?

Page 28: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Step 1: Try Graph Explorer (https://aka.ms/ge)

Page 29: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Step 2: Browse the API reference

Page 30: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Step 3: Try a quickstart

Page 31: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Step 4: Register an app

Page 32: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Step 5: Download the SDK

Page 33: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

Step 6: Build your app!

Page 34: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability

▅ 2 cognitive biases: IKEA effect and not-invented-here

▅ Know and focus on your business

▅ Microsoft checks all the right security and scalability boxes

▅ Microsoft Graph has many useful domains

▅ 4 app types: portal/mobile, automation, bot, analytics

▅ Graph Explorer is a zero-cost way to get started

Review

Page 35: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability
Page 36: How to build better apps using - Microsoft...2 cognitive biases: IKEA effect and not-invented-here Know and focus on your business Microsoft checks all the right security and scalability