Redigera

Dela via


Develop Outlook add-ins for the new Outlook on Windows

The new Outlook on Windows desktop client unifies the Windows and web codebases to create a more consistent Outlook experience for users and administrators. Its modern and simplified interface has added capabilities and aims to improve productivity, organization, and collaboration for users. More importantly, the new Outlook on Windows supports Outlook web add-ins, so that you can continue to extend Outlook's functionality.

Impact on VSTO and COM add-ins

The new Outlook on Windows aims to unify the extensibility experience across all Outlook platforms. To provide a more reliable and stable add-in experience, VSTO and COM add-ins aren't supported in the new Outlook on Windows. To ensure your add-in continues to work in the new Outlook on Windows, you must migrate your VSTO or COM add-in to an Outlook web add-in. Migrating to an Outlook web add-in not only enables compatibility with the new Outlook on Windows, it also makes your solution available to users on other platforms, such as Outlook on Mac, on mobile, or on the web.

To help get you started on the migration process, review the following guidance.

Note

VSTO and COM add-ins are still supported in classic Outlook on Windows.

Supported scenarios in Outlook web add-ins

The development of the Outlook JavaScript API used by Outlook web add-ins is focused on closing the gap on scenarios that are only supported by VSTO and COM add-in solutions. This way, users who transition to the Outlook web add-in can continue to have a seamless experience.

The following table identifies key Outlook scenarios and their support status in a web add-in. This table will be updated as additional scenarios are supported. Periodically check this section as you plan to migrate your VSTO or COM add-in.

Tip

As we continue to update the table of supported scenarios, if you want to view the recent changes made, select Edit This Document (pencil icon) from the top right corner of the article, then select History.

To learn more about Outlook add-in features that are in preview, see Outlook add-in API preview requirement set.

Scenario Description Support status in Outlook web add-ins Related features and samples
Spam email reporting and education Enable users to report unsolicited and potentially unsafe messages and learn how to identify these messages. Supported. Improvements are in development to further enhance the user experience.
Online meetings Enable users to create and join online meetings. Supported.
Meeting enhancements Provide additional services for users when they schedule meetings, such as location selection, catering services, and room lighting and temperature adjustments. Supported.
Online signatures Automatically add themed signatures to messages and appointments. Supported.
Customer relationship management (CRM) and tracking services Enable users to send and retrieve information from their CRM system to track communications with existing and potential customers. Supported.
Content reuse Enable users to transfer and retrieve text and other content types from partner systems. Supported.
Mail item transformation Enable users to transform mail items into other formats. Supported.
Project management Enable users to create and track project work items from partner systems. Supported.
Attachment management Enable users to import or export attachments from partner locations. Supported.
Message encryption Enable users to encrypt and decrypt messages. Partially supported. Essential features are yet to be addressed to create a similar experience to VSTO or COM add-ins.
Data loss prevention Prevent users from forwarding mail items that contain highly sensitive information. Partially supported. Essential features are yet to be addressed to create a similar experience to VSTO or COM add-ins.
Mail item classification Enable users to identify and classify messages that contain sensitive information. Partially supported. Essential features are yet to be addressed to create a similar experience to VSTO or COM add-ins.
Data sync service Enable bidirectional synchronization of mail items with partner systems. Partially supported. Essential features are yet to be addressed to create a similar experience to VSTO or COM add-ins.
Proofing mail items Provide users with real-time proofreading assistance as they compose messages. Not currently supported. Not available

There are various possibilities for extending the Outlook functionality through add-ins. If your VSTO or COM add-in solution doesn't quite fit any of the scenarios in the table, complete the survey to share your scenario.

Support for classic Outlook on Windows

Classic Outlook on Windows with a Microsoft 365 subscription or a retail perpetual version of Office 2016 or later will continue to support the development of new and existing Outlook web add-ins. Additionally, it will continue to receive releases of the latest Outlook add-in features.

Test your add-in in the new Outlook on Windows

Test your Outlook web add-in in the new Outlook on Windows today! To switch to the new Outlook on Windows, you must meet the following requirements.

  • Have a Microsoft 365 work or school account connected to Exchange Online. The new client doesn't currently support on-premises, hybrid, or sovereign Exchange accounts.

    Note

    While you can add non-Microsoft mail accounts, such as Gmail, to the new Outlook on Windows, you can only use Outlook add-ins with a Microsoft account.

  • Have a minimum OS installation of Windows 10 Version 1809 (Build 17763).

To help you install and set up the Outlook desktop client, see Getting started with the new Outlook for Windows.

For guidance on how to sideload your add-in, see Sideload Outlook add-ins for testing.

Tip

If you're moving from the classic Outlook client on Windows to the new Outlook client, note that the location of add-ins is different. While add-ins are accessed from the ribbon or app bar in the classic Outlook client, access to add-ins in the new Outlook client depends on whether you're reading or composing a mail item. To learn more, see Use add-ins in Outlook.

Debug your add-in

To debug an add-in installed in the new Outlook on Windows desktop client, perform the following:

  1. Close the new Outlook on Windows client if you already have it open.

  2. Then, in a command prompt, run the following command to open the new Outlook on Windows client and an instance of the Microsoft Edge DevTools.

    olk.exe --devtools
    

    Tip

    After running the command, the DevTools window stays open, so that you can debug an add-in's task pane as you open and close it. If you close the DevTools window, you must close your Outlook client first before running olk.exe --devtools again.

  3. Sideload the add-in to Outlook on the web.

  4. Use Microsoft Edge DevTools to debug your add-in.

Development experience feedback

As you test your Outlook web add-in in the new Outlook on Windows, share feedback on your experience with the developer community through GitHub.

See also