Installing a custom teams app/bot receive error: Invalid value(s) specified for validDomains[0]

Cory Fowler 16 Reputation points
2020-05-22T07:48:29.847+00:00

I created a new app using the Visual Studio Code Microsoft Teams Toolkit.

The configuration was pretty straight forward, however, I ran into a problem when I attempted to install the base app into Microsoft Teams.

I had the following in my Development.env file, but had replaced the {BOT_ID} with the real id:

appname=myfirstbot
fullappname=myfirstbot
version=1.0.0
botId0={BOT_ID}
baseUrl0=https://localhost:3000

Unfortunately this caused an error when uploading the package to Microsoft Teams.

invalid value(s) specified for validDomains[0]

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,046 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 48,706 Reputation points Microsoft Vendor
    2020-05-22T09:27:22.887+00:00

    Hi CoryFowler!

    Thanks for sharing your solution about this issue.

    Sorry, I am not familiar with development so I cannot provide too many valuable information to you. Thanks for your understanding and patience!

    I found a case has the similar issue and it is resolved without using https:// part. You can refer to:

    https://github.com/OfficeDev/microsoft-teams-faqplusplus-app/issues/84

    0 comments No comments