The Office Add-ins platform team has new updates to share this month on Office Add-ins Patterns and Practices. We’re excited to announce a new authentication solution for Office Add-ins PnP released in November 2019!
Get OneDrive data using Microsoft Graph and msal.js in an Office Add-in
Learn how to build a Microsoft Office Add-in, as a single-page application (SPA) with no backend, that connects to Microsoft Graph. The sample finds the first three workbooks stored in OneDrive for Business, fetches their filenames, and inserts the names into an Office document using Office.js.
Contributors from Microsoft
Here’s the list of Microsoft people who have been closely involved with the PnP work last month.
- Ricky Kirkham @Rick-Kirkham
- David Chesnut @davidchesnut
About Office Add-ins Patterns & Practices (PnP)
Office Add-ins PnP is a Microsoft-led, community driven effort that helps developers extend, build, and provision customizations on the Office platform the right way by providing guidance and help through official documentation and open source initiatives. The source is maintained in GitHub where anyone can participate. You can provide contributions to the samples, reusable components, and documentation. Office Add-ins PnP is owned and coordinated by Office engineering teams, but the work is done by the community for the community.
You can find code samples for Office Add-in development in the Office Add-ins PnP repo. Some samples are also documented in the Office Add-ins docs, such as Batching custom function calls for a remote service.
Office Add-ins PnP and SharePoint PnP are both related community driven efforts. SharePoint PnP provides community solutions for developers building on SharePoint. For more information about SharePoint PnP, see https://docs.microsoft.com/en-us/sharepoint/dev/community/community
- Get started with Office development by joining the Office 365 developer program.
- Try out some samples and get coding quickly with Office add-ins by downloading Script lab.
Learn more by joining the monthly Office Add-ins community call.