windays14 - how to (remote) control office 365 with azure

28
Martina Grom MVP Office 365 atwork @magrom How to (remote) control Office 365 with Azure Toni Pohl MVP Client Dev atwork @atwork

Upload: atwork-information-technology

Post on 09-May-2015

229 views

Category:

Technology


2 download

DESCRIPTION

Windays14 - How to (remote) control Office 365 with Azure by @magrom and @atwork

TRANSCRIPT

Page 1: Windays14 - How to (remote) control Office 365 with Azure

Martina GromMVP Office 365atwork@magrom

How to (remote) control Office 365 with Azure

Toni PohlMVP Client Devatwork@atwork

Page 2: Windays14 - How to (remote) control Office 365 with Azure

Agenda

Why remote controlDemo #1 - AADDemo #2 - Office 365 ServicesDeploy to Microsoft Azure

See slides & code at blog.atwork.at

Page 3: Windays14 - How to (remote) control Office 365 with Azure

Our scenario

Why remote control Office 365?What do I need for automating?

Page 4: Windays14 - How to (remote) control Office 365 with Azure

Using automated SaaS

Let´s automate tasks like creating users, access to SPO and Exchange….

Page 5: Windays14 - How to (remote) control Office 365 with Azure

80% of companies need more granular delegation of (self) management

82% of companies reportedly saved money by moving to the cloud, CIO’s want predictable costs

60% of customers want automation for user management to ease processes

99% of users totally love Office 365

Why Office 365? Why automation?

Thats what we experienced and learned from our customers.

Page 6: Windays14 - How to (remote) control Office 365 with Azure

Our Mission- How To

Page 7: Windays14 - How to (remote) control Office 365 with Azure

Automate Office 365 on your own

Authenticateas entitled user or appfor the individual service

Authenticateas entitled userfor our web portal

Decide what the user may execute in your app

• Create User• Add to Security Group for SPO• Send Welcome email• Provision MySite• Create Welcome Document• Add user information into SPO

list• Mailbox statistics

Page 8: Windays14 - How to (remote) control Office 365 with Azure

Inspirirani ljudima.

PrerequisitesOffice 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

Page 9: Windays14 - How to (remote) control Office 365 with Azure

Inspirirani ljudima.

Demo #1AAD Authentication/Identities and Helpers

Page 10: Windays14 - How to (remote) control Office 365 with Azure

Inspirirani ljudima.

Demo #2User Provisioning in AAD + SPO + EXCHANGE

Page 11: Windays14 - How to (remote) control Office 365 with Azure

How to Access Services

AAD -> Graph API, PowerShellSPO -> CSOM, REST, PowerShellExchange Online -> Managed API, PowerShellLync Online -> SDK, PowerShellNew: Office 365 API

Page 12: Windays14 - How to (remote) control Office 365 with Azure

Integrating Applications in Azure Active DirectoryAccess 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 14: Windays14 - How to (remote) control Office 365 with Azure

Inspirirani ljudima.

Deploy to Azure

Page 15: Windays14 - How to (remote) control Office 365 with Azure

What to use when in Microsoft Azure

Access method Azure Website$

Azure Cloud Service

$$$AAD

Exchange EWS Exchange PowerShell

SharePoint CSOM SharePoint REST SharePoint PowerShell

Lync SDK Lync PowerShell

Page 16: Windays14 - How to (remote) control Office 365 with Azure

SummaryUse GraphAPI for AAD manipulations

Use Office 365 as SaaS

Use Azure as Platform

Page 17: Windays14 - How to (remote) control Office 365 with Azure

Call 2 ActionDownload slide with links and sample code atblog.atwork.at

If you´re interested in a ready to use Office 365 solutiondelegate365.com

Build great solutions with Office 365!

Page 18: Windays14 - How to (remote) control Office 365 with Azure

Inspirirani ljudima.

Pitanja i odgovori.

Page 19: Windays14 - How to (remote) control Office 365 with Azure

Thank you!Martina Grom@magrom

Toni Pohl@atwork

Page 20: Windays14 - How to (remote) control Office 365 with Azure

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 21: Windays14 - How to (remote) control Office 365 with Azure
Page 22: Windays14 - How to (remote) control Office 365 with Azure

Inspirirani ljudima.

LinksGraphAPI, SharePoint,Exchange, Office 365 API,SDKs, Blogs, …

Page 23: Windays14 - How to (remote) control Office 365 with Azure

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

GraphAPI Explorerhttps://graphexplorer.cloudapp.net/

MVC Sample App for Windows Azure Active Directory Graphhttp://code.msdn.microsoft.com/windowsazure/Write-Sample-App-for-79e55502

Adding Sign-On to Your Web Application Using Windows Azure ADhttp://msdn.microsoft.com/en-us/library/windowsazure/dn151790.aspx

Group & Role Claims: Use the Graph API …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/

MVP Blog – our 4 part serieshttp://blogs.msdn.com/b/mvpawardprogram/archive/2014/01/20/identity-in-your-own-apps-with-windows-azure-active-directory.aspx

Page 25: Windays14 - How to (remote) control Office 365 with Azure

SharePointSharePoint Online Management Shell (PS) http://www.microsoft.com/en-us/download/details.aspx?id=30359

OAuth and remote apps for SharePointhttp://msdn.microsoft.com/en-us/library/office/apps/fp179932.aspx

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

OAuth authentication and authorization flow for apps that ask for access permissions on the fly in SharePoint 2013http://msdn.microsoft.com/en-us/library/office/apps/jj687470.aspx

Helper forhttp://json2csharp.com/

Page 26: Windays14 - How to (remote) control Office 365 with Azure

ExchangeMicrosoft Exchange Web Services Managed API 2.0http://www.microsoft.com/en-us/download/details.aspx?id=35371

Getting started with the EWS Managed APIhttp://msdn.microsoft.com/en-us/library/dd633626(v=exchg.80).aspx

Connect to Exchange Online Using Remote PowerShellhttp://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx

Page 27: Windays14 - How to (remote) control Office 365 with Azure

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

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

Windows PowerShell Module for Lync Onlinehttp://www.microsoft.com/en-us/download/details.aspx?id=39366

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

Using Windows PowerShell to Manage Lync Onlinehttp://technet.microsoft.com/en-us/library/dn362831.aspx