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

An error occurred, please try to create your incident again #80

Closed ATCADS closed 1 year ago

ATCADS commented 1 year ago

We have one user that is getting a non-descript error regarding entering a new incident in MSTEOC. Are there logs anywhere to help facilitate troubleshooting these events?

screenshot of the error message: image

Thank you for your time and effort. ATCADS

v-prigunasek commented 1 year ago

Hi @ATCADS,

Thanks for reaching out to us. Could you please open the TEOC app in browser version of teams and try to login to replicate the issue and then share us the console logs and network trace to get more insights about this error?

To get a console logs, please try to access the TEOC 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

ATCADS commented 1 year ago

teams.microsoft.com-1679324143419.log Here are the logs

ATCADS commented 1 year ago

I believe we figured out what the issue. We control who can create Teams unified groups and once we added the user to that group they were able to create new incidents. Odd though, my account is not included in this group but can create incidents. Still looking into why. Thank you again for the support.

v-prigunasek commented 1 year ago

Hi @ATCADS ,

Thanks for sharing the logs. Yes, the incident got failed because Tenant admin has not enabled Unified Group creation and I believe the following setting (under Settings, General we have "Users can create Microsoft 365 groups in Azure portals, API or PowerShell") might be set to No. In that case only users in certain admin roles (Global admin, Users admin, Groups admin) can override it and they will be able to create Incidents (Incident creation will create a M365 group in the backend).

All other users will be getting an error when trying to create a M365 group. If you would like to allow some set of users to create M365 group without adding them to any of these admin roles (Global admin, Users admin, Groups admin), then you can follow this article to create one M365 group that can be used to control who is able to create Microsoft 365 Groups.

Please let me know if you need any further information.

ATCADS commented 1 year ago

v-prigunasek;

Thank you for researching into this issue and your time :-). We should be good-to-go for this issue, closing.