[BUG] MCP connector to M365 Not Working

Resolved 💬 3 comments Opened May 21, 2026 by penseurbrowning Closed May 23, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I have installed Claude Desktop and Claude Code - both of which are unable to connect to the M365 Server. I've been added to the appropriate groups but the MCP server does not connect. Here is the error code:

"Authorization with the MCP server failed. You can check your credentials and permissions. Entra Trace ID: 2d91502d-4483-4d2a-8e46-a41200443900. If this persists, share this reference with support: "ofid_89d1ebaeb5dddfda"

My tech engineers have spent several hours on this and no avail.

What Should Happen?

I should be able to connect to M365 via the MCP server authentication.

Error Messages/Logs

Steps to Reproduce

I cannot reproduce this because it is a connection issue. Here is the error: Authorization with the MCP server failed. You can check your credentials and permissions. Entra Trace ID: 2d91502d-4483-4d2a-8e46-a41200443900. If this persists, share this reference with support: "ofid_89d1ebaeb5dddfda"

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

You're on Claude Code 2.1.147.

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