Skip to content

Adds CLI for Microsoft 365 MCP Server guide#6817

Closed
Adam-it wants to merge 3 commits intopnp:mainfrom
Adam-it:adds-mcp-server-docs
Closed

Adds CLI for Microsoft 365 MCP Server guide#6817
Adam-it wants to merge 3 commits intopnp:mainfrom
Adam-it:adds-mcp-server-docs

Conversation

@Adam-it
Copy link
Copy Markdown
Member

@Adam-it Adam-it commented Jul 27, 2025

🎯Aim

The aim is to add basic guide about CLI for Microsoft 365 MCP server

📷 Result

image

@Adam-it Adam-it added the docs label Jul 27, 2025
@milanholemans milanholemans self-assigned this Aug 1, 2025
Copy link
Copy Markdown
Contributor

@milanholemans milanholemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool stuff @Adam-it. Looks almost fine for me. Could you take a look at the comments I made?

Comment thread docs/docs/images/cli-mcp-server/mcp-example-1.png
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
@milanholemans milanholemans marked this pull request as draft August 1, 2025 23:19
@milanholemans milanholemans requested a review from Copilot August 1, 2025 23:24

This comment was marked as outdated.

@Adam-it Adam-it force-pushed the adds-mcp-server-docs branch from db33c23 to 362dc0e Compare August 9, 2025 23:42
@Adam-it Adam-it marked this pull request as ready for review August 9, 2025 23:44
Copy link
Copy Markdown
Contributor

@milanholemans milanholemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work so far @Adam-it! I think we'll have to adjust a few small things before we can merge it.

Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
Comment thread docs/docs/user-guide/using-cli-mcp-server.mdx Outdated
@milanholemans milanholemans marked this pull request as draft August 20, 2025 23:05
@Adam-it Adam-it marked this pull request as ready for review August 30, 2025 23:00
@milanholemans milanholemans requested a review from Copilot August 31, 2025 22:53
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation for the CLI for Microsoft 365 MCP Server, which enables natural language management of Microsoft 365 tenants through MCP (Model Context Protocol) integration.

  • Adds comprehensive guide for installing and configuring the CLI for Microsoft 365 MCP Server
  • Updates sidebar positioning for existing documentation files to accommodate the new guide
  • Provides practical examples showing MCP server usage across SharePoint, Teams, Power Platform, and Planner

Reviewed Changes

Copilot reviewed 5 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
using-cli-mcp-server.mdx New documentation guide explaining MCP server installation, configuration, and usage examples
using-proxy-url.mdx Updates sidebar position from 17 to 18
using-cli-context.mdx Updates sidebar position from 16 to 17
use-cli-api.mdx Updates sidebar position from 15 to 16
manage-microsoft-365-apps.mdx Updates sidebar position from 14 to 15

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


In the following example, the MCP server created a SharePoint list with new columns and populated it with a few test items.

prompt:
Copy link

Copilot AI Aug 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'prompt:' should end with a colon and be properly formatted. Consider using 'Prompt:' with proper capitalization for consistency with other sections.

Copilot uses AI. Check for mistakes.

The following example shows how to create a new Microsoft Teams team and add a welcome post to the General channel.

prompt:
Copy link

Copilot AI Aug 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'prompt:' should be capitalized as 'Prompt:' for consistency with documentation formatting standards.

Copilot uses AI. Check for mistakes.

In the example, the MCP server disables a Power Automate flow.

prompt:
Copy link

Copilot AI Aug 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'prompt:' should be capitalized as 'Prompt:' for consistency with documentation formatting standards.

Copilot uses AI. Check for mistakes.

In the following example, the MCP server creates a new Planner plan with sample buckets and tasks.

prompt:
Copy link

Copilot AI Aug 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'prompt:' should be capitalized as 'Prompt:' for consistency with documentation formatting standards.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

@milanholemans milanholemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, LGTM! Only a few small comments left, which I can fix.

prompt:

```
Create a new Team on Teams with name "Awesome Ducks", and in the General channel add a welcome post
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Create a new Team on Teams with name "Awesome Ducks", and in the General channel add a welcome post
Create a new Team on Teams with name "Awesome Ducks", and in the General channel add a welcome post

prompt:

```
can you check if I have HoursReportingReminder flow and if so disable it
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
can you check if I have HoursReportingReminder flow and if so disable it
Can you check if I have HoursReportingReminder flow and if so disable it

prompt:

```
can you create a new plan in planner to manage work for the awesome ducks. I need some sample buckets and tasks to get started
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
can you create a new plan in planner to manage work for the awesome ducks. I need some sample buckets and tasks to get started
Can you create a new plan in planner to manage work for the awesome ducks. I need some sample buckets and tasks to get started

@milanholemans
Copy link
Copy Markdown
Contributor

Merged manually, thanks!

@Adam-it Adam-it deleted the adds-mcp-server-docs branch November 22, 2025 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants