Modifying Teams custom app ValidDomains list dynamically

Apollo services 1 Reputation point
2021-09-20T10:08:34.93+00:00

Hi,

We are building a personal tab to render our web application inside Teams. Our web application serves customers from different domains.
So, We have to add all the domains manually under the validDomains list to support all the customers.

And every time, if we add a new customer, we would have to add their domain to the validDomains list and submit the Teams App. Since this process is repeating and time-consuming, is there any workaround to solve it, without submitting the Teams App multiple times?

Microsoft Teams Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 8,981 Reputation points Microsoft External Staff Moderator
    2021-09-21T12:53:48.177+00:00

    There is no way to dynamically set validDomains list in app manifest. However you can update the app with new manifest in app catalog section in Teams, so that you don't have to submit it multiple times.
    133973-ss1.png

    Thanks,
    Prasad Das


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link.

    1 person found this answer helpful.

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.