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

Error installing Copilot #179

Closed JairoRepsol closed 8 months ago

JairoRepsol commented 9 months ago

The user is using an admin account with an Office E3 license and global admin permissions. In addition, this account had to be granted access to the AppCatalog in SharePoint in order to enable the option to add apps.

In the first attempt, the customer did not have the E3 license assigned to the global admin, which is why they couldn't install CoE. The script displayed a message that said "Teams not found," and this is how I discovered that the requirements were not met.

For this reason, the customer followed the instructions following option B of the CoE installation process, successfully getting CoE installed without any issues.

The first time the Champions application was installed, the customer used another user with global permissions and an E3 license, reaching a point where everything became blocked. To rule out the possibility that the issue was related to not using the original admin user that was used to install CoE, the steps to uninstall the application and reinstall it using the original account used to install CoE were followed.

In this process, once the application is uploaded to SharePoint, we encountered this error capture. We disregarded this error, confirmed that all permissions were granted, and proceeded to install the application in Teams, where it remained permanently stuck in a loading state.

Currently, everything has been uninstalled following the installation guide's instructions, and on Monday, they will try again.

Key points to highlight:

v-saikirang commented 9 months ago

Hi @JairoRepsol ,

Thanks for reaching out to us.

Can you please share more details on the issue pertaining to CMP app only. Can you please delete the ChampionManagementPlatform sharepoint site if already created under both "Active" and "Deleted sites" from Sharepoint Admin center. Wait for an hour or so and then re install the app following the deployment guide.

If you still face any issues please share 1) The screenshot of the APP when loading up 2) Screenshot of the "Site Contents" of the SharePoint site 3) Screenshot of the API permissions page from Admin center 4) Open the app as stand alone app in browser and share the console logs from the browser.

Thanks.

JairoRepsol commented 9 months ago

Hi @v-saikirang

We have tried 2 times to uninstall everything and perform a complete cleanup by deleting the recycle site.

Captura de pantalla 2023-10-05 162758 Captura de pantalla 2023-10-05 162820 Captura de pantalla 2023-10-05 162852 Captura de pantalla 2023-10-05 162857 Captura de pantalla 2023-10-05 162951 Captura de pantalla 2023-10-05 163032 Captura de pantalla 2023-10-05 163106 Captura de pantalla 2023-10-05 163229 Captura de pantalla 2023-10-05 163334

Thanks.

v-saikirang commented 9 months ago

Hi @JairoRepsol ,

Thanks for sharing the information.

May I know what do you mean by "option B of the CoE installation process". Trying to understand how is this related to Champion Management Platform app. When Champion Management App is installed and loaded for the first time it creates a new site called "Champion Management Platform". But i see a different site in your screenshot. can you please shed more light here.

Thanks.

JairoRepsol commented 9 months ago

Hi @v-saikirang

Where is "option B of the CoE installation process". We don't have this site "Champion Management Platform".

Captura de pantalla 2023-10-05 170440

Thanks.

v-saikirang commented 9 months ago

Hi @JairoRepsol

This is what you mentioned in your first comment.

"For this reason, the customer followed the instructions following option B of the CoE installation process, successfully getting CoE installed without any issues.'

What is the url of the sharepoint site that you showed in the screenshot.

Can you please search for just "champion" instead.

Thanks.

JairoRepsol commented 9 months ago

Hi @v-saikirang

This is the option B https://github.com/OfficeDev/microsoft-teams-apps-champion-management/wiki/Deployment-Guide#modern-app-catalog (Modern App Catalog) but we have tried it in modern and classic.

Site: https://repsol365.sharepoint.com/sites/CopilotCoE App Catalog: https://repsol365.sharepoint.com/sites/1-IT-APPC

Captura de pantalla 2023-10-06 134605

Thanks.

v-saikirang commented 9 months ago

Hi @JairoRepsol ,

CMP installation cannot use an existing site for set up. It creates a specific site called "Championmanagmentplatform" automatically when you run the app for the first time and it then creates the supporting lists/data needed for the app.

But I see that you are trying to use an existing site https://repsol365.sharepoint.com/sites/CopilotCoE for the CMP set up. This scenario doesn't work as of now. For this you have to download, customize the code and generate your own custom package to suit your scenario.

So there might be 2 scenarios that might have happened here: 1) You installed the CMP app, then manually modified the URL of the site to "sites/CopilotCoE". 2) The "championmanagementplatform" ended up under "Deleted Sites" section in SP admin center when you cleaned up. This will create a conflict and will not allow a new site to be created with same name.

Also please open Teams in browser, open the CMP app and share the browser console logs to check if we can find anything there.

Please check and let me know if you need more information. Thanks.

microsoft-github-policy-service[bot] commented 9 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.