Failure to run Prepare Teams App Dependencies

Sebastian Cabrera Samper 0 Reputation points
2024-03-23T09:17:55.1733333+00:00

Hello, I am testing Teams Toolkit in Visual Studio 2022 preview and when I try to run the Prepare Teams App Dependencies option, using a Microsoft 365 work account (correct). It generates the following error in the process:User's image

But I do use the same Microsoft 365 work account in Visual Studio Code with Teams Toolkit. Generate all dependencies and run the project correctly.

How can I solve the error in visual studio 2022 preview

thank you

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,391 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sebastian Cabrera Samper 0 Reputation points
    2024-03-26T07:26:34.0166667+00:00

    Below I present evidence of the process carried out.

    1. I create a Teams project for Tab

    User's image

    1. Ejecuto Prepare Teams Apps Dependencies

    User's image

    1. I select a 365 Work Account

    User's image

    1. Prepare Teams Apps Dependencies is executed

    User's image

    and as shown in the image it has an error.

    Below I present development environment

    User's image

    User's image

    As I mentioned before, I have used the same Office 365 work account in Visual Studio Code and Teams Toolkit and it has been configured and run correctly. I mention this to rule out setting up an Office 365 account.

    User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.