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.
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
7. 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
8. 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)
12. 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
13. 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.
17. 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
18. Summary
• Use Federated Authorization (OAuth2)
• Use GraphAPI for WAAD manipulations
• Use Office 365 services
• Build great solutions with Office 365!
19. 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
21. 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/
22. 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/
23. 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
24. 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