delve & office graph - wpc 2015...• oauth 2.0 standard for authentication and authorization....

Post on 27-Jul-2020

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

presenta

www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it 1

Delve & Office Graph

Marco Rizzi – Solution Architect Collab – Avanade

• +15 anni di esperienza nella consulenza per il settore IT con focus su Collab, Social, Portals, Search

• Speaker - Microsoft SharePoint Conference, WPC, SharePoint Saturday, DotNet Campus, ….

• Organizzatore SharePoint Saturday Italy

• Riconoscimento Microsoft MVP 2014-2015

• Esperienza su SharePoint a partire dal prima beta nel 2001 (codename Tahoe)

• 15 certificazioni Microsoft su tecnologie ASP.net, SharePoint 2007, 2010, 2013 sia Dev che Infra

• Self employed – 7 anni

• Microsoft Italy – 3 anni

• Avanade dal 2008 – Solution Architect Collaboration

Marco Rizzi

@marcorizzi

marcorizzi78

marcorizzi

Delve [delv], verb

“Svolgere una ricerca

intensiva e

approfondita di dati,

informazioni o simili”

“Ricercare o fare

indigini scrupolose su

qualcosa”

Delve vs Office Graph

Delve• An application

pivoting on the data

in the Office Graph

• Web based

• Mobile App for

Android and IOS

Office Graph• Based on

Search/FAST

• Predictive Analytics

& Machine Learning

techniques that

connects you to

relevant data

• An API

Agenda

Delve

Office Graph

Roadmap

Office Graph

Delve

Roadmap

Today at work we use many different tools…

MAIL FILES

CALENDAR Yammer SKYPE

ONENOTE

User Files Conversations People & Groups Events

Silos in enterprises

User Files Conversations People & Groups Events

COLLEAGUES

MESSAGES

EVENTS

FILES

EMAILS

Enterprise data organized around user

Stay in the knowDiscover information

tailored to you from

your network.

Find what you needFind the right results

from any source and

take action

Discover new connectionsConnect with the right

experts and learn more

about their content

Search and discovery across Office 365

User Experience

Management

Extensibility

Enterprise search center

Content and connector frameworks

Query management

Personalized discovery experiences, assistants

Office Graph connectors, API’s and hybrid support

Governance controls

+

Search vs Discovery

Stay informed and

productive even on the go

People as proxy

to information.

http://aka.ms/DelveAndroid

http://aka.ms/DelveIphone

Finding Content through People

Delve Demo

Most user clicks result in this sequence

• Search(es) /_api/search/query

• Signal(s) /_api/signalstore/signals

• Document and people preview images /_layouts/15/getpreview.ashx + /_layouts/15/userphoto.aspx

Delve HTTP traffic pattern

query

documents

signals

Document & people preview images

preview request

Office graphsearch

signal

preview

Search index

Document store

Signal Store

Delve Roadmap

Office Graph

Content

+

Delve insights today and tomorrow…

People Groups Analytics

Finding Content through People

Finding People through Content

People Experiences in Delve

Boards, Favorites, Praise

Discover and connect

through Groups

Easily get back to the

people and groups

that matter most

Delve stitches

together all recent

activity around a

group for quick

insights and access

Group Insights in Delve

Delve Analytics

Delve Analytics uses big data to reveal how behaviors drive business outcomes.

With Delve Analytics you will gain visibility into your individual activities and

relationship that drive

business forward.

Delve Analytics will help each individual and team leader into the enterprise be

more effective at work and will enable organizations to uncover trends in how

behaviors drive business outcomes.

Coming soon with Analytics Platform and API

Microsoft acquisition

Drill down on time

spent on various

activities and identify

patterns

Identify opportunities

to improve cross team

collaboration

Rich Interactive

dashboards,

promoting visual

discovery and

insights for people

and teams

Delve Analytics

Source: Personal productivity insights, coaching and self-awareness with Delve Analytics. Warren Johnson

Personal and Team Work Analytics

• Your time this week

• Your collaboration this week

• You and our manager

• My time by category

• Top connections

• My time in meetings

• Network velocity

• …

Office Graph

“The Office graph uses advanced analytics and machine learning techniques to connect and complete the data coming from all of the Office 365 services. To present the most relevant content in different contexts, the Office graph uses a two-step analysis.

First, it calculates which users in the graph are most relevant to the current context.

Second, it retrieves the most relevant content associated with these users.”

https://msdn.microsoft.com/en-us/office/office365/howto/develop-office-graph

Office Graph … what?

• Actor Source Node in the Office Graph

Represented by the DocId of the item in the search index (or ME)

• Object Target Node in the Office Graph

Represented by the DocId of the item in the search index

• Edge Relationship/interaction between the Actor and Object

Has a Action type, a Weight, a timestamp and a few more properties

• Action type The type of action the Edge represents

Graph Terminology Actor ObjectEdge

/users

/messages

/events

/files

/groups

/groups

/workingWith

/trendingAround

Office Graph

Files Conversations People & Groups Events

Actions and

relationships

Types of data

USERS

UserName: Jane Doe

Alias: JDoeFILES

EmployeeTitle: Sales Mgr

FileTitle: String

URL: String

Author: User

