34
Gold-Partner: Veranstalter: How to (remote) control Office 365 with Microsoft Azure Martina Grom & Toni Pohl

How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Embed Size (px)

Citation preview

Page 1: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Gold-Partner: Veranstalter:

How to (remote) control

Office 365 with Microsoft Azure

Martina Grom & Toni Pohl

Page 2: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

ÜBER UNS

Toni Pohl

Working on:

The Cloud

Azure

Kontakt:

Twitter: @atwork

E-Mail: [email protected]

Blog: http://blog.atwork.at

Facebook: https://www.facebook.com/groups/cloudusergroup/

Page 3: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

ÜBER UNS

Martina Grom

Working on:

The Cloud

Office 365 Deployments

Enterprise Social Engagements

Kontakt:

Twitter: @magrom

E-Mail: [email protected]

Blog: http://blog.atwork.at

Facebook: https://www.facebook.com/groups/cloudusergroup/

Page 4: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Agenda

Szenario

Authentication, App-Management und AAD

SharePoint Online

Exchange Online

Page 5: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

…use your desired

service(s)Azure

Page 6: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

SaaS automatisieren

Page 7: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Warum Office 365? Warum automatisieren?

Page 8: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Office 365 selbst automatisieren…

Authentifizierung als

Benutzer oder App für das

jeweilige Service

Authentifizierung

Als Benutzer in unserem

Webportal

Entscheidung, was der

Benutzer in der App

ausführen darf

Aufgaben automatisieren, zB:

• Benutzer anlegen

• Gruppe anlegen

• Wilkommens E-Mail versenden

• Mailbox Statistiken abrufen

Page 9: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Voraussetzungen

Office 365 Tenant

Get a free one month trial:

http://office.microsoft.com/

Microsoft Azure

Get a 30 day free trial:

http://www.windowsazure.com/en-us/pricing/free-trial/

Visual Studio 2013

Office Developer Tools [Office 365 API]

Page 10: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Tipps

Page 11: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Office 365 Allgemeine Dev. Tips

1. Nutzen Sie kostenfreie 30-days Office 365 Tenants

http://office.microsoft.com/en-001/business/compare-all-office-365-for-business-plans-FX104051403.aspx

2. Erzeugen Sie ein dev SPO Web [und ein App Web]

3. Verwenden Sie mehrere Browser [und den Private Mode]

4. Ohne Azure subscription geht’s nicht [mit O365 tenant verbinden]

5. Prüfen Sie die letzten Code Samples [outdated samples in MSDN]

6. Sie arbeiten mit cloud services [throtteling, version, …]

7. Verwenden Sie Tools [GraphExplorer, Samples….]

8. PowerShell Scripting hilft beim Automatisieren

Page 12: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Office 365 Trial mit Partner eröffnen

Page 13: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)
Page 14: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Office 365 AAD -> Azure Portal

Page 15: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

How to Access Services…

AAD -> Graph API, PowerShell

SPO -> CSOM, REST, PowerShell

Exchange Online -> Managed API, PowerShell

Lync Online -> SDK, PowerShell

Mailbox Content -> Office 365 API

Page 16: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Arbeiten mit

Identities und Services

in AAD

Page 17: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

GraphExplorer

https://graphexplorer.cloudapp.net

Page 18: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Integrating Applications

in Azure Active Directory

Access Level Type Description

Single Sign-On

Default permission. The app is enabled for single sign-on with

Azure AD, and the user token will contain claims such as the

user’s User Principal Name, First and Last Name and unique

identifiers.

Single Sign-On,

Read Directory Data

Single sign-on plus the ability to read directory data using the

Graph API. This allows querying of company, user and group

information.

Single Sign-On,

Read and Write Directory Data

Single sign-on plus the ability to read and write directory data

using the Graph API. This allows querying and writing of

company, user, and group information, but does not allow

deleting users or groups.

http://msdn.microsoft.com/en-us/library/windowsazure/b08d91fa-6a64-4deb-92f4-f5857add9ed8.aspx#BKMK_AccessLevels

Page 19: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Was wann in Microsoft Azure verwenden?

Access method Azure Website

$

Azure Cloud Service

$$$

AAD

Exchange EWS

Exchange PowerShell

SharePoint CSOM

SharePoint REST

SharePoint PowerShell

Lync SDK

Lync PowerShell

Page 20: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Ressourcen

Page 21: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

https://github.com/OfficeDev/PnP/tree/master/OfficeDevPnP.Core

Page 22: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Create a 30-days Office 365 tenant

http://office.microsoft.com/en-001/business/compare-all-office-365-for-business-

plans-FX104051403.aspx

Sample MVC Web: WebApp-GraphAPI-DotNet

https://github.com/AzureADSamples/WebApp-GraphAPI-DotNet

Sample App: WebApp-OpenIDConnect-DotNet

