Forum Discussion
How to add settings to a Teams app that only the admin could change?
I developed a simple Teams Bot for internal use using Teams Toolkit. I'm thinking about adapting it in a way that I could put it on AppSource.
I'm not sure about how to add Settings some options that the admin who installed the Bot could change. What are the best practices? Are there any resources I can follow?
- Sayali-MSFTMicrosoftvasarmilan- Thanks for reporting your issue.
We will check this at our end and will get back to you. - Sayali-MSFTMicrosoft
vasarmilan - The Teams platform does not directly provide a feature to add settings to a Teams app that only the admin could change. However, you can control the app settings at the organization level using the Teams admin center. Here's how you can do it:
-
Sign in to the Teams admin center and go to the Manage apps page.
-
Select Org-wide app settings. You can then configure the settings you want in the pane.
-
Under Tailored apps, Third-party apps, and Custom apps, you can turn off or turn on the settings as per your requirements.
-
Select Save. The settings take effect after a few hours.
Remember, these settings are org-wide and affect all users in your organization. If you want to allow only a few selected users or groups to upload and use custom apps, you can create a new app setup policy and assign the policy to the selected users or groups.
For more information, refer to the Teams platform documentation on how to manage apps, how to manage custom apps, and how to manage app permission policies. -