SkillAgentSearch skills...

OneNoteAPISampleWinUniversal

Code sample with examples of how to use the OneNote API on a Windows 8.1 and above Universal app

Install / Use

/learn @OneNoteDev/OneNoteAPISampleWinUniversal
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

OneNote service API Windows Universal Sample README

Created by Microsoft Corporation, 2015. Provided As-is without warranty. Trademarks mentioned here are the property of their owners.

Intro

  • Universal Windows apps
  • This is a newer and better version of the previously released oneNote API WinStore and WinPhone code samples. Use this code sample to build universal Windows 8.1 and above apps.
  • As of August 2015, this code sample contains examples of all shipped features as well as most of the beta features released by the OneNote API team.

If you wish to ignore the app UI/design and directly get to the part that interacts with the OneNote API, you can find the code under the OneNoteServiceSamplesWinUniversal.Shared/OneNoteApi folder.

OneDrive based API

You can find additional documentation at the links below.

O365 based API (only available on beta)

All the APIs for Microsoft Account (LiveId) are supported in O365 as well except the following:

  • $search query option is currently not supported.

Prerequisites

Tools and Libraries you will need to download, install, and configure for your development environment.

  • Operating system requirements for developing Windows universal apps:
    • Client: Windows 8.1 OR
    • Server: Windows Server 2012 R2
    • Phone: Windows Phone 8.1 (developer unlocked phone for device testing. Alternatively emulators can be used)
  • Visual Studio 2013 Update 4 or later.

Be sure you enable the Windows Phone SDK when you install Visual Studio. If you don't, you will need to un-install and re-install Visual Studio to get those features.

For using emulator (Windows Phone), make sure to enable hyper-v

  • You can get a full list of tools needed to build Universal Windows app here

** O365 specific Pre-requisites

  • What you need to do is to go to Programs and Features, Turn on/off Windows features and then choose to add Windows Identity Foundation 3.5 to your system.

  • NuGet packages used in the sample. These are handled using the package manager, as described in the setup instructions. These should update automatically at build time; if not, make sure your NuGet package manager is up-to-date. You can learn more about the packages we used at the links below.

Accounts

To use this Code Sample in your own Microsoft Account based app, be sure to do the following:

Related Skills

View on GitHub
GitHub Stars68
CategoryDevelopment
Updated1mo ago
Forks18

Languages

C#

Security Score

95/100

Audited on Feb 15, 2026

No findings