Skip to content

The client application xxx is missing service principal in the tenant yyy #14856

@ArunkumarTMEYGDS

Description

@ArunkumarTMEYGDS

Describe the bug
We created a sample Teams Agent app using M365 Agents Toolkit from template path
M365 Toolkit -> Create a New Agent/App -> Teams Agents and Apps -> General Teams Agent

We have Custom upload enabled with Copilot license. We have created a simple test Azure OpenAI Agent and used its key, end point and deployment name to create a sample solution to test it and it gave the below error while debugging in Teams in Egde.

The client application xxx is missing service principal in the tenant yyy

To Reproduce
Steps to reproduce the behavior:

  1. Install M365 Agents Tookit in VS Code
  2. Create a simple test Azure OpenAI Agent
  3. Create a sample template using M365 Toolkit -> Create a New Agent/App -> Teams Agents and Apps -> General Teams Agent
  4. Provide Key, endpoint URL and deployment name.
  5. Run the solution for debugging in Teams in Egde
    Expected behavior
    A clear and concise description of what you expected to happen.

Screenshots

Image Image

VS Code Extension Information (please complete the following information):

  • OS: Windows 11
  • Version: 23H2

CLI Information (please complete the following information):

  • OS: Windows 11
  • Version: 23H2

Additional context
M365 Agents Toolkit version: 6.4.1
Node version: 18.17.1
VS Code Version: 1.106.1
Azure Open AI GPT Model: gpt-4o-mini

Metadata

Metadata

Labels

needs attentionThis issue needs the attention of a contributor.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions