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

Cory Fowler 16 Reputation points

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:


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.
6,716 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 39,241 Reputation points Microsoft Vendor

    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:

    0 comments No comments