Sort by
Newest
Dynamic DPI code samples
Update your ActiveX, COM, VSTO and related Office solutions to handle high DPI and DPI scaling.
Last updated on: February 20, 2025
Office Add-in with SSO using nested app authentication (preview)
This sample shows how to implement SSO in an Office Add-in by using nested app authentication.
Last updated on: February 5, 2025
Office Add-in that supports Single Sign-on to Office, the add-in, and Microsoft Graph
This sample implements an Office Add-in that uses the `getAccessToken` API in Office.js to give the add-in access to Microsoft Graph data. This sample...
Last updated on: February 5, 2025
Save custom settings in your Office Add-in
This sample shows how to save custom settings in Office Add-in.
Last updated on: February 5, 2025
Create an Office Add-in that displays hello world
Create a simple Office Add-in that displays hello world.
Last updated on: February 5, 2025
Office Add-in First-run Experience Tutorial - Completed
A completed version of the step-by-step first-run experience tutorial hosted on learn.microsoft.com.
Last updated on: February 5, 2025
Office Add-in that supports Single Sign-on to Office, the Add-in, and Microsoft Graph
The `getAccessToken` API in Office.js enables users who are signed into Office to get access to an AAD-protected add-in and to Microsoft Graph without...
Last updated on: February 5, 2025
Office Add-in commands
Shows how to use add-in commands in Excel, Word and PowerPoint add-ins.
Last updated on: February 5, 2025
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 with no backend, that connects to Microsoft Graph, finds the first three workbooks stored in OneDrive for Business, fetches their filenames, and inserts the names into an Office document using Office.js.
Last updated on: February 5, 2025
PowerPoint Tutorial (yo office) - Completed
A completed version of the step-by-step PowerPoint tutorial hosted on learn.microsoft.com.
Last updated on: February 5, 2025