DocumentPageCount: Int

CreateActionTimeStamp: Date

CreatedBy: User

Created: File

ACTION

CREATE

Modeling concepts and extensibility

Click/Open

Modify/Save

Share

Follow

Social gestures

Social comments

Email

Video

Presented to

Meetings

Ignore

Search

Lync

External API/Partner/etc..

Signals

• It’s based on Search Security Trimmed

• Delve never changes any permissions, so you'll only see documents that you already have access to.

• Other people will not see your private documents or, for example, documents that you've stored in private folders in OneDrive for Business or attachments shared with a specific group of people.

• Your Delve view is tailored to you; what you see in Delve is based on your permissions and your interactions with others in Office 365.

• Hide document from Delve by adding column HideFromDelve on content type

Transparency and Control

Both tenant and user level

opt-in/opt-out settings

Transparency and Control

Office Graph for Developers

USERS FILES MAIL CALENDAR TASKSGROUPS

All of O365

Authentication

Federation

graph.microsoft.com

Insights and relationships from Office Graph

Your App

Unified API and Office Graph

GET https://graph.microsoft.com/me/workingWith

GET https://graph.microsoft.com/myorganization/

/users/marco.rizzi@avanade.com/workingWith

• Graph Query Language (GQL) over SharePoint Online Search REST API

• REST and OData 4.0 standards for data transport

• OAuth 2.0 standard for authentication and authorization

Programmability

REST

• HTTP GET

• HTTP POST• /_api/search/query• AuthN might be required

JSOM

• KeywordQuery()• AuthN not required

CSOM

• KeywordQuery()• AuthN required

https://msdn.microsoft.com/office/office365/howto/query-Office-graph-using-gql-with-search-rest-api

• Querying the Office Graph is supported by SharePoint Apps – ie classic apps that use ACS and appregnew.aspx

Azure AD Apps – the kind of apps you should use

• Requires delegated permissions SharePoint Apps: Search -> QueryAsUserIgnoreAppPrincipal

Missing permissions -> no result

Azure AD Apps: Office 365 SharePoint Online -> Run file search queries as a user

Missing permissions -> an error

Office Graph and OAuth

Graph Query Language Samples

//First 10 items related to you (full REST syntax)

<tenant_address>

ACTOR(ME)

//Items that you have recently modified (1003) or viewed (1001)

ACTOR(ME, OR(action:1001,action:1003))

//Items you have recently viewed, and Bill has recently modified.

AND(ACTOR(ME,action:1001),ACTOR(2962,action:1003))

//Items you have recently modified starting from 13 October 2015 till now

ACTOR(ME, AND(action:1003, time:range(datetime(2015-10-13),max)))

Action types list

Action Type Description Visibility ID Weight Timestamp

PersonalFeed The actor's personal feed as shown on their Home view

in Delve.

Private 1021 A sequence

number.

When the item was

added to the feed on

the Home view in

Delve.

Modified Items that the actor has modified in the last three

months.

Public 1003 The number of

modifications.

Last modified.

OrgColleague Everyone who reports to the same manager as the actor. Public 1015 Always 1. -

OrgDirect The actor's direct reports. Public 1014 Always 1. -

OrgManager The person whom the actor reports to. Public 1013 Always 1. -

OrgSkipLevelManager The actor's skip-level manager. Public 1016 Always 1. -

WorkingWith People whom the actor communicates with or works with

frequently.

Private 1019 A relevance

score.

-

TrendingAround Items popular with people whom the actor works with or

communicates with frequently.

Public 1020 A relevance

score.

-

Viewed Items viewed by the actor in the last three months. Private 1001 The number of

views.

Last viewed.

WorkingWithPublic A public version of the WorkingWith edge. Public 1033 A sequence

number.

-

Query Office Graph inside a SharePoint Add-In

CSOM Query

www.wpc2015.it – info@wpc2015.it - +39 02 365738.11

DemoSharePoint Add-in

Windows Phone 8.1 App

Office Graph Roadmap

• Graph Query API’s for building rich apps

• Sprinkle intelligence to existing apps

• Access data from across workloads vs silos

• Graph Query Language (GQL) over SharePoint Online Search REST API

• REST and OData 4.0 standards for data transport

• OAuth 2.0 standard for authentication and authorization.

• Ability to connect to LOB and 3rd party services

• Expand coverage and value of first party apps

• Classification, concept and expertise detection

• SharePoint 2016 – Hybrid connectivity (e.g. SharePoint 2013, 2010, 2007, Exchange on-prem, ….)

Office Graph Extensibility

Office Graph ExtensibilityContent & Enrichment API’s

REST/Odata API

Client SDKs

Type extensibility

Connectors

Custom analytics API

Notifications

Hybrid scenarios (e.g. Exchange on prem)

Roadmap

Q & A

Domande e Risposte

www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it 57

Rate this session

www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it 58

Contatti OverNetEducation

OverNet Educationinfo@overneteducation.it

www.overneteducation.it

Tel. 02 365738

@overnete

www.facebook.com/OverNetEducation

www.linkedin.com/company/overnet-solutionswww.wpc2015.it

www.wpc2015.it – info@wpc2015.it - +39 02 365738.11 - #wpc15it 59

top related