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
95 stars 40 forks source link

API Access - Pending requests #75

Closed ATCADS closed 1 year ago

ATCADS commented 1 year ago

After following the deployment guide and working through step 8: Deploy "NotifyToTeams" we are not seeing any pending requests show up for sub-step 11. Not sure if this is also affecting the app within Teams showing a blank page below the header.

image

v-prigunasek commented 1 year ago

Hi @ATCADS,

Thanks for reaching out to us. The API permissions are for the EOC-Extension and it is a separate component so that will not affect the TEOC application. Could you please open the TEOC application in browser version of MS Teams and share me the console logs?

To get a console logs, please try to access the application in the browser version of MS Teams and open Developer tools from browser (or press Ctrl + Shift + I , this will open the console window) and then right click on the logs to Save it as a log file.

image

image

For the issue related to the API request, can you please share me the screenshot of the AppCatalog library from SharePoint site and the API access page from SharePoint admin portal?

ATCADS commented 1 year ago

Thank you for responding. The logs are attached teams.microsoft.com-1677769183313.log

ATCADS commented 1 year ago

Screenshot of AppCatalog

AppCatalog
ATCADS commented 1 year ago

Screenshot of API Access. I did notice that both permissions for Microsoft Graph did show without requiring approval, which is confusing as they never showed in Pending requests...

APIAccess
ATCADS commented 1 year ago

Let me rephrase, two of the nine permissions required we allowed; however, the other seven have not shown in pending yet.

v-prigunasek commented 1 year ago

Hi @ATCADS,

Thanks for sharing the logs. 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 TeamsEOCSite, 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.

v-prigunasek commented 1 year ago

Screenshot of API Access. I did notice that both permissions for Microsoft Graph did show without requiring approval, which is confusing as they never showed in Pending requests... APIAccess

You are good with the API permissions, since those 2 permissions are already listed under approved requests. That is the reason you were not seeing it under Pending requests.

Thanks!!

ATCADS commented 1 year ago

Setting the site in the Application setting did the trick! Thank you so much!

TeamsEOC
v-prigunasek commented 1 year ago

That sounds perfect!! Thanks for your interest in using TEOC Application. Please feel free to reach out to us for any queries/issues.