Note: This version has been replaced by file picker v7.0. New integrations should use the latest version of the file picker SDK.
The OneDrive file picker SDK enables your web app to quickly integrate OneDrive for opening and saving files without a lot of code. The latest version of the file picker SDK works with any OneDrive account, Personal or Business.
You can use the file picker SDK to integrate with OneDrive in the following ways:
Note: You can only get shareable links for files in OneDrive for Business if the an administrator has enabled external sharing. For OneDrive Personal, you can always get a shareable link.
The OneDrive file picker SDK requires that your web application meet these requirements:
To get started you need to register for an app ID to identify your application to OneDrive. If you already have an existing app ID you can continue to use it.
You will need to obtain separate app IDs for OneDrive Personal and OneDrive for Business because they use different authentication systems. This is only required if you wish to allow users of both services to use your integration.
Register your app to get an app ID (client ID), if you haven't already done so. Ensure that the web page that is going to reference the SDK is a Redirect URL under API Settings. You can also upload your application logo, which OneDrive will display in the file picker experience.
Register your app to get an app ID (client ID), if you haven't already done so. When registering your app, please ensure the following:
oauth2AllowImplicitFlowis set to
true, and uploading it. See Integrating applications with Azure Active Directory for more information.
The OneDrive picker and saver supports the following web browsers: