Choose a workspace folder and name your project (e.g., MyOfficeFeature ).

If you have a license, you can generate features using natural language:

: Add the Microsoft 365 Agents Toolkit or the Office Add-ins Development Kit from the VS Code Marketplace. 2. Generate the Project Scaffolding

The toolkit will generate a project configured for Excel, Outlook, PowerPoint, and Word by default. 3. Build the User Interface (HTML/CSS)

The interaction between your feature and the Office document happens in taskpane.js :

To program a feature in Microsoft Office 365, you can use modern web technologies to build or leverage AI-driven Copilot Agents . The following steps outline how to generate a basic "Task Pane" feature using the Microsoft 365 Agents Toolkit in Visual Studio Code. 1. Set Up Your Environment

: Sign up for a free Microsoft 365 Developer subscription to get a renewable 90-day sandbox with sample data.