Skip to content

Dotnet A365 Agent fails - no such type MsalUserAuthorization #167

@graemefoster

Description

@graemefoster

Describe the bug
The dotnet Microsoft Agent framework agent fails to run. It starts, but quickly fails as there is no such type as 'MsalUserAuthorization' (in the a365 Agent Playground)

To Reproduce
Steps to reproduce the behavior:
Run the dotnet agent in the A365 playground. Observe above error.

Screenshots

ErrorCode: -50010
      Source: Microsoft.Agents.Builder
      Method: GetHandlerInstance
      TimeStamp: 2026-01-21T07:01:18.6312840Z
      Error: Handler name 'me' not found in configuration under AgentApplication:UserAuthorization:Handlers, or AgentApplication:UserAuthorization:DefaultHandlerName is invalid.
      HelpLink Url: https://aka.ms/M365AgentsErrorCodes/#-50010
      Stack Trace: at Microsoft.Agents.Builder.UserAuth.UserAuthorizationDispatcher.GetHandlerInstance(String handlerName)

Environment (please complete the following information):

  • OS: macos Tahoe
  • SDK Version: updated all libraries to latest version (problem exists on github repo as-is)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions