question

Apolloservices-5653 avatar image
0 Votes"
Apolloservices-5653 asked Prasad-MSFT commented

Modifying Teams custom app ValidDomains list dynamically

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?

office-teams-app-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Prasad-MSFT avatar image
1 Vote"
Prasad-MSFT answered Prasad-MSFT commented

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.



ss1.png (10.4 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Prasad Das,

Can we update the manifest of the already approved app from the app catalog section?

0 Votes 0 ·
Prasad-MSFT avatar image Prasad-MSFT Apolloservices-5653 ·

You can update the app on the Manage apps page in the Microsoft Teams admin center. To do this, in the left navigation of the Microsoft Teams admin center, go to Teams apps > Manage apps. Click the app name, and then click Update. Doing this replaces the existing app, and all app permission policies and app setup policies remain enforced for the updated app.
https://docs.microsoft.com/en-us/MicrosoftTeams/upload-custom-apps#update

0 Votes 0 ·

Hi Prasad Das,

The Update option is not available for the approved App. It is only available for non-approved Apps. Can you confirm the same?

137651-approved-app.png


137539-non-approved-app.png


0 Votes 0 ·
approved-app.png (165.6 KiB)
non-approved-app.png (128.0 KiB)
Show more comments