Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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


Published on

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

Published in: Technology
  • Be the first to comment

  • Be the first to like this

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

  1. 1. Martina Grom MVP Office 365 atwork @magrom How to (remote) control Office 365 with Azure Toni Pohl MVP Client Dev atwork @atwork
  2. 2. Agenda Why remote control Demo #1 - AAD Demo #2 - Office 365 Services Deploy to Microsoft Azure See slides & code at
  3. 3. Our scenario Why remote control Office 365? What do I need for automating?
  4. 4. Using automated SaaS
  5. 5. Why Office 365? Why automation?
  6. 6. Our Mission- How To
  7. 7. Automate Office 365 on your own Authenticate as entitled user or app for the individual service Authenticate as entitled user for 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
  8. 8. Inspirirani ljudima. Prerequisites Office 365 Tenant, Get a free one month trial: Microsoft Azure, Get a 30 day free trial: Visual Studio 2013
  9. 9. Inspirirani ljudima. Demo #1 AAD Authentication/Identities and Helpers
  10. 10. Inspirirani ljudima. Demo #2 User Provisioning in AAD + SPO + EXCHANGE
  11. 11. How to Access Services AAD -> Graph API, PowerShell SPO -> CSOM, REST, PowerShell Exchange Online -> Managed API, PowerShell Lync Online -> SDK, PowerShell New: Office 365 API
  12. 12. 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.
  13. 13. Office 365 API Tools - Preview ef93-4de7-93d3-d796c43ba34f
  14. 14. Inspirirani ljudima. Deploy to Azure
  15. 15. 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  
  16. 16. Summary Use GraphAPI for AAD manipulations Use Office 365 as SaaS Use Azure as Platform
  17. 17. Call 2 Action Download slide with links and sample code at If you´re interested in a ready to use Office 365 solution Build great solutions with Office 365! 
  18. 18. Inspirirani ljudima. Pitanja i odgovori.
  19. 19. Thank you! Martina Grom @magrom Toni Pohl @atwork
  20. 20. Inspirirani ljudima. Links GraphAPI, SharePoint, Exchange, Office 365 API, SDKs, Blogs, …
  21. 21. Graph API Links Windows Azure Graph API GraphAPI Explorer MVC Sample App for Windows Azure Active Directory Graph Adding Sign-On to Your Web Application Using Windows Azure AD Group & Role Claims: Use the Graph API … windows-azure-ad-apps/ MVP Blog – our 4 part series directory.aspx
  22. 22. ADAL for .net Active Directory Authentication Library (ADAL) v1 for .NET – General Availability! (Vittorio Bertocci) availability/ ADAL 1.0 and Windows Store Apps (Alex Simons) – coming soon for-prime-time.aspx
  23. 23. SharePoint SharePoint Online Management Shell (PS) OAuth and remote apps for SharePoint Office365ClaimsConnector OAuth authentication and authorization flow for apps that ask for access permissions on the fly in SharePoint 2013 Helper for
  24. 24. Exchange Microsoft Exchange Web Services Managed API 2.0 Getting started with the EWS Managed API Connect to Exchange Online Using Remote PowerShell
  25. 25. Lync Lync 2013 SDK Lync 2013 SDK documentation Windows PowerShell Module for Lync Online Lync PowerShell Using Windows PowerShell to Manage Lync Online
  26. 26. Office 365 API Office 365 API Office 365 ASP.NET MVC and Win8 Sample