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

Unable to Sign into app after uploading to teams #125

Closed clarkec2 closed 1 year ago

clarkec2 commented 1 year ago

Hello!

I am setting this app up and after updating the manifest for deployment I am thinking I may have something setup wrong. When I add the app to a team i get the login page, however when attempting to sign in I get a "cannot sign in error" that shows a different APP iD in the message than what we have set and registered. I have updated the manifest a few times in the wake of this as we have a few different vanity urls for our domain so finding the appropriate app domain to use in the manifest has been tricky.

AshwiniShrirao commented 1 year ago

@clarkec2, Thank you for reaching out to us. Can you please share manifest file with us for further investigation. Also request you to please reproduce the issue again in browser version of teams and share console logs for further troubleshooting this issue.

clarkec2 commented 1 year ago

Do you have a repository I can send the files to or should I attach them to the git case?

AshwiniShrirao commented 1 year ago

You can directly attach files to the git case.

actionh commented 1 year ago

Having a similar issue here - Just went through the setup, without any issues, but unable to sign in, once added to Teams (tried desktop, New Teams desktop, web and mobile). I do see a pop-up, but it flashes and closes without any errors. On mobile, I'm asked to launch from Edge, but the window also closes once the app is opened (most likely the auth window).

Edit (7/31): I went back through the documentation and double-checked all the steps. Everything appears to be setup correctly. I did see successful login attempts to the TEOC app in Azure AD for the user, so authentication must be working in some regard. However, the TEOC Teams app screen never goes passed the Login page. No errors are visible and clicking login again, only generates the same results.

v-prigunasek commented 1 year ago

Hi @clarkec2 ,

The Client ID in the manifest should be the Application (client) ID from the app registered for TEOC. image

Please let us know if you still have any issues.

clarkec2 commented 1 year ago

That is correct, I worked with a contact from MSFT yesterday, and did some additional troubleshooting myself. This was tested and published into our dev env without issues. I have did some work on the manifest and I am still met with the same error after publishing the app into prod...

@.***

I found an article stating that a Global admin needs to reconsent after the app is reuploaded via this link...

https://login.microsoftonline.com/common/adminconsent?client_id= (Client ID Removed)

-Col-

General Business From: v-prigunasek @.> Sent: Wednesday, August 9, 2023 8:05 AM To: OfficeDev/microsoft-teams-emergency-operations-center @.> Cc: Clarke, Colin (C) @.>; Mention @.> Subject: Re: [OfficeDev/microsoft-teams-emergency-operations-center] Unable to Sign into app after uploading to teams (Issue #125)

You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi @clarkec2https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fclarkec2&data=05%7C01%7Cnd99123%40dow.com%7Cb175d7146b56483ce02008db98d0dbef%7Cc3e32f53cb7f4809968d1cc4ccc785fe%7C0%7C0%7C638271795044202981%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2Bk%2B6lMg2Iwy3f0fhb96JKwW9BnSYH%2BZdZMuCcbJiQcY%3D&reserved=0 ,

The Client ID in the manifest should be the Application (client) ID from the app registered for TEOC. [Image removed by sender. image]https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F98514691%2F259399396-22a77cfa-c69c-48af-8ee2-dc6f73f5ed8d.png&data=05%7C01%7Cnd99123%40dow.com%7Cb175d7146b56483ce02008db98d0dbef%7Cc3e32f53cb7f4809968d1cc4ccc785fe%7C0%7C0%7C638271795044358755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eNr953Tilgr3gmU4zMq%2BeEv2BVb3djIlyC0%2Fcu72yEI%3D&reserved=0

Please let us know if you still have any issues.

- Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-emergency-operations-center%2Fissues%2F125%23issuecomment-1671201065&data=05%7C01%7Cnd99123%40dow.com%7Cb175d7146b56483ce02008db98d0dbef%7Cc3e32f53cb7f4809968d1cc4ccc785fe%7C0%7C0%7C638271795044358755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=C9HqND%2Byc%2FiOQx15qF1fohnyMbJLC0yYslSmGdgHY14%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FBBQ3BFE22ILXNMNQU55IQF3XUN4GZANCNFSM6AAAAAA2YR66GE&data=05%7C01%7Cnd99123%40dow.com%7Cb175d7146b56483ce02008db98d0dbef%7Cc3e32f53cb7f4809968d1cc4ccc785fe%7C0%7C0%7C638271795044358755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pwZEYLfaJs0cRCH%2Fx8nCWWvIW8TAVnz2dqdEIRFjYr8%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

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