Common tasks
Published: February 28, 2013
This article presents some of the development tasks that are common when building Office 365 solutions. It also provides links to code samples and other resources that can help you when dealing with these tasks.
Applies to: Office 365
The following tables present Office 365 development tasks by category and provide links to resources for understanding them.
The Office 365 Reporting web service enables developers to integrate information about email and spam, antivirus activity, and compliance-related events into their custom service reporting applications and web portals. All the reports available in the admin center, inside the downloadable Microsoft Excel spreadsheets, and those accessed through Windows PowerShell cmdlets, are accessible using the Reporting web service.
|
Title |
Summary |
Content Type |
|---|---|---|
|
This sample uses Windows Presentation Foundation and simple HTTP request/response classes to create an interactive Office 365 Reporting web service query tool in Microsoft Visual Studio 2012. Users must have Office 365 administrative privileges. |
Code sample |
A big part of moving to the cloud involves integrating Windows Azure with Office 365. Most organizations have hybrid deployments, for example an established on-premises SharePoint installation that they want to integrate with Office 365 and Windows Azure in the cloud.
|
Content title |
Summary |
Content type |
|---|---|---|
|
This sample demonstrates how to create a basic autohosted app for SharePoint that uses a web project and SQL Server database project to create, read, or show data on an Office 365 Developer Site. |
Code sample |
|
Content title |
Summary |
Content type |
|---|---|---|
|
This sample demonstrates how to use Windows PowerShell from a C# application to manage licenses for users of Office 365 applications. |
Code sample |
|
|
This sample demonstrates how to use Windows PowerShell from a C# application to manage Office 365 single sign-on settings and to create new associated domains. |
Code sample |
|
|
This sample helps you understand how to use the Windows PowerShell SDK to manage Office 365 users. |
Code sample |
To access any Office 365 service in the cloud, solutions must go through authentication and authorization, primarily OAUTH2. In addition, these solutions need to incorporate custom Role-based Access Control (RBAC) as a part of all cloud solutions.
|
Content title |
Summary |
Content type |
|---|---|---|
|
Create a Windows 8 app to display videos from SharePoint Online |
This sample demonstrates how to create a Windows 8 app that authenticates with a website in SharePoint Online and then displays videos from a SharePoint asset library. |
Code sample |
|
This sample demonstrates how to use Exchange Web Services (EWS) Managed API to create a task in Exchange Online that shows how other Exchange 2013 objects can be managed. |
Code sample |
|
|
This sample demonstrates how to use the Lync 2013 API to search for people in Lync 2013 and start IM conversations with them. |
Code sample |
Developers already know how to build farm solutions for the on-premises server for Microsoft Office. Now, with the new app model, developers can achieve similar results by using the client-side object model that works for both SharePoint Online and for on-premises SharePoint 2013.
|
Content title |
Summary |
Content type |
|---|---|---|
|
Migrate a SharePoint 2010 farm solution to SharePoint Online |
This sample demonstrates how to create a SharePoint 2010 farm solution and then a SharePoint-hosted app for SharePoint to create a custom list, add items to it, and then retrieve those items. The two different approaches illustrate how a farm solution can be migrated to a SharePoint-hosted app for SharePoint. |
Code sample |
To build solutions for Office 365, developers need to know how to handle errors. They need to know what kinds of errors they will encounter, at what points in the API workflows they should anticipate errors, and how they should handle them.
|
Content title |
Summary |
Content type |
|---|---|---|
|
This sample shows some exceptions that can occur while performing basic operations using the JavaScript API for Office in SharePoint 2013. The app creates four buttons that generate different error messages. The app automatically recovers from the errors so you can continue to click the buttons to generate additional error messages. |
Code sample |
As social media becomes increasingly popular, it is becoming an important part of many solutions being built today. These code samples show developers the typical and preferred methods for integrating social media with their Office 365 solutions.
|
Content title |
Summary |
Content type |
|---|---|---|
|
This sample shows you how to upload a SharePoint-hosted app for SharePoint that displays a page allowing a user to search recent Twitter posts for a search string. |
Code sample |
|
|
This sample shows you how to upload a SharePoint-hosted app for SharePoint that allows Outlook Web App users to preview the video associated with a YouTube video URL. |
Code sample |
|
|
This sample creates a command on the SharePoint ribbon that posts a message on Yammer containing the URL for this sample. In particular, this sample shows how to create a command on the SharePoint ribbon, register an app on Yammer, and post a message on Yammer that includes a URL that is dynamically generated when the app is built. |
Code sample |
Your solutions can register your cloud storage with Microsoft Office so that your storage automatically appears in the Open and Save As dialog boxes in Microsoft Office applications.
|
Content title |
Summary |
Content type |
|---|---|---|
|
Integrating additional cloud storage services in Office 2013 |
This sample demonstrates how a cloud storage provider can register its service in Microsoft Office 2013 so that it will automatically appear in the Open and Save As user interface in Office 2013 client applications. |
White paper |