Forum Discussion
bertold
Jun 03, 2025Copper Contributor
Maximum # of scopes in manifest 1.21
I am looking at the 1.21 version of the https://developer.microsoft.com/json-schemas/teams/v1.21/MicrosoftTeams.schema.json and I see the definition below for the scopes properties. It only allows a ...
- Jun 05, 2025
Thank you for your question. Yes, the "maxItems": 3 restriction in the schema for the scopes property is intentional. This means you can only specify up to three scopes out of the available options ("team", "personal", "groupChat", "copilot") for a given bot or command list.
This limitation is likely in place to ensure clarity in the bot's experience and to avoid potential conflicts or ambiguities that could arise from enabling all possible scopes simultaneously. If you have a scenario that requires more than three scopes, you may want to provide feedback to Microsoft via the official documentation or support channels, as this could be a candidate for future schema updates
Thanks,
Smit Agrawal
If the response is helpful, please click on "upvote" button. You can share your feedback via Microsoft Copilot Developer Feedback link. Click here to escalate
smit-msft
Microsoft
Jun 05, 2025Thank you for your question. Yes, the "maxItems": 3 restriction in the schema for the scopes property is intentional. This means you can only specify up to three scopes out of the available options ("team", "personal", "groupChat", "copilot") for a given bot or command list.
This limitation is likely in place to ensure clarity in the bot's experience and to avoid potential conflicts or ambiguities that could arise from enabling all possible scopes simultaneously. If you have a scenario that requires more than three scopes, you may want to provide feedback to Microsoft via the official documentation or support channels, as this could be a candidate for future schema updates
Thanks,
Smit Agrawal
If the response is helpful, please click on "upvote" button. You can share your feedback via Microsoft Copilot Developer Feedback link. Click here to escalate