https://github.com/AzureADSamples/WebApp-OpenIDConnect-DotNet

GraphExplorer

https://graphexplorer.cloudapp.net/

Office 365 PnP

https://github.com/OfficeDev/PnP/tree/master/OfficeDevPnP.Core

Links - 1

Page 23: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Help: Adding Sign-On to Your Web Application Using Azure AD

http://msdn.microsoft.com/library/azure/dn151790.aspx

Office 365 API Tools

https://visualstudiogallery.msdn.microsoft.com/7e947621-ef93-4de7-93d3-

d796c43ba34f?SRC=VSIDE

Office-365-APIs-Starter-Project-for-Windows

https://github.com/OfficeDev/Office-365-APIs-Starter-Project-for-Windows/archive/master.zip

Developing iOS Apps with Azure and Office 365 APIs

http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2014/10/06/developing-ios-apps-with-

azure-and-office-365-apis.aspx

ADAL for iOS

https://github.com/AzureAD/azure-activedirectory-library-for-objc

Delve and the Office Graph

http://blogs.technet.com/b/austria/archive/2014/09/27/delve-und-der-office-graph.aspx

Office Graph Explorer

http://blog.atwork.at/post/2014/10/03/Office-365-Office-Graph-Explorer.aspx

MVA Introduction to Office 365 Development

Links - 2

Page 24: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Deep Dive Integrate Office 365 APIs in Your Web Apps

http://www.microsoftvirtualacademy.com/training-courses/deep-dive-integrate-office-365-apis-in-

your-web-apps

MVA Introduction to Office 365 Development

http://www.microsoftvirtualacademy.com/training-courses/introduction-to-office-365-

development?m=10072&ct=31602

Die Office 365 API im Überblick, Alexander Lachner, TechNet Conf. Berlin

http://channel9.msdn.com/events/microsoft-techncial-summit/Microsoft-Technical-Summit-

2014/Die-Office-365-API-im-Ueberblick

Deep Dive: Integrate Office 365 APIs in Your Web Apps

http://channel9.msdn.com/Series/Deep-Dive-Integrate-Office-365-APIs-in-Your-Web-Apps/01

Links – 3 Webcasts

Page 25: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Graph API Links

http://code.msdn.microsoft.com/Graph-API-Authenticate-and-53c6cb92/view/SourceCode

https://graphexplorer.cloudapp.net/

http://code.msdn.microsoft.com/windowsazure/Write-Sample-App-for-79e55502

http://msdn.microsoft.com/en-us/library/windowsazure/dn151790.aspx

http://www.cloudidentity.com/blog/2013/01/22/group-amp-role-claims-use-the-graph-api-to-get-back-isinrole-and-authorize-in-

windows-azure-ad-apps/

http://blogs.msdn.com/b/mvpawardprogram/archive/2014/01/20/identity-in-your-own-apps-with-windows-azure-active-directory.aspx

Page 26: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

SharePoint

http://www.microsoft.com/en-us/download/details.aspx?id=30359

http://msdn.microsoft.com/en-us/library/office/apps/fp179932.aspx

http://www.codeproject.com/Articles/637378/How-to-Create-a-Windows-8-App-for-SharePoint-Part

http://msdn.microsoft.com/en-us/library/office/apps/jj687470.aspx

http://json2csharp.com/

Page 27: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Exchange

http://www.microsoft.com/en-us/download/details.aspx?id=35371

http://msdn.microsoft.com/en-us/library/dd633626(v=exchg.80).aspx

http://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx

Page 28: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Lync

http://www.microsoft.com/en-us/download/details.aspx?id=36824

http://msdn.microsoft.com/en-us/library/office/jj933180(v=office.15).aspx

http://www.microsoft.com/en-us/download/details.aspx?id=39366

http://blogs.office.com/b/office365tech/archive/2013/08/19/remote-powershell-for-lync-online.aspx

http://technet.microsoft.com/en-us/library/dn362831.aspx

Page 29: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Office 365 API

http://visualstudiogallery.msdn.microsoft.com/7e947621-ef93-4de7-93d3-d796c43ba34f

http://code.msdn.microsoft.com/Office-365-APIs-Get-41eebcdf

Page 30: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Zusammenfassung

Page 31: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

• Office 365 / SaaS für Development

• Office 365 für Authentication

• Office 365 API für eigene Apps

• Letzte Versionen von Libraries & Sample Code prüfen

• Build great solutions with Office 365!

• Download Slides: blog.atwork.at

• 3rd party Solution: delegate365.com

Wrap-up - Key Take Aways

Page 32: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

FRAGEN?

Page 33: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Wir freuen uns auf Ihr Feedback!

Page 34: How to (remote) control Office 365 with Azure (SharePoint Konferenz ppEDV Erding, March 2015)

Gold-Partner: Veranstalter:

Vielen Dank!Martina Grom & Toni Pohl