Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnAppointmentSend add-in is unavailable and time-out after short of time #4883

Closed
ttuyen1529 opened this issue Sep 12, 2024 · 13 comments
Closed
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins

Comments

@ttuyen1529
Copy link

We have an event-based add-in that trigger OnAppointmentSend event and it released to our customer.
Recently, some users from our customer reported that one-two user from them can not send anything and Outlook showing that our add-in is unavailable and can not process this message since we are using Block option on manifest file
We had an online session with user who faced this issue and checked the log, also the bundle.js file, clear the cache, etc....
Everything is normal, except that the runtime logging never trigger OnAppointmentSend event

Also I noticed that Viva Insights in his computer also show in the event viewer

Provide required information needed to triage your issue

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: PC desktop
  • Host [Excel, Word, PowerPoint, etc.]: Outlook
  • Office version number: Microsoft® Outlook® for Microsoft 365 MSO (Version 2406 Build 16.0.17726.20206) 32-bit
  • Operating System: Windows 10
  • Browser (if using Office on the web): ______

Here is some screenshot for the log:
![image](https://github.com/user-attachments/assets/042d0f93-33ee-493
log.txt
f-b196-e4c9308d7c99)
image

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Sep 12, 2024
@exextoc exextoc added Needs: attention 👋 Waiting on Microsoft to provide feedback Area: Outlook Issue related to Outlook add-ins and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Sep 12, 2024
@exextoc exextoc self-assigned this Sep 12, 2024
@ttuyen1529
Copy link
Author

Updated: I can confirm that I can reproduce it on Windows 10 with Outlook version Microsoft® Outlook® for Microsoft 365 MSO (Version 2406 Build 16.0.17726.20206) 32-bit

@ttuyen1529
Copy link
Author

Updated: multiple users from our customer have same issue with Outlook version 2047 Build 17830.20210 also update Outlook to lastest version on Monthly Enterprise Channel see this issue

@ttuyen1529
Copy link
Author

Please help us...any idea @exextoc, many customer of us start to migrate and it is going to critical now in our side

@sivachandran-msft
Copy link

Hi @ttuyen1529, thanks for reaching out. Apologies for the delay in response. Is this issue observed in Classic Outlook or in New outlook? Are you seeing any error related to your add-in in the event viewer as well?

@sivachandran-msft sivachandran-msft added Needs: author feedback Waiting for author (creator) of Issue to provide more info and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Oct 9, 2024
@ttuyen1529
Copy link
Author

Hi @sivachandran-msft. this is only observed in Classic Outlook.
We have public 2 version, v1 with onSend, v2 with receipt change event adding

One customer have problem when update from v1 to v2
One other roll out v2 in today and feed back that all user cannot send anything since we use send mode as Block in manifest.

And only error show in Event Viewer is
"We're sorry, we couldn't access [our add in name]. Make sure you have a network connection. If the problem continues, please try again later."

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: author feedback Waiting for author (creator) of Issue to provide more info labels Oct 9, 2024
@ttuyen1529
Copy link
Author

And it only occurred on Monthly Enterprise Channel only, our internal using Current Channel of Office 365 and everything still works as expected

@ttuyen1529
Copy link
Author

FYI: same my account works on lastest version on Current Channel and not works on lastest version of Monthly Enterprise Channel

@ttuyen1529
Copy link
Author

It works only once time when I clear wef and HubAppFileCache folder... then it back to timeout issue

@ttuyen1529
Copy link
Author

The only log in runtime I see is:

10/10/2024 9:28:36 Verbose Runtime [Console] [Log] Platform Bundle - Office exists!
10/10/2024 9:28:36 Verbose Runtime [Console] [Log] Platform Bundle - Office.actions exists!
10/10/2024 9:28:36 Verbose Runtime [Console] [Log] Platform Bundle - Office.actions.associate exists!
10/10/2024 9:28:36 Verbose Runtime [Console] [Log] Outlook Batch JS loaded!
10/10/2024 9:28:36 Verbose Runtime [Console] [Log] Outlook LaunchEvent JS loaded!

the associate action never called...

@sivachandran-msft
Copy link

Tagging @zhngx @timwan10 for Outlook desktop.

@ttuyen1529
Copy link
Author

Hi there...
I found out that my developers when developing new version have put a syntax not allow on ecmascript, but it still show the difference between update Channel of Office 365..
So could you guys inform me some information on this?

@zhngx1
Copy link

zhngx1 commented Oct 16, 2024

@ttuyen1529 Sorry for the late response. Let me try to repro this issue.

@zhngx1
Copy link

zhngx1 commented Oct 17, 2024

@ttuyen1529 Just to clarify, did you encounter the issue after upgrading Outlook or after releasing the v2 of your app? Does v2 of your app work on older Outlook versions?

Unfortunately the event based add-in uses a different runtime than the taskpane add-in, so not everything supported in the browser is supported for event based add-ins. Here is a documentation about it:
https://learn.microsoft.com/en-us/office/dev/add-ins/testing/runtimes#javascript-only-runtime

@zhngx1 zhngx1 closed this as completed Jan 9, 2025
@zhngx1 zhngx1 removed the Needs: attention 👋 Waiting on Microsoft to provide feedback label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins
Projects
None yet
Development

No branches or pull requests

4 participants