microsoftgraph / meetings-capture-sample

A Microsoft Teams solution that helps teams capture meeting minute notes inside individual channels
MIT License
33 stars 19 forks source link

PendingMeetings webpart error when loading in Teams #8

Closed iiivanov1993 closed 4 years ago

iiivanov1993 commented 4 years ago

I am following the instructions in the wiki. The error I encountered is in step 7 Add the Apps to Microsoft Teams Tabs" when trying to add the PendingMeetings app.

Firstly, the PendingMeetings app did not appear in Teams' apps until I deployed it in SharePoint in step 8. Now that I have done step 8 I can see it in the Teams apps.

Secondly, when I try to add the PendingMeetings app inside the channel where I have added the Meetings Capture Web, I get the following error:

Can't load the application on this page. Use the browser Back button to retry. If the problem persists, contact the administrator of the site and give them the information in Technical Details.

Error details state the following:

Error details: Error: Error initializing application. Error: Error: Error initializing application. Error: Error: ***Manifest not found for component id "55366f15-df34-42b0-b484-8fe6d6f42c4a".

From what I read around, the manifest.json file should be in PendingMeetings/teams/manifest.json but it is not there. Is there something missing from the solution or I am doing something wrong?

Capture1 Capture2

TBag commented 4 years ago

Sounds like you might have missed this step before step 7: Upload the manifest.zip file.

Did you do that step?

iiivanov1993 commented 4 years ago

Yes, I did. But it only added the "Meeting Capture Web" app into Teams apps. It wasn't until I did step 8 that the "Pending Meetings" was visible in the Teams' apps catalog. But trying to add it to a channel it gives me the error in the pictures.

TBag commented 4 years ago

Hi, I replicated the error you are receiving and worked past it by adding the SharePoint App to the SharePoint site associated with the Team. We'll update the docs to include that step. You can learn more about the error and this step in this article by Waldek. https://blog.mastykarz.nl/manifest-component-id-error-teams-tab-sharepoint-framework/

I also approved all the API access requests in the Admin Center. We should also add that step.

However, although I no longer receive the same error you receive, I get a 403 error when calling the Graph API from the SPFx code.

We're investigating to see what's changed and how to adjust the code accordingly.

TBag commented 4 years ago

After a few minutes I refreshed the Teams Tab App with CTRL-F5 and it works properly. I'll add the steps about adding the app to the SP site and approving the api requests to the docs now. Please try on your end and let us know how it goes.

iiivanov1993 commented 4 years ago

Thank you for the updates and you effort. I will try this and let you know the result.

iiivanov1993 commented 4 years ago

I tried it and it worked. Thanks