Teams Toolkit App Provision Failure

Mario Kavouras 21 Reputation points
2022-08-11T20:16:32.687+00:00

When trying to provision my app to Azure via the teams toolkit in VS Code, it keeps failing on webAppProvision and provision resources. Below is the error that I am getting

[Error] - code:Solution.FailedToDeployArmTemplatesToAzure, message: [Teams Toolkit] Failed to deploy ARM templates. Resource group name: P2P-Resource-Group. Deployment name: teams_toolkit_deployment  
Error message: Long running operation failed with error: "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.".  
Detailed message:   
{  
  "provisionResources": {  
    "webAppProvision": {  
      "code": "InvalidTemplateDeployment",  
      "message": "The template deployment 'webAppProvision' is not valid according to the validation procedure. The tracking id is '4f743e1d-bbe3-4706-86d0-53ae8385f5cc'. See inner errors for details.",  
      "details": [  
        {  
          "message": "Object reference not set to an instance of an object."  
        }  
      ]  
    }  
  }  
}  
Get toolkit help from https://aka.ms/teamsfx-arm-help.  
  
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,312 questions
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,341 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ralph Trickey 1 Reputation point
    2022-09-02T19:04:12.367+00:00

    This worked for me short term.

    https://github.com/OfficeDev/TeamsFx/issues/5759

    0 comments No comments

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.