OfficeDev / microsoft-teams-emergency-operations-center

The Microsoft Teams Emergency Operations Center (TEOC) solution template leverages the power of the Microsoft 365 platform to centralize incident response, information sharing and field communications using powerful services like Microsoft Lists, SharePoint and more.
MIT License
90 stars 36 forks source link

App not loading all the way. #136

Closed RobertUSsystems closed 1 year ago

RobertUSsystems commented 1 year ago

App Load on Teams and passes authentication stuck on welcome screen. Same issue within the Teams web App. I am attaching the console log for Teams webapp. teams.microsoft.com-1692996590548.log

v-asshrirao commented 1 year ago

@RobertUSsystems , Thanks for reaching out to us. I believe you have provisioned the SharePoint site for TEOC before deploying the solution in Azure. If yes, can you please check the REACT_APP_SHAREPOINT_SITE_NAME configuration in your app service ? (In Azure portal, navigate to TEOC resource group, open app service and click on Configuration)

image

It should be just the site name, if you have provided the full URL of the site by any chance, please update that to sitename as shown above and click ok and Save it.

Then perform this step, to get the code updated with the new site name value in your app service. Once that is done, open the app in teams and verify if that works as expected.

Please refer similar issue #134

RobertUSsystems commented 1 year ago

The settings are all correct and the site is still not loading. Please refer to the errors listed in the log file I sent originally.

v-asshrirao commented 1 year ago

@RobertUSsystems , Thanks for your confirmation. As per the errors in log files, there is some issue in reaching SharePoint site you have provisioned.

  1. Can you please confirm if site name is not using any special characters except 'underscore, dashes, single quotes, and periods (_,-,',.), and is not starting or ending with a period.'.
  2. Also confirm if you are using the same site name which is used while provisioning.
  3. Can you navigate to SharePoint provisioned site and share that screenshot with us just to validate its up and running.
RobertUSsystems commented 1 year ago

The SharePoint site name is EOC. We are using the same site name while provisioning. The SharePoint site is accessible, and all lists/libraries have been installed.

v-asshrirao commented 1 year ago

@RobertUSsystems , Thanks for confirming this. As per the logs shared by you, the site name is coming as "EOC%E2%80%8E". Just validate if in configuration also its EOC only. If yes, can you please perform this step and confirm if its working?

RobertUSsystems commented 1 year ago

I double checked everything and reran the error log to get the latest error code. I am attaching the log. Teams log 082923.log

v-asshrirao commented 1 year ago

@RobertUSsystems , I have gone through the latest logs you shared. Looks like there are still some special characters in site name. GET https://graph.microsoft.com/v1.0/sites/yourtenant.sharepoint.com:/sites/EOC%E2%80%8E?$select=id 404 (Not Found) and this is causing issue.

Can you please update the SharePoint Site Name in the configuration to EOC , click OK and Save it.

Then perform this step, to get the code updated with the new site name value in your app service. Once that is done, open the app in teams and verify if that works as expected.

Please refer similar issue #111

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

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