When using the Microsoft 365 Developer Tooling (Teams Toolkit) in Visual Studio to provision a Teams app, manifest validation fails with the following error:
Manifest Validation is unsuccessful! Unable to get schema from https://developer.microsoft.com/en-us/json-schemas/teams/v1.24/MicrosoftTeams.schema.json, message: Invalid regular expression: /^(?!.*[\r\n\f\b\v\a\t])[\S]*\.xll$/: Invalid escape
It appears that the schema at v1.24 contains a regular expression with escape sequences (\a, \v) which are not valid in JavaScript regular expressions, causing validation to crash.
To Reproduce
- Use Visual Studio 2022 with M365 Teams Toolkit
- Create or update a Teams app project and set manifest schema to v1.24
- Run provision/validate manifest
- Observe manifest validation fails on fetching the remote schema
Workarounds tried
Using schema version v1.23 is unsuccessful
Using schema version v1.22 is successful (no error)
Manifest is unchanged—error occurs even with official sample manifests
When using the Microsoft 365 Developer Tooling (Teams Toolkit) in Visual Studio to provision a Teams app, manifest validation fails with the following error:
Manifest Validation is unsuccessful! Unable to get schema from https://developer.microsoft.com/en-us/json-schemas/teams/v1.24/MicrosoftTeams.schema.json, message: Invalid regular expression: /^(?!.*[\r\n\f\b\v\a\t])[\S]*\.xll$/: Invalid escapeIt appears that the schema at v1.24 contains a regular expression with escape sequences (\a, \v) which are not valid in JavaScript regular expressions, causing validation to crash.
To Reproduce
Workarounds tried
Using schema version v1.23 is unsuccessful
Using schema version v1.22 is successful (no error)
Manifest is unchanged—error occurs even with official sample manifests