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

TEOC Sign-in Error #161

Closed stchurch2 closed 4 months ago

stchurch2 commented 5 months ago

Just went through Setup of TEOC. I am trying to sign-in to TEOC and I am getting an error... Double checked the Redirect Url From Step 4. any assistance would be appreciated. Thanks

Teams_Teoc TEOC

v-asshrirao commented 5 months ago

@stchurch2, Thank you for reporting this. We will need some information from you to troubleshoot this. Please confirm is deployment was successful and all resources are created. Open TEOC app in browser version of teams and share console logs and network trace with us.

stchurch2 commented 5 months ago

Hi Thanks you for the reply. YEs the deployment was successful. I opened Teoc in edge browser opened (classic) teams and launched Teoc. having trouble with har file since this site does not accept it. Please advise. Thanks again Teoc_Console.log

v-asshrirao commented 5 months ago

@stchurch2, I could see from the logs that this request was failing - POST https://login.microsoftonline.com/your-org-tenant-id/oauth2/v2.0/token 400 (Bad Request)

This error normally occurs when there are some configuration issues in the authentication setup. Can you please verify this step again and make sure all the URLs are correctly configured? If everything is right and you still see issues, please share manifest files with us for troubleshooting.

stchurch2 commented 5 months ago

Hi I went through authentication setup again and still having same issue.

v-asshrirao commented 5 months ago

@stchurch2, We request you to kindly share the manifest files with us so that we can validate and help you with this.

stchurch2 commented 5 months ago

Hi I have started over. I am at step 4 Set-up Authentication. I will continue with the build out. I have had other issues come up at work so that is why there was a delay.

stchurch2 commented 5 months ago

Hi This is where I maybe having an issue. where do I find this Teams WebApp Client Id.

ix. Click Add a client application, under Authorized client applications. In the flyout that appears, enter the following values:

Client ID: 5e3ce6c0-2b1f-4285-8d4b-75ee78787346 (Teams WebApp Client Id) Note: This Id is different than the Client Id from step 2

v-asshrirao commented 5 months ago

@stchurch2, You can find Teams WebApp Client Id from the App Registration you have done in Step 2. Navigate to the App Registration and copy the Application ID from the overview section.

image
stchurch2 commented 4 months ago

Hi Sorry for the delay. So I started completely over. I am working on completing this today. I will give update soon. Thank you for your Patience.

stchurch2 commented 4 months ago

I am finished with the uploading all the steps. I do not see Teoc in Teams.

stchurch2 commented 4 months ago

Hi I finally have it running have to go into teams admin center and allow Teoc as a custom app. Thanks For your Time!!

v-asshrirao commented 4 months ago

@stchurch2, Glad to hear that it worked. We will go ahead and close this ticket now.

stchurch2 commented 4 months ago

the fix was to delete everything and start over. Once that was done the last step which is not mentioned in the how to was to go to teams admin center permission policies and selected the Teoc custom app from there in the "custom apps" I selected allow specific apps and block all others. Teoc launched and opened with no issues