Skip to content

Add-in Errors in classic desktop Outlook #6480

@digiofficerobin

Description

@digiofficerobin

When I create a new e-mail I get all kinds of add-in error taskpane while the addin is working fine in New Outlook Desktop and web.

Your Environment

  • Platform : Windows PC 11
  • Host : (classic) Microsoft® Outlook® for Microsoft 365 MSO (Version 2601 Build 16.0.19628.20132) 64-bit
  • Office version number: 365
  • Operating System: Windows 11

Expected behavior

We expect that if we develop an add-in for New Outlook, that it also works in classic Outlook because they both share the same minimum version API requirements. See table in article Outlook client support

Current behavior

When we start classic Outlook for Windows desktop and compose a new e-mail, then multiple taskpanes for the same add in are raised with error messages, and even a taskpane is shown which are from another app from another mailbox.

When we try to send an e-mail, then Outlook is waiting for the add-in to completes its task (which it never does) and users can only cancel the action without sending the e-mail. Thus users cannot even send e-mails anymore.

If the add-in should work (according to the minimum version requirements) also in classic Outlook for desktop, then we expect that there should be no differences.

If the add-in probably cannot work in classic Outlook, then (for our situation) it will be oke that the add-in doesn't load/start and stays silent. The main goal for us is to write an add-in that works in the New Outlook (desktop and web), but we cannot/will not prevent users to start classic Outlook as well.

As a workaround we use the EquivalentAddins override, but for this to work we still have to install our old add-in on all installations.

		  <EquivalentAddins>
			<EquivalentAddin>
			  <ProgId>NameOfMyCOMAddin</ProgId>
			  <Type>COM</Type>
			</EquivalentAddin>
		  </EquivalentAddins>

Steps to reproduce

  1. Create an add-in for New Outlook with a button in the toolbar and a task pane
  2. Make sure it works correctly in New Outlook
  3. Start classic Outlook for Windows
  4. Try to use the add-in

Link to live example(s)

See video:

Outlook-Add-In-Errors.mp4

Context

As far as we know, there is no way to debug the add-in or start Web Developer tools for classic Outlook for Windows.

Another developer has noticed the following differences as well:

  • Event-based activation doesn't seem to work. So, I immediately create a branded email (the task pane opens with a yellow error).
  • Dialog windows don't respect the width of the client (Outlook Classic app). The full screen width is used for the dialog.
  • Adding attachments isn't possible. In One Outlook and the web version, these attachments are retrieved as blobs via an authenticated service request. Classic Outlook doesn't support blob URLs. The solution/workaround is to encode them to base64.
  • Adding recipients throws exceptions. Classic Outlook expects an object containing not only the email address but also the displayName.
  • The width of the task pane is customizable in classic Outlook, while it has a fixed width in New Outlook. Our layout should then be developed with responsive design.

Useful logs

Event-log entries:
Add-in Error
We can't start this add-in because it isn't set up properly.
P1: Apps for Office
P2: 16.0.19628.20132
P3: 0x8004323E
P4:

Failed to parse element: VersionOverrides
Id=bc13b9d0-5ba2-446a-956b-c583bdc94d5e, DisplayName=Suggested Meetings, Provider=Microsoft, StoreType=EXCatalog, StoreId=(null)
P1: Apps for Office
P2: 16.0.19628.20132
P3: 0x8004323E
P4: New Document

Failed to parse element: VersionOverrides
Id=7a774f0c-7a6f-11e0-85ad-07fb4824019b, DisplayName=Bing Maps, Provider=Microsoft, StoreType=EXCatalog, StoreId=(null)
P1: Apps for Office
P2: 16.0.19628.20132
P3: 0x8004323E
P4: New Document

Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions