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
85 stars 33 forks source link

Login Window Disappears #137

Closed ma-dockins closed 8 months ago

ma-dockins commented 10 months ago

Hi,

I followed the steps for the TEOC Deployment Guide and was able to added the app to Teams. When I attempt to login, a window appears and redirects then closes. The window is blank. I checked the other submitted issues but did not see a resolution.

v-asshrirao commented 10 months ago

@ma-dockins, Thank you for reaching out to us. Can you please reproduce the issue again in browser version of teams and share the console logs for further troubleshooting on this issue?

ma-dockins commented 10 months ago

I am able to reproduce the issue again in the web version of Teams. Unfortunately, when I attempt to pull the console logs, there isn't any data present.

v-asshrirao commented 10 months ago

@ma-dockins,

Can you please confirm if below options are selected when you are checking logs? Select all options and share logs with us. MicrosoftTeams-image (1)

ma-dockins commented 10 months ago

I don't see those options. Below is what I have when attempting to access console logs for TEOC:

image

v-asshrirao commented 9 months ago

@ma-dockins , Please open TEOC app in web version of teams and follow below steps for generating console logs.

  1. Open Developer Tools. image
  2. Select console and all levels. image
  3. Refresh the browser and share logs with us.
ma-dockins commented 9 months ago

Thank you! Attached are the logs teams.microsoft.com-1695140881634.log

v-asshrirao commented 9 months ago

@ma-dockins, From the logs you have shared, the issue is related to CORS policy.

Refer similar issue #111. Please let us know if that helps.

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.

ma-dockins commented 9 months ago

Hi,

I followed the link you provided and verified all information provided as instructed. The issue still persists. The authentication steps have been confirmed including the manifest.

v-asshrirao commented 9 months ago

@ma-dockins , Can you please confirm if 'https://teochcpheadquarterssimpleauth.azurewebsites.net/' is in allowed origin? Can you please navigate to SimpleAuth App Service and under API you will have CORS , so can you add 'https://teochcpheadquarterssimpleauth.azurewebsites.net/' in allowed origins and try once if the issue is resolved or not.

If not can you please check with security team, because this issue is mainly related to security.

ma-dockins commented 9 months ago

Hi, teams.microsoft.com-1696449006735.log

I was able to resolve the CORS error. However, I am not encountering an internal 500 server error. I have attached the console logs.

v-asshrirao commented 9 months ago

@ma-dockins,

Thank you for sharing the logs, Can you please share manifest file with us for further investigation. Also, please confirm if deployment was successful.

ma-dockins commented 9 months ago

Hello,

I am still experiencing the 500 internal server error. I've attached the manifest.

manifest - Copy.txt

v-asshrirao commented 9 months ago

@ma-dockins , Thank you for sharing the manifest. Can you also share the manifest file from App Registration. Also can you confirm if all resources are deployed successfully and https://teochcpheadquarterssimpleauth.azurewebsites.net is working for you. image

ma-dockins commented 9 months ago

Hi,

All 7 Deployments succeeded.

TEOCHCPHeadquarters.txt

v-asshrirao commented 9 months ago

@ma-dockins, We have verified the manifest files shared. We have found that along with WebSiteURL placeholder you have also updated the value for WebSiteURL under developers. image Which is causing an issue. Replace that with below value and let us know if that work. image

ma-dockins commented 9 months ago

Hello, teams.microsoft.com-1696857751737.log

I've made the changes as stated for the manifest. json file in app packages and reloaded the app. I am still encountering the 500 server error. I have attached the console logs.

v-asshrirao commented 9 months ago

@ma-dockins, Can you please navigate to Resource Group > Deployments and share screenshot with us. We know you have confirmed that deployment was successful, but just for validation we will need details if simpleAuthProvision deployment is successful or not as its throwing 500 error.

image

Also request you to kindly refer similar issue reported by user #94

ma-dockins commented 9 months ago

Hi,

Yes, please see SS below.

image

v-asshrirao commented 9 months ago

@ma-dockins, Thank you for sharing the details. Please allow us some time. We will get back to you ASAP.

v-asshrirao commented 9 months ago

@ma-dockins, Can you please try to restart the simple auth app service once and check if its working. If that is not working, you will have to do the deployment from scratch with new resource group by deleting the existing resource group.

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

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