OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
669 stars 95 forks source link

Web add-in not loading in old Outlook windows version #4705

Open mailchecktool-admin opened 1 month ago

mailchecktool-admin commented 1 month ago

We are writing to report an issue with our Office Add-in that utilizes the ItemSend event. The add-in was deployed centrally via the Microsoft Admin Center approximately one month ago and was functioning properly for some time. However, since last week, the add-in has ceased to function. This issue has persisted since the initial occurrence, rendering the add-in unusable.It is noteworthy that this issue is only affecting a subset of users within the organization.

Your Environment

Expected behavior

The ItemSend event should execute whenever an email is sent.

Current behavior

The ItemSend event does not trigger when sending emails.

Steps to reproduce

  1. Access the "Link to live example(s)" (Provide the link here)
  2. Download "Office-addin-sample" and place it in the desired location.
  3. Access the Microsoft Admin Center.
  4. Deploy the custom add-in using the manifest.xml file.
  5. Wait for at least 24 hours.
  6. Open a command prompt and navigate to the corresponding directory.
  7. Run "npm install".
  8. Run "npm run dev-server".
  9. open Outlook.

Link to live example(s)

URL

We have received feedback from customer requesting improvements. Please investigate and make necessary improvements.

neprasad-microsoft commented 1 month ago

Hi @mailchecktool-admin Since this is only occurring for a subset of users, we will need some more information to debug -

For sharing files, you can create a private repo and give access to exextoc.

mailchecktool-admin commented 1 month ago

We will share logs and screen recordings of any glitches that occur. ▷https://github.com/mailchecktool-admin/addinError

We have created an add-in that displays a pop-up when sending an email, but when the email is sent, the extension does not work and goes through. Additionally, the icon that used to appear in the extension list is no longer displayed. Please check the screen recording you have made for detailed operation.

I have confirmed that this occurs in the new Outlook, Outlook on the Web as well as the traditional Outlook. I have not been able to confirm this for Mac as I do not have the media.

We are currently receiving similar inquiries from three companies that are deploying add-ins.

We have confirmed that this event does not occur when the add-in is installed individually as a custom add-in, but occurs when the add-in is deployed from the Microsoft Management Center.

Please review the contents and investigate.

neprasad-microsoft commented 1 month ago

Hi @mailchecktool-admin The logs you shared do not have all the data. Please start collecting the logs before you launch Outlook on the Web . Also, if possible, share the manifest of your add-in so that we can repro and debug locally. "We have confirmed that this event does not occur when the add-in is installed individually as a custom add-in, but occurs when the add-in is deployed from the Microsoft Management Center." Do you mean that the issue is only on locally installed add-ins?

mailchecktool-admin commented 1 month ago

New log information was obtained and the repository was updated. The problem occurs “when deployed from Microsoft Management Center”.

Since this is a private program and I cannot share it here, I would like to know a reliable email address to send it to so that I can share it via email if necessary for the investigation.

neprasad-microsoft commented 1 month ago

Hi @mailchecktool-admin The new HAR file attached is corrupted. We are unable to open the file and it gives "Invalid File" error. Could you please attach the logs again? Also, you can share the manifest in the same private GitHub repo and we can let you know once we download it. After that you can delete it.

mailchecktool-admin commented 1 month ago

My apologies. I have re-submitted the corrupted HAR file as “outlook.office.com.zip”.

mailchecktool-admin commented 1 month ago

I have shared the manifest file with you. ▷https://github.com/mailchecktool-admin/addinError/blob/main/manifest.xml

mailchecktool-admin commented 1 month ago

We will share additional information with you. [On the screen I checked from [https://aka.ms/olksideload], I see an add-in both in “Personal Add-Ins” and in “Admin Management” (the name of the add-in is Mail Checker). addinImage

However, the add-in is not displayed on the Microsoft365 application screen that is displayed from the □ Add-in button > [Add App]. addinImage2

When sending an email, the email is sent without the startup message being displayed, so I suspect that the ItemSend event is still not being executed.

mailchecktool-admin commented 1 month ago

@exextoc  @neprasad-microsoft Have you made any progress in your investigation based on the information I shared? Please let me know if you have made any progress.

Also, please let me know if there is any additional information you would like me to share.

mailchecktool-admin commented 3 weeks ago

@neprasad-microsoft @exextoc I have repeatedly provided information and posted comments to inquire about the situation, but I have not received a response. Multiple customers who have subscribed to our add-in are complaining that they cannot use it. Could you please provide me with an update on the current investigation status?

sivachandran-msft commented 3 weeks ago

Hi @mailchecktool-admin, the HAR file shared is still having issues to open. Please check the below snapshot: image

We could see from the recording, that the "Mail Checker" is not getting displayed in the applist in the compose and hence it make sense that it is not getting executing while sending. The HAR file will give more information for the cause. Please sharing working file. Before uploading it again, please try to open the har file and check for proper working.

mailchecktool-admin commented 3 weeks ago

@sivachandran-msft @exextoc Sorry. I copied the contents of the har file, which I could not confirm, into a text file. https://github.com/mailchecktool-admin/addinError/blob/main/outlook.office.com.zip You can check it from. Thank you in advance.

rajjha-msft commented 3 weeks ago

Hey @mailchecktool-admin

Can you please share the add-in as well as the logs, I cannot access any of those? You can create a private GH repo with the files and share with @exextoc.

What I understood is it is not showing up when its deployed, and shows up when side loaded? Also, when did the add-in stopped working? Is there a new deployment post which it happend ?

mailchecktool-admin commented 3 weeks ago

@rajjha-msft @sivachandran-msft @exextoc I have added “exextoc” to the collaborator, Does this mean that you cannot see the private repository? スクリーンショット 2024-08-21 175503

not showing up when its deployed, and shows up when side loaded? →We have confirmed that the event occurs when the add-in is deployed from the administration center. As for whether the event occurs when the add-in is side-loaded, basically the add-in works, but there may be some users for whom it does not work. (We have not confirmed all users.)

The add-ins stopped working around the beginning of June, but the add-ins seem to be working fine now. Have you done any updates related to extensions between June and now? I would like to know why the event was resolved.

rajjha-msft commented 2 weeks ago

Hey @mailchecktool-admin

We have received the logs as well as the manifest. We are looking into it.

Quick question, is this an intermittent issue? Also, how many people are impacted and when did it start?

mailchecktool-admin commented 2 weeks ago

@rajjha-msft This problem has been occurring for several users since early June. A few of these users have been resolved, but some continue to experience the problem. Why was the event that was occurring in a few users resolved? Are there any possible factors? (e.g., cache effects, etc.)

rajjha-msft commented 2 weeks ago

The issue might be happening due to data propagation delay (probably due to middle tier cache). Please let us know if you see the issue is happening more frequently and consistently.

mailchecktool-admin commented 1 week ago

@rajjha-msft Is data propagation delay (intermediate layer cache) something that resolves automatically over time? If there is a manual procedure to clear it, please let me know. If it resolves over time, how long does it typically take to be resolved?

Why is an intermediate layer cache occurring? Is this due to an add-in related update at Microsoft?

rajjha-msft commented 1 week ago

We are working to make the system more efficient. It should not happen again, and no action is required from your side.

mailchecktool-admin commented 1 week ago

@rajjha-msft What caused this cache? Is it due to an update?

We need an answer because we need to explain the user cause of the event.

mailchecktool-admin commented 1 day ago

@rajjha-msft I would like a response to the question. I am obligated to provide an answer to the customer regarding their inquiry.