Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload App Package with latest Manifest schema changes (v1.17) #10776

Open
Naina-G opened this issue Apr 24, 2024 · 4 comments
Open
Assignees
Labels
bug teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@Naina-G
Copy link

Naina-G commented Apr 24, 2024

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 keys semanticDescription and samplePrompts as listed in the table under composeExtensions.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 and samplePrompts 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 and samplePrompts :

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

Copy link
Contributor

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

@ChetanSharma-msft ChetanSharma-msft added the teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label label Apr 25, 2024
@Vaibhav-MSFT
Copy link

Hello @Naina-G ,
Thanks for reporting your issue. We will check and update the document accordingly.

@Vaibhav-MSFT
Copy link

Hello @Naina-G ,
We tested with the 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-

image

We have raised a bug for the same. We will inform you once we get any further update from engineering team. Thanks!

@Naina-G
Copy link
Author

Naina-G commented Apr 25, 2024

Thanks @Vaibhav-MSFT
Looking forward to further updates or a solution for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

4 participants