O365 saturday: How to (remote) control office 365 with windows azure-slideshare

3,337 views

Published on

Se how you can use Windows Azure to do a lot of provisioning and Automation stuff around Office 365. We Show here for what purposes you can use Automation, and provide examples around Graph API, WAAD, SharePoint REST, CSOM, Exchange managed API.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,337
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

O365 saturday: How to (remote) control office 365 with windows azure-slideshare

  1. 1. Welcome to Office 365 Saturday Europe #O365EU Hosts: Matthew Hughes & Rene Modery
  2. 2. How to (Remote) Control Office 365 with Windows Azure Martina Grom MVP Office 365 @magrom, atwork.at Toni Pohl MVP Client Development @atwork, atwork.at
  3. 3. We are from… Vienna/Austria 3
  4. 4. Our MISSION
  5. 5. Agenda • Scenarios • Prerequisites • Authentication/Identities • User Provisioning • Office 365 Demo
  6. 6. User - Azure WEB – Authorize - Office 365 Authenticate as entitled user for our web portal Decide what the user may execute in your app Authenticate as entitled user for the individual service
  7. 7. Prerequisites • Office 365 Tenant Get a free one month trial: http://office.microsoft.com/ • Windows Azure Get a 90 day free trial: http://www.windowsazure.com/en-us/pricing/free-trial/ • Visual Studio 2013 RC • Some libraries (see later)
  8. 8. Authentication How to authenticate against WAAD/Office 365
  9. 9. Federated Authentication 1. Request Token with App-ID + Secret or Username + Password STS Authority 2. Get Token Resource App 3. Use Token
  10. 10. LIVE DEMO Web Project with Office 365 Authentication
  11. 11. ADAL for .net • Active Directory Authentication Library (ADAL) v1 for .NET – General Availability! (Vittorio Bertocci) http://www.cloudidentity.com/blog/2013/09/12/active-directoryauthentication-library-adal-v1-for-net-general-availability/ • ADAL 1.0 and Windows Store Apps (Alex Simons) – coming soon http://social.msdn.microsoft.com/Forums/en-US/faf520ce-16534eac-b398-c4bfcbc5c7fe/adal-10-and-windows-store-apps
  12. 12. Integrating Applications in Windows 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.
  13. 13. Office 365 How to control Office 365
  14. 14. Access Services • WAAD -> Graph API, PowerShell • SPO -> CSOM, REST, PowerShell • Exchange Online -> Managed API, PowerShell • Lync Online -> SDK, PowerShell
  15. 15. LIVE DEMO Remote Control Office 365 servcies 16
  16. 16. What to use when in Azure Access method Azure Website $ Azure Cloud Service $$$ WAAD   Exchange EWS   Exchange PowerShell   SharePoint CSOM   SharePoint REST   SharePoint PowerShell   Lync SDK   Lync PowerShell  
  17. 17. Summary • Use Federated Authorization (OAuth2) • Use GraphAPI for WAAD manipulations • Use Office 365 services • Build great solutions with Office 365! 
  18. 18. Call 2 Action • Download this presentation and the sample code at blog.atwork.at • If you re interested in a ready to use Office 365 product portal http://delegate365.com
  19. 19. THANK YOU! Martina Grom @magrom Toni Pohl @atwork Download: blog.atwork.at
  20. 20. Graph API Links • Windows Azure Graph API http://code.msdn.microsoft.com/Graph-API-Authenticate-and53c6cb92/view/SourceCode • GraphAPI Explorer https://graphexplorer.cloudapp.net/ • MVC Sample App for Windows Azure Active Directory Graph http://code.msdn.microsoft.com/windowsazure/Write-Sample-App-for79e55502 • Adding Sign-On to Your Web Application Using Windows Azure AD http://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-usethe-graph-api-to-get-back-isinrole-and-authorize-in-windows-azure-adapps/
  21. 21. SharePoint Links • SharePoint Online Management Shell (PS) http://www.microsoft.com/en-us/download/details.aspx?id=30359 • OAuth and remote apps for SharePoint http://msdn.microsoft.com/en-us/library/office/apps/fp179932.aspx • Office365ClaimsConnector http://www.codeproject.com/Articles/637378/How-to-Create-aWindows-8-App-for-SharePoint-Part • OAuth authentication and authorization flow for apps that ask for access permissions on the fly in SharePoint 2013 http://msdn.microsoft.com/en-us/library/office/apps/jj687470.aspx • Helper for: http://json2csharp.com/
  22. 22. Exchange Links • Microsoft Exchange Web Services Managed API 2.0 http://www.microsoft.com/enus/download/details.aspx?id=35371 • Getting started with the EWS Managed API http://msdn.microsoft.com/enus/library/dd633626(v=exchg.80).aspx • Connect to Exchange Online Using Remote PowerShell http://technet.microsoft.com/enus/library/jj984289(v=exchg.150).aspx
  23. 23. Lync Links • Lync 2013 SDK (only for WPF) http://www.microsoft.com/enus/download/details.aspx?id=36824 • Windows PowerShell Module for Lync Online http://www.microsoft.com/enus/download/details.aspx?id=39366 • Lync PowerShell http://blogs.office.com/b/office365tech/archive/2013/08/19/remo te-powershell-for-lync-online.aspx • Using Windows PowerShell to Manage Lync Online http://technet.microsoft.com/en-us/library/dn362831.aspx
  24. 24. Thanks for Attending Office 365 Saturday Europe

×