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

Blank App in Teams #143

Closed bderry71 closed 8 months ago

bderry71 commented 9 months ago

We've got a issue where the app loaded once and was able to see it once. Then realized it took over the Chat Channel of where ever I put the Tab. So I deleted it and made a new channel then added the tab back. Then it came up blank. Then I deleted the whole team and rebuilt it. Added the second Channel then added it back to a tab. It still came up blank.

How do I get the logs you want?

v-asshrirao commented 9 months ago

@bderry71 , Please follow below steps to generate logs.

  1. Open teams in browser.
  2. Open developers tools.
  3. Open console and make sure all below options are checked. image
  4. Refresh browser and try reproducing the issue and share the logs generated in console.
bderry71 commented 9 months ago

teams.microsoft.com-1696880269062.log

v-asshrirao commented 9 months ago

@bderry71 , Thank you for sharing the logs with us. Can you please confirm if you are able to access SharePoint site and root site collection.

bderry71 commented 9 months ago

Yes, I can get to the Site as I built it.

v-asshrirao commented 8 months ago

@bderry71, Please allow us some time to analyse this and we will get back to you ASAP.

v-asshrirao commented 8 months ago

@bderry71, We will need few clarification related to permission to understand the issue, From the logs its clear that you have shared it looks like you don't have permission as its giving 403 error. Can you please try to access below URL in graph explorer and confirm if that is working for you? https://graph.microsoft.com/v1.0/sites/csusanbernardino.sharepoint.com:/sites/CSUSBTeamsEOCSite?$select=id

Also confirm if ''Sites.Manage.All' permission is added while configuring permissions for TEOC App.

bderry71 commented 8 months ago

OK. I clicked the link and this is what I got back.

`

   
error  
code "InvalidAuthenticationToken"
message "Access token is empty."
innerError  
date "2023-10-19T15:09:10"
request-id "6981799b-48a7-434d-aa08-6d11d3726fa1"
client-request-id "6981799b-48a7-434d-aa08-6d11d3726fa1"

`

bderry71 commented 8 months ago

I was never prompted for login with that link.

bderry71 commented 8 months ago

I also tried it with a Outlook.office365.com/mail session and it gave the same error:

{"error":{"code":"InvalidAuthenticationToken","message":"Access token is empty.","innerError":{"date":"2023-10-19T17:04:35","request-id":"ae5b16aa-2d2e-4f00-a750-d640f451dc16","client-request-id":"ae5b16aa-2d2e-4f00-a750-d640f451dc16"}}}

v-asshrirao commented 8 months ago

@bderry71, Did you try that with Graph API? Can you please share screenshot of all the permissions you have configured for the App and if admin consent is granted for that?

image
bderry71 commented 8 months ago

Here is the current permissions setup. Screenshot 2023-10-20 at 9 05 54 AM

v-asshrirao commented 8 months ago

@bderry71, Please allow us some time to analyse this issue. Meanwhile can you please try to add TEOC app in some other channel or open that as an app in teams instead of adding that in channel and let us know if its working?

v-asshrirao commented 8 months ago

@bderry71,Thank you for your patience. Can you please confirm if you are the only one who is facing the issue and can you please also confirm if you have tried adding TEOC app directly instead of adding that in channel?

vjanaga-exelixis commented 8 months ago

We followed the deployment guide and performed all the steps, We are also facing the same issue when we add launch the app in Teams we are getting blank dashboard except Welcome message.

We also tried adding the app via channel and directly app also. in both the scenarios we are getting the blank screen.

Please find the attached Logfile, Blank app screenshot, Azure App Permissions TeamsEOC_Log.log

image image It would be great we can have update on the issue as we have tried all the possible options.

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.