OfficeDev / Office-Add-in-samples

Code samples for Office Add-in development on the Microsoft 365 platform.
MIT License
672 stars 758 forks source link

Example works only in OWA #753

Closed Wh4teverr closed 2 months ago

Wh4teverr commented 3 months ago

I implemented the plugin via ECP and everything works properly in the WEB version.

However, in the classic version of Outlook, the plug-in starts, but the javascript does not work, it seems that the Office.onReady method never executes. Do you know what is the reason for this?

AlexJerabek commented 3 months ago

Hi @Wh4teverr,

Thanks for reporting this issue. However, could you please specify to which sample you are referring?

Wh4teverr commented 2 months ago

Yes, of course. I am referring to outlook-hello-world sample.

I mean: https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/hello-world/outlook-hello-world

samantharamon commented 2 months ago

Thanks for providing the sample, @Wh4teverr. When you get a chance, could you provide the version and channel of your classic Outlook on Windows client? And to clarify, when you say you implemented the add-in via ECP, are you referring to this deployment method: Deploy add-ins in the Microsoft 365 admin center?

I tested locally installing the manifest and also deploying it via the Microsoft 365 admin center and confirmed that the add-in runs as expected in both Outlook on the web and on Windows (classic and new). If you locally install the manifest, does the add-in work in your Outlook desktop client?

microsoft-github-policy-service[bot] commented 2 months ago

This issue has been automatically marked as stale because it is marked as needing 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. Thank you for your interest in Office Add-ins!

microsoft-github-policy-service[bot] commented 2 months ago

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.