Skip to main content
Skip to main content
Microsoft 365

Develop using OneDrive for Business with the new Office 365 APIs

Jeremy Thake is a senior product manager for Office developers.

In March we introduced a new set of Office 365 APIs, in preview, that expose services across Office 365 in a simple, RESTful way. We’re evolving our extensibility model for Office 365 so you no longer develop against SharePoint and Exchange-specific APIs. Instead, you can now develop against a consolidated Office 365 API set that spans SharePoint, Exchange, and Azure Active Directory.

These Discovery Service APIs allow you to determine the location of related Office 365 services, for particular users. When a user interacts with the business application, they are prompted with an Office 365 common consent form asking them to agree that it can access the services it requires.

This empowers you as a developer to incorporate Office 365 services into your new and existing business applications. We envision you incorporating our services alongside other SaaS-based services and internal Enterprise application platforms. Let’s look at an example of how you can integrate OneDrive for Business and other Office 365 services in your apps to simplify tasks for your users.

Surface OneDrive for Business in your mobile apps

Office 365’s competitive edge is that it is not just a file sharing service with an API. It provides a rich set of services that allow you to build comprehensive business applications directly into the productivity tools your users live in all day long, like the Office apps on the desktop and Office Online.


Download the tools to start developing with the new APIs

O365APIs_02The Office 365 API Preview can be easily used in your ASP.NET, Windows 8, and Windows Phone 8 project types in Visual Studio 2013. To get started:

  1. Download the Office 365 API Tools Preview extension.
  2. Take a look at the tools announcement.
  3. Be sure to watch Rob Howard’s presentation from //build/ where he demonstrates the Office 365 APIs in action in a Windows 8 app.

Read the documentation and see these APIs in actions

For more information, check out the Office 365 API Preview documentation available in the Office Dev Center. You’ll find two samples that show these APIs in action targeting the Windows 8 app and ASP.NET MVC application platforms.


Let us know what you think

We’re continually looking for feedback from you on all aspects of the Office Developer Platform. Please take the time to submit your suggestions and campaign in the community to get the votes up on UserVoice.

If you have questions about these APIs, please feel free to ask them on StackOverflow using the [ms-office] and [preview] tags.

We’re excited to see what business solutions you build with these new enhancements! To find out more about the Office Developer Platform, please visit

— Jeremy Thake

You may also like these articles

Image for: Small business professional working on designs using devices running PowerPoint and Microsoft Teams.

Power your digital transformation with insights from Microsoft Productivity Score

Editor’s Note: The Mechanics video embedded in this blog post has been updated to reflect some of the product changes announced on December 1, 2020. For some time now, business leaders have made digital transformation a priority. But when the pandemic hit this spring, adopting and embracing digital technology went from being a matter of…

Image for: A man is using his Lenovo laptop like a tablet while sitting in a comfortable chair in a Modern office setting

Microsoft Productivity Score and personalized experiences—here’s what’s new to Microsoft 365 in October

As I reflect on an action-packed few weeks, I’m struck by how much work has evolved in these past months. And I know our customers feel it too. After quickly moving to remote and hybrid work models this spring, organizations are now seeking sustainable ways to help people collaborate, be productive, and prioritize their wellbeing…

Image for: Microsoft employees working remotely.

Working remotely during challenging times

A Shanghai-based Microsoft employee shares lessons of working remotely during the COVID-19 outbreak.