Open Naina-G opened 6 months ago
Hi Naina-G! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.
Best regards, Teams Platform
Hello @Naina-G , Thanks for reporting your issue. We will check and update the document accordingly.
Hello @Naina-G ,
We tested with the https://[developer.microsoft.com/json-schemas/teams/v1.17/MicrosoftTeams.schema.json](https://developer.microsoft.com/json-schemas/teams/v1.17/MicrosoftTeams.schema.json) and also added the values for the keys semanticDescription
and samplePrompts
, getting the following error while validating the app manifest-
We have raised a bug for the same. We will inform you once we get any further update from engineering team. Thanks!
Thanks @Vaibhav-MSFT Looking forward to further updates or a solution for this issue.
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 value Additionally, I have also added the values for the keyssemanticDescription
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.jsonNote: 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