This declarative agent helps users find and understand CLI for Microsoft 365 commands. It provides guidance on command syntax, parameters, and usage examples by searching the official CLI for Microsoft 365 documentation. For example, users can ask "How do I get SharePoint file versions?" and receive the exact m365 spo file version list command with complete syntax and examples.
| Version | Date | Comments |
|---|---|---|
| 1.0 | August 6, 2025 | Initial release |
To run this app template in your local dev machine, you will need:
- Node.js, supported versions: 18, 20, 22
- A Microsoft 365 account for development.
- Microsoft 365 Agents Toolkit Visual Studio Code Extension version 5.0.0 and higher or Microsoft 365 Agents Toolkit CLI
- Microsoft 365 Copilot license
- Clone this repository (or download this solution as a .ZIP file then unzip it)
- Open the project with Visual Studio Code
- Select the Microsoft 365 Agents Toolkit icon in the VS Code activity bar
- In the Accounts section, sign in with your Microsoft 365 account if you haven't already.
- Create app by clicking Provision in Lifecycle section.
- Open Microsoft 365 Copilot (web, desktop, or mobile)
- Select the CLI for M365 Helper agent from your available agents
- Ask questions about CLI for Microsoft 365 commands, such as:
- "Can you help me understand what CLI for Microsoft 365 is and how to install it?"
- "Could you show me all available spo commands?"
- "Can you help me with a specific CLI for Microsoft 365 command?"
- Helps users discover CLI for Microsoft 365 commands for specific tasks across all Microsoft 365 services
- Searches official CLI for Microsoft 365 documentation to provide accurate syntax and examples
- Provides interactive guidance with conversation starters and follow-up questions
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
You can try looking at issues related to this sample to see if anybody else is having the same issues.
If you encounter any issues using this sample, create a new issue.
Finally, if you have an idea for improvement, make a suggestion.
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
