OfficeDev / microsoft-teams-apps-company-communicator

Company Communicator app template
MIT License
329 stars 403 forks source link

Something Went Wrong - Issues opening app in Teams #1484

Closed clarkec2 closed 2 months ago

clarkec2 commented 3 months ago

We were able to get past an ARM Template issue, however when attempting to open the app in the Teams Client or in Web we are met with a generic error "Something Went Wrong". We have double and triple checked the deployment and see no issues. The only error we are seeing is a 400 Bad Request in a trace with no other indicators of what is causing the bad request...

v-jaygupta commented 3 months ago

Hello @clarkec2 ,

Thank you for contacting us! Please share the deployment status of the app service and the three function apps deployed via the ARM template deployment also confirm if the deployment is success . Below is the reference - image image

clarkec2 commented 3 months ago

@. @. @. @. @. @. @. @.

General Business

From: v-jaygupta @.> Sent: Wednesday, June 26, 2024 2:53 PM To: OfficeDev/microsoft-teams-apps-company-communicator @.> Cc: Clarke, Colin (C) @.>; Mention @.> Subject: Re: [OfficeDev/microsoft-teams-apps-company-communicator] Something Went Wrong - Issues opening app in Teams (Issue #1484)

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.

Hello @clarkec2https://github.com/clarkec2 ,

Thank you for contacting us! Please share the deployment status of the app service and the three function apps deployed via the ARM template deployment also confirm if the deployment is success . Below is the reference - image.png (view on web)https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/assets/115773960/3e535112-eab3-4cf6-91d6-817cf3a7aad3 image.png (view on web)https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/assets/115773960/2e686fbb-924e-4d22-9502-ba4646742a08

- Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1484#issuecomment-2192423500, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBQ3BFHQTXOAF6URH224S2LZJME2BAVCNFSM6AAAAABJ4KNQ6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJSGQZDGNJQGA. You are receiving this because you were mentioned.Message ID: @.***>

v-jaygupta commented 3 months ago

Hi @clarkec2 ,

We aren't able to view the images sent by you via email. Can you please attach the screenshots on the GitHub Issue #1484

clarkec2 commented 3 months ago

1 2 3 4 5 6 7 8

clarkec2 commented 3 months ago

Hello,

We were able to work past the previous error however, when attempting to draft a new message I am met with another error message after it briefly shows the new message form: "Oops! An unexpected error seems to have occurred. Why not try refreshing your page? Or you can contact your administrator if the problem persists." When inspecting the API I see that it is making thousands of fetch calls to the following...

image

Is that normal?

I am also seeing this directly after clicking Draft Message image

and image

will-smothers commented 3 months ago

I am getting this same error and I have validated that all three Function Apps (Communicator-data-function, Communicator-Function, and Communicator-prep-function) all use the same Deployment settings:

Source = External Git Repository = https://github.com/OfficeDev/microsoft-teams-company-communicator-app.git Branch = main Status = Success (Active)

@clarkec2 - You said in your last post that you were able to work past the previous error, can you share how you did that?

clarkec2 commented 3 months ago

@will-smothers The issue lied in the manifest that was uploaded to Teams. When We took a look at it we noticed that the data on line 34, 49 and 50 was incorrect prompting us in updating the BOT ID under bots, and the ID and RESOURCE under WebApplicationInfo

will-smothers commented 3 months ago

@clarkec2 - Ours turned out to be a timing issue. I waited a few hours and apparently it had time to register with the Azure services and now I can get it to load but I am getting an error now with accessing the Company Communication - Author tab in the Teams channel. It keeps telling me "Sorry, you do not have permission to access this page. Please contact your administrator to be granted permission" even though my UPN is listed in the AuthorizedCreateorUpns.

Now to troubleshoot that. Thanks for the response!

clarkec2 commented 3 months ago

@v-saikirang Has anyone had a chance to take a look at this? I am completely stumped, and this is hampering our comms as it is the primary tool used in Teams.

v-saikirang commented 3 months ago

Hi @clarkec2,

Sorry for the delayed response. Please allow us some time. We will get back to ASAP.

Thanks.

tiwariShiv7 commented 3 months ago

Hey @clarkec2, Can you please Share the Screenshot of failures ? To Do this,

Also, Please Click on the Response code given on the side (Highlighted By Red Arrow in the below image) and Click on 1st suggested box (Refer 2nd Image with Blue Arrow For this) -> Send the screenshot of the page appeared.

image image
clarkec2 commented 3 months ago

There are 4 in the Azure Table, they are identical... image

One in Microsoft.Storage image

And One in the Azure Blob image

tiwariShiv7 commented 3 months ago

Hi @clarkec2, Please share your ID we can continue the conversation over Teams

clarkec2 commented 3 months ago

Is there anyway to provide that privately?

General Business From: tiwariShiv7 @.> Sent: Monday, July 15, 2024 11:49 PM To: OfficeDev/microsoft-teams-apps-company-communicator @.> Cc: Clarke, Colin (C) @.>; Mention @.> Subject: Re: [OfficeDev/microsoft-teams-apps-company-communicator] Something Went Wrong - Issues opening app in Teams (Issue #1484)

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://github.com/clarkec2, Please share your ID we can continue the conversation over Teams

- Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1484#issuecomment-2229954300, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBQ3BFDQNZOH2L72AHOXYTDZMSJ35AVCNFSM6AAAAABJ4KNQ6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRZHE2TIMZQGA. You are receiving this because you were mentioned.Message ID: @.***>

clarkec2 commented 2 months ago

Apologies, I replied via email. Is there a way to pass that on privately? Or could you provide your contact?

tiwariShiv7 commented 2 months ago

Hi @clarkec2 Sorry there is no way to provide it privately as of now. You can add your contact id here that can be deleted later as we start the conversation over Teams

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