34
Advanced Integration with Yammer

Biwug1903 yammer-development

  • Upload
    biwug

  • View
    120

  • Download
    0

Embed Size (px)

Citation preview

Advanced Integration with Yammer

Special thanks to our sponsors

About me

SharePoint Server MVP since 2008

My blog is httpwwwsilver-itcom

stephaneeyskens

Why this session

Yammer amp SharePoint integration is still weak

Yammer gains in popularity in entreprises

No too many NETYammer initiatives yet

Audience Poll

Who works for a company that runs Yammer

Who works for a company that runs Office 365

Who has already developed Yammer Apps

Who has already written Provider-Hosted Apps in SPO

Key take aways

There is more than just the Yammer App

SSO Insights

OpenGraph to surface LOB activities

Get Started with Enterprise Apps

Yammer History

Launched in 2008

Bought by Microsoft in 2012

Now integrated in Office 365

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Special thanks to our sponsors

About me

SharePoint Server MVP since 2008

My blog is httpwwwsilver-itcom

stephaneeyskens

Why this session

Yammer amp SharePoint integration is still weak

Yammer gains in popularity in entreprises

No too many NETYammer initiatives yet

Audience Poll

Who works for a company that runs Yammer

Who works for a company that runs Office 365

Who has already developed Yammer Apps

Who has already written Provider-Hosted Apps in SPO

Key take aways

There is more than just the Yammer App

SSO Insights

OpenGraph to surface LOB activities

Get Started with Enterprise Apps

Yammer History

Launched in 2008

Bought by Microsoft in 2012

Now integrated in Office 365

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

About me

SharePoint Server MVP since 2008

My blog is httpwwwsilver-itcom

stephaneeyskens

Why this session

Yammer amp SharePoint integration is still weak

Yammer gains in popularity in entreprises

No too many NETYammer initiatives yet

Audience Poll

Who works for a company that runs Yammer

Who works for a company that runs Office 365

Who has already developed Yammer Apps

Who has already written Provider-Hosted Apps in SPO

Key take aways

There is more than just the Yammer App

SSO Insights

OpenGraph to surface LOB activities

Get Started with Enterprise Apps

Yammer History

Launched in 2008

Bought by Microsoft in 2012

Now integrated in Office 365

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Why this session

Yammer amp SharePoint integration is still weak

Yammer gains in popularity in entreprises

No too many NETYammer initiatives yet

Audience Poll

Who works for a company that runs Yammer

Who works for a company that runs Office 365

Who has already developed Yammer Apps

Who has already written Provider-Hosted Apps in SPO

Key take aways

There is more than just the Yammer App

SSO Insights

OpenGraph to surface LOB activities

Get Started with Enterprise Apps

Yammer History

Launched in 2008

Bought by Microsoft in 2012

Now integrated in Office 365

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Audience Poll

Who works for a company that runs Yammer

Who works for a company that runs Office 365

Who has already developed Yammer Apps

Who has already written Provider-Hosted Apps in SPO

Key take aways

There is more than just the Yammer App

SSO Insights

OpenGraph to surface LOB activities

Get Started with Enterprise Apps

Yammer History

Launched in 2008

Bought by Microsoft in 2012

Now integrated in Office 365

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Key take aways

There is more than just the Yammer App

SSO Insights

OpenGraph to surface LOB activities

Get Started with Enterprise Apps

Yammer History

Launched in 2008

Bought by Microsoft in 2012

Now integrated in Office 365

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Yammer History

Launched in 2008

Bought by Microsoft in 2012

Now integrated in Office 365

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

SharePoint amp Yammer Today

A few Apps are available from the market place suchas the Yammer App from Microsoft Yammer Feed Yammer Parts

Thatrsquos about it

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Yammer vs Yammer Enterprise

YE offers more administration control but is still an opened product

YE Enterprise Apps are more powerfull (User Impersonation Broadcastinghellip)

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Building a Yammer Enterprise network

Join your company domain to 365

Enable Yammer in 365 by activating the Yammerservice

Yoursquore done More info httpssupportofficecomen-usarticleYammer-

activation-guide-4f924c74-87d2-49d0-a4f6-cba3ce2b0e7c

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

SSO Before

DirSyncFIMPowerShell to populate on-prem usersto Yammer Directory

ADFS with Yammer

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

SSO Now

DirSyncFIMPowerShell to populate on-prem users to Office 365 Directory (AAD)

ADFS with Office 365 (2 PowerShell cmdlets) providing you alreadyhave an ADFS infrastructure

Yammer amp Office 365 identities have been merged

Coming up AD Connect stay tunned

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Demo ndash Merged Identities

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Yammer API - REST

Messages

Open Graph

Groups

Users

Networks

Autocomplete

Invitations

Suggestions

Realtime

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Yammer API - Embed

Easily embed groups topics Open Graph items in an IFRAME in a few lines of code

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Why custom Apps

Because Yammer Embed is easy but too limited

Because Apps can leverage any REST API

Because Apps offer CORS support

Because Apps enable out of browser scenarios

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

App Registration

Visit httpswwwyammercomclient_applications

Register a new App

Register JavaScript Origins to enable CORS

Grab the Client ID

Potentially deploy your App in your local directory

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Demo ndash Registering a new App

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

App Authorization

All or nothing

Revoked either manually by end users either whenthe account for which they got a token is removed

Enterprise Apps bound to a Global Admin do not need explicit authorization from users to act on theirbehalf

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Getting an Access Token

To get an Access Token you should setup a service account

Unlike SharePoint Yammer Apps requires a User Context You canrsquot have an AccessToken without a proper user login up front

Yammer Access tokens should never expire

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Getting an Access Token with a Browser

Either use the JavaScript SDK (demo will follow)

Either input httpswwwyammercomdialogoauthclient_id=[client_id]ampredirect_uri=[redirect_uri] in your browser followed by httpswwwyammercomoauth2access_tokenjsonclient_id=[client_id]ampclient_secret=[client_secret]ampcode=[code] where code is the result of the previous query

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

App Impersonation

With an Admin Access Token Apps can impersonate as any user

Impersonation can be done to Microblog Commenthellipon behalf of a user No App authorization is required by the targeted user

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Enough theory time for demos

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Yammer JavaScript SDK demo

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

What to avoid in JavaScript

Do not use GAT tokens from JavaScript

If you need to leverage a GAT from JavaScript put a proxy in between

Avoid jQuery and other frameworks and stick to the Yammer SDK

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Using Yammer Apps in SPO Workflows

Create a list with unique permissions Only site col admins shouldreadwrite frominto it Store the Bearer Token amp App Id

Activate the web scoped feature laquo WF can use app permissions raquo

Create a SPD WF that retrieves the AppId amp Bearer gets WF initiator amp reviewerrsquos Yammer UID Gets an impersonation token to send a message on behalf of the WF initiator

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Demo ndash LeveragingYammer Apps fromSharePoint Workflows to send messages to YammerReviewers

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Yammer API - OpenGraph

ltActorgt ltActiongt

ltObjectgt

Is writing

Wrote

A News

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Demo ndash Registering LOB activities with OpenGraph

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Demo ndash Surface SharePoint calendar events in OpenGraph

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Using Yammer Apps in SPO RER

Build a Provider-Hosted App

Bind RER to SharePoint Security Groups

In your remote service use the Yammer Bearer + SP App OnlyPolicy to keep SharePoint Team Sites amp Yammer Groups in sync

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Demo ndash LeveragingYammer Apps fromSharePoint RER to maintainSecurity Groups

Thank you

Thank you