What exactly is the base url/valid domain in the manifest.json?

Sara 0 Reputation points
2023-05-19T13:27:17.54+00:00

Hello,

I am using the Teams Toolkit to develop a bot with message extension and tab functionality.
I followed the example of this sample code. I opened a free ngrok instance (https://xxxx-xx-xx-xx-xxx.ngrok-free.app) and added that ngrok instance at all the BaseUrl and ValidDomain fields as instructed.
The code works locally, I created a zip of the manifest and icons and uploaded into the Teams app to test.

However, I want to eventually publish the app in the Teams store, and I am not sure what should I put instead of the ngrok link as the BaseUrl or Valid Domain?

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,047 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sayali-MSFT 2,266 Reputation points Microsoft Vendor
    2023-05-22T11:23:49.1133333+00:00

    To Publish the App in store. First you need to create the app service in Azure portal.
    After successfully creating the app service you will get the Url-
    http://<app-name>.azurewebsites.net.
    you need to replace the above URL with the ngrok & valid domain section.

    To Create the app service please follow the below documentation-
    https://learn.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?pivots=development-environment-azure-portal&tabs=net70