OfficeDev / microsoft-teams-apps-champion-management

Champion Management Platform is a custom Teams app that enables organizations to onboard and maintain champions/ SME in their organization in Teams.
MIT License
125 stars 48 forks source link

Champions Management Platform Issues #168

Closed Artpillz closed 11 months ago

Artpillz commented 1 year ago

Screenshot 2023-07-05 122134

Champions Management Platform Circle of Death

I followed the installation process for Champions Management into Teams, but it has been continuously loading since yesterday with the spinning circle. Could you please assist me with resolving this issue?

v-saikirang commented 1 year ago

Hi @Artpillz,

Thanks for reaching out to us.

Can you please check if the sharepoint site "championmanagementplatform" got created. If yes, please share the screenshot of the "Site Contents" page. I assume you have approved the Graph API permissions from Sharepoint Admin center as mentioned in the deployment guide. Please share a screenshot of the API permissions page as well.

Thanks.

Artpillz commented 1 year ago

MicrosoftTeams-image (3) MicrosoftTeams-image (2) Yes they approved the two files' in API

v-saikirang commented 1 year ago

Hi @Artpillz,

Thanks for sharing the information.

I see the same permission repeated twice. It should be ideally as below:

image

Please try the below steps to fix this. 1) Delete both the API permissions. 2) Delete the package from App Catalog 3) Reupload and deploy the package as per the deployment guide. 4) You should now see both the API permissions as shown in the above screenshot. Approve both the permissions. 5) Open the Teams app with admin account(the account you used to set it up earlier)

Please let me know if you see any issues.

Thanks.

ghost commented 12 months ago

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

Artpillz commented 12 months ago

I am still encountering issues with the movement of the circle. The API files seem to be functioning properly and they are being integrated into Teams and SharePoint.

v-saikirang commented 12 months ago

Hi @Artpillz,

Can you please share the screenshots of the below: 1) API permissions 2) "Site Contents" page of the Share point site.

Thanks.

Artpillz commented 12 months ago

Screenshot 2023-07-11 183339 Screenshot 2023-07-11 091732 Screenshot 2023-07-11 091650 Screenshot 2023-07-11 092006 Send the pictures

MJTMT89 commented 12 months ago

Hello, I am experiencing a similar error.

API manage apps Active sites

This is what is showing on the admin

app

Artpillz commented 12 months ago

Hello, I am experiencing a similar error.

API manage apps Active sites

This is what is showing on the admin

app Screenshot 2023-07-11 183339

Yes, the same thing just a circle, and nothing else happen.

v-saikirang commented 12 months ago

Hi @Artpillz,

Can you please confirm if you are using the SP Admin account to open the app in Teams. It would be the same account that you used to deploy the package file.

And can you also navigate to the Share point site and share a screenshot of the "View all Site contents" page. I would like to verify the lists created in the SP site. And can you also open the app in browser and share the console logs for further analysis.

Hi @MJTMT89,

Can you please create a new ticket for ease of tracking and also share the requested information as above.

Thanks.

Artpillz commented 11 months ago

Will do Screenshot 2023-07-13 124636 Screenshot 2023-07-13 124349 Screenshot 2023-07-13 091319

The last picture is my admin for SP

v-saikirang commented 11 months ago

Hi @Artpillz,

Can you please confirm if you you have SP admin access. If not can you please ask the SP admin to open the App in Teams.

If it still doesn't work you can try the below:

1) Delete the "championmanagementplatform" from both "Active Sites" and "Deleted Sites" 2) Wait for around 30 minutes for the cache to clear out. 3) Open the app in Teams in browser using SP admin account. 4) If you still see any issues please share the browser console logs.

Thanks.

Artpillz commented 11 months ago

Alright, I will do that. Thank you for the information. I'll get back to you within 1 day

Artpillz commented 11 months ago

Screenshot 2023-07-14 161524

I'm the admin of SharePoint.

v-prigunasek commented 11 months ago

Hi @Artpillz ,

This issue could happen sometimes when the "Sites.Manage.All" permission was missing under Configured Permissions in the Azure Portal ( Azure >> App Registrations >> API Permissions for "SharePoint Online Client Extensibility Web Application Principal" >> API Permissions).

To fix that issue, please follow the below steps:

  1. Add the missing permissions ("Sites.Manage.All", "User.ReadWrite) by clicking + Add a Permission under Configured Permissions >> Choose Microsoft Graph >> Select Delegated Permissions >> Type the Permission in the search box >> Select the permission >> Click on Add Permissions

image

  1. Then Grant Admin consent and make sure the Status column will be updated to confirm permissions are set. image

Once this was done, wait for 10-15 mins and try accessing the CMP application from Teams.

For more details, Refer here - https://github.com/OfficeDev/microsoft-teams-apps-champion-management/issues/87#issuecomment-1075105659

Artpillz commented 11 months ago

thank you will get back you shortly.

Artpillz commented 11 months ago

Screenshot 2023-07-18 150006 Thank you, it's working. However, it seems that the Multi Badge Support in Digital Badge is not displaying pictures correctly.

v-prigunasek commented 11 months ago

Hi @Artpillz ,

Have you added "User.ReadWrite" permission also in the "SharePoint Online Client Extensibility Web Application Principal" app in the Azure Portal? Can you please check whether this permission is available under configured Permissions.

Could you please share us the screenshot of Digital Badge library from the CMP SharePoint site?

Artpillz commented 11 months ago

Will do thank you. will get back to you shortly.

Artpillz commented 11 months ago

Screenshot 2023-07-24 101127 I didn't see it should be with Sites.Manage.All Right?

v-saikirang commented 11 months ago

Hi @Artpillz,

Yes, Please add "User.ReadWrite" permission also and check after few minutes.

Thanks.

Artpillz commented 11 months ago

thank you will do

Artpillz commented 11 months ago

Thank you for everything. It working as designed.