Skip to content

Conversation

@cleemullins
Copy link
Collaborator

@cleemullins cleemullins commented Nov 3, 2025

Introduce the error handling / documentation framework for covering Agentic Identity concepts, configuration settings, and common errors encountered when using the M365 Agents SDK. This addition aims to enhance understanding and troubleshooting for developers working with autonomous agents.

Although I'm only starting with the Agentic Identity configuration & errors, this approach is extensible across other forms of errors generated by the Agents SDK.

Related to #284
Related to #294

This PR defines a document outline, with each of the headers suitable for deep-linking from the C#, Python, and JS SDKs.

The general format for these is found in the document, but looks like:

https://aka.ms/M365AgentsErrorCodes/#agentic-identity-with-the-m365-agents-sdk

The AKA allows us to retarget the location of the document (either across GitHub repos, learn SDK documentation, or whatever) while the hashtag (#) following the standard GitHub convention allows the link to be durable. Once this Pr is merged into main the AKA link will be updated to point to the main branch.

The AKA is currently targeting this branch (not main) as it's link resolution:
image

For example:

Next steps:

  1. Each of the repos will be updated to emit the links in this document for the relevant errors.
  2. The content for each of the areas will be updated.

@cleemullins cleemullins self-assigned this Nov 3, 2025
@cleemullins cleemullins marked this pull request as draft November 3, 2025 18:52
@cleemullins cleemullins requested a review from Copilot November 3, 2025 22:51
@cleemullins cleemullins marked this pull request as ready for review November 3, 2025 22:51
Copy link
Contributor

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 introduces comprehensive documentation for Agentic Identity in the M365 Agents SDK. The document explains key concepts, configuration settings, and common error scenarios for working with autonomous agents that behave like user accounts.

  • Defines core concepts: Agentic Users, Agent ID Blueprint, Agent Identity, and related terms
  • Provides placeholder sections for language-specific configuration (Python, C#, JavaScript) and error troubleshooting
  • Establishes deep-linking infrastructure using aka.ms URLs for error documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cleemullins cleemullins added the Documentation Improvements or additions to documentation label Nov 3, 2025
@github-actions github-actions bot removed the Documentation Improvements or additions to documentation label Nov 3, 2025
@cleemullins cleemullins merged commit 6f340ce into main Nov 4, 2025
7 checks passed
@cleemullins cleemullins deleted the users/cleemullins/ConfigurationAndErrors branch November 4, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants