Unable to upload App Package with latest Manifest schema changes (v1.17) #10776
Labels
bug
teams-developer-support
Question related to extensibility (Bot, ME, Tab) would be marked under this label
Steps to reproduce
Hi,
I am adding changes to update my app manifest to the latest schema as shown in the example schema here - https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema
As a part of the changes, I have updated
manifestVersion
and$schema
to point to latest manifest version 1.17 and corresponding schema valueAdditionally, I have also added the values for the keys
semanticDescription
andsamplePrompts
as listed in the table undercomposeExtensions.commands
.For adding the values for these keys, I have referred to the schema hosted at https://developer.microsoft.com/json-schemas/teams/v1.17/MicrosoftTeams.schema.json
Note:
In the sample App Manifest at https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema, the version value is 1.17 but the schema value is "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json".
This does not work hence I have tried with the below 2 values for schema:
Expected behavior
App package with App manifest version 1.17 and the keys
semanticDescription
andsamplePrompts
listed in https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema should work and I should be able to upload the app package.Actual behavior
When I create an App package with these changes and try to upload via Teams Admin Center, It gives as error "We can't read the manifest file".
And when I try to validate it using App package validator.
It gives me below failures for the usage of these 2 keys
semanticDescription
andsamplePrompts
:composeExtensions[0].commands[0].semanticDescription: Property "semanticDescription" has not been defined and the schema does not allow additional properties.
composeExtensions[0].commands[0].samplePrompts: Property "samplePrompts" has not been defined and the schema does not allow additional properties
Error details
No response
The text was updated successfully, but these errors were encountered: