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

Error when using manifest v1.16 with option supportsAnonymousGuestUsers #735

Closed
Githamza opened this issue Mar 7, 2023 · 19 comments
Closed
Assignees
Labels

Comments

@Githamza
Copy link

Githamza commented Mar 7, 2023

I've tried to update the manifest to 1.16v

Then when launching the project using teams toolkit It get this error:

√ Teams app manifest is resolved and app package is saved in /Users/hamzahaddad/TeamsApps/newtabfromscrach/rhapp/build/appPackage/appPackage.local.zip

× DeveloperPortalAPIFailed: API call to Developer Portal failed: Error, Request failed with status code 422, API name: create-app, X-Correlation-ID: 1a55248c-5255-4cff-a4fc-edcbc70cffad. This may come from some intermittent service error. Please wait for a few minutes and retry the current step. data: "Error mapping types.\r\n\r\nMapping types:\r\nApplicationManifest -> AppDefinition\r\nAppStudio.API.Models.ApplicationManifest -> AppStudio.API.Models.AppDefinition\r\n\r\nType Map configuration:\r\nApplicationManifest -> AppDefinition\r\nAppStudio.API.Models.ApplicationManifest -> AppStudio.API.Models.AppDefinition\r\n\r\nDestination Member:\r\nMeetingExtensionDefinition\r\n"

Visit https://aka.ms/teamsfx-debug-prepare-manifest-task to learn more about 'Build and upload Teams manifest' task.

[2023-03-07T18:29:03.101Z] [Error] - code:Ext.PrepareManifestError, message: Build & upload Teams manifest task failed. Please check the output panel to see the details.

here's my manifest file :

  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
  "manifestVersion": "1.16",
  "version": "1.0.0",
  "id": "{{state.fx-resource-appstudio.teamsAppId}}",
  "packageName": "com.microsoft.teams.extension",
  "developer": {
    "name": "Teams App, Inc.",
    "websiteUrl": "https://www.example.com",
    "privacyUrl": "https://www.example.com/termofuse",
    "termsOfUseUrl": "https://www.example.com/privacy"
  },
  "icons": {
    "color": "{{config.manifest.icons.color}}",
    "outline": "{{config.manifest.icons.outline}}"
  },
  "meetingExtensionDefinition": {
    "supportsAnonymousGuestUsers": true
  },

Can you confirme me if the version 1.16 is supported by teams toolkit v4.2.4 ?

@Nivedipa-MSFT Nivedipa-MSFT self-assigned this Mar 8, 2023
@Nivedipa-MSFT
Copy link
Contributor

@Githamza - Thanks for reporting your issue. We will test this and update you soon. Thanks.

@Githamza
Copy link
Author

Githamza commented Mar 8, 2023

the project runs when I remove

  "meetingExtensionDefinition": {
    "supportsAnonymousGuestUsers": true
  },

But I need it to make anonymous users able to interact with app on meeting stage view.

@Githamza
Copy link
Author

Githamza commented Mar 8, 2023

I tried to run my front + back separatly ( without passing by teams toolkit ) then I uploaded an appPackage with a manifest that contains "supportsAnonymousGuestUsers": true. ( schema : v1.16 )

I'm always getting this screen:

image

I have also enabled anonymous users to interact with meeting apps in teams admin panel.

According to this article it should work . but actually it's not the case

@Githamza Githamza changed the title Error when using manifest v1.16 Error when using manifest v1.16 with option supportsAnonymousGuestUsers Mar 8, 2023
@Nivedipa-MSFT
Copy link
Contributor

@Githamza - Thanks for providing details. We will test this and update you soon.

@Nivedipa-MSFT
Copy link
Contributor

@Githamza - Have you enable the anonymous user app interaction in Teams admin center?

@Githamza
Copy link
Author

Yes ,
image

I have tested in web and teams app I get the same issue

@Nivedipa-MSFT
Copy link
Contributor

@Githamza - We have tested this on Teams web client. We are getting following error.

image

We are checking this internally. We will update you soon.

@Githamza
Copy link
Author

Githamza commented Mar 14, 2023 via email

@Nivedipa-MSFT
Copy link
Contributor

Nivedipa-MSFT commented Mar 16, 2023

@Githamza - We are able to repro your issue and raised the bug for the same. We will let you know once we get any updates on it. Thanks.

@Nivedipa-MSFT Nivedipa-MSFT added the bug Something isn't working label Mar 17, 2023
@ChetanSharma-msft
Copy link
Collaborator

Hello @Githamza - Sorry for delay in response.
We will check on the bug status with engineering team and let you know the updates.

@Githamza
Copy link
Author

Any updates ? it has been a while ..

@Nivedipa-MSFT
Copy link
Contributor

@Githamza - Apologies for the delays. Our engineering team is actively working on resolving the bug. Unfortunately, at this time, we do not have any ETA to share. We will be sure to keep you informed and provide updates as soon as we receive any further information from the team. Thank you for your patience.

@Githamza
Copy link
Author

Hope to get news soon because I'm sure this will open many new opportunities for teams app developments and adopt many new teams users.

@Nivedipa-MSFT
Copy link
Contributor

@Githamza - We are checking the status of the bug with the engineering team, we will update you soon.

@Githamza
Copy link
Author

Hope this bug will be fixed with the new teams app

@Nivedipa-MSFT
Copy link
Contributor

@Githamza - Currently, we don't have any ETA to share. Engineering team is working on it. We will let you know once we get any updates on it.

@Githamza
Copy link
Author

Githamza commented Dec 8, 2023

Thanks for you feedback .

But it's not what documentation says .

Documentation 11/14/2023 : https://learn.microsoft.com/fr-fr/microsoftteams/platform/apps-in-teams-meetings/build-apps-for-anonymous-user?tabs=javascript

?

@ChetanSharma-msft
Copy link
Collaborator

ChetanSharma-msft commented Dec 28, 2023

Hello @Githamza - Sorry for delay in response.
Manifest v1.16 with option supportsAnonymousGuestUsers is not supported in Classic Teams and this is by design behaviour.
Please test it with new teams and let us know if you still face the issue.

We will add a note in the documentation.
Issue link: MicrosoftDocs/msteams-docs#10135

@ChetanSharma-msft ChetanSharma-msft added needs-author-feedback by-design By design functionality and documented. and removed bug Something isn't working labels Dec 28, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants