First published on TECHNET on Oct 16, 2017
This post is a contribution from Manish Joshi, an engineer with the SharePoint Developer Support team
This blog demonstrates creating an Office add-in and retrieving data from SharePoint Online and One Drive within the add-in. The add-in uses ADAL.js for authentication and retrieving access token. In addition it uses Graph API and SharePoint REST API for accessing data from One Drive and SharePoint Online.
Create new Azure Web app
Register new Azure App
Grant Permissions to the new Azure app
Create new Word Add-in Project
Publish and install the Add-in
Installing the Add-in to App Catalog
We can make the add-in available globally instead of having to upload the manifest.xml file everytime. When we packaged the add-in in the earlier step the .app file for the add-in was also generated at the path "bin\Debug\app.publish". Follow the below steps to make this add-in available globally across your tenant without requiring to upload the manifest.xml file every time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.