You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/publish/publish-office-add-ins-to-appsource.md
+52-15Lines changed: 52 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Publish your Office Add-in to Microsoft AppSource
3
3
description: Learn how to publish your Office Add-in to Microsoft AppSource and install the add-in with a Windows app or COM/VSTO add-in.
4
4
ms.topic: concept-article
5
-
ms.date: 11/16/2024
5
+
ms.date: 02/24/2025
6
6
CustomerIntent: As a developer, I want to publish my Office Add-in to Microsoft AppSource so that customers can deploy and use my new add-in.
7
7
---
8
8
@@ -27,36 +27,73 @@ When your add-in is available in AppSource, there are two further steps you can
27
27
28
28
### Provide an installation link
29
29
30
-
After you publish to Microsoft AppSource, you can create an installation link to help customers discover and install your add-in. The installation link provides a "click and run" experience. Put the link on your website, social media, or anywhere you think helps your customers discover your add-in.
30
+
After you publish to Microsoft AppSource, you can create an installation link to help customers discover and install your add-in. The installation link provides a "click and run" experience. Put the link on your website, social media, or anywhere you think helps your customers discover your add-in. When users select the link, the Office application opens with a new document and your add-in is installed without the need for users to search for it in Microsoft AppSource and install it manually.
31
31
32
-
The link opens a new Word, Excel, or PowerPoint document in the browser for the signed-in user. Your add-in is automatically loaded in the new document so you can guide users to try your add-in without the need to search for it in Microsoft AppSource and install it manually.
32
+
> [!NOTE]
33
+
> Installation links can only be created for Excel, PowerPoint, and Word add-ins.
34
+
35
+
There are two styles of links depending on whether you want the Office application to open in Office on the web or on desktop Office.
36
+
37
+
-[Open in Office on the web](#open-in-office-on-the-web)
38
+
-[Open in Office on Windows or Mac](#open-in-office-on-windows-or-mac)
39
+
40
+
> [!NOTE]
41
+
> The style of link determines only the platform that opens, not the platforms where the add-in is installed. The add-in is installed on every platform that supports all of the requirement sets that are specified in its manifest. See [Office versions and requirement sets](../develop/office-versions-and-requirement-sets.md).
42
+
43
+
#### Open in Office on the web
33
44
34
45
To create the link, use the following URL template as a reference.
Change the three parameters in the previous URL to support your add-in as follows.
49
+
Change the placeholders in the URL as follows.
39
50
40
51
-**linkId**: Specifies which web endpoint to use when opening the new document.
41
52
42
53
- For Word on the web: `2261098`
43
54
- For Excel on the web: `2261819`
44
55
- For PowerPoint on the web: `2261820`
45
56
46
-
**Note:** Outlook is not supported at this time.
57
+
-**addInId**: The ID of your add-in as listed in AppSource.
58
+
-**addInName**: The full title of your add-in. This must be URL-encoded.
47
59
48
-
-**templateid**: The ID of your add-in as listed in Microsoft AppSource.
49
-
-**templatetitle**: The full title of your add-in. This must be HTML encoded.
50
-
51
-
For example, if you want to provide an installation link for [Script Lab](https://appsource.microsoft.com/product/office/wa104380862), use the following link.
60
+
For example, the following is an installation link for [Script Lab](https://appsource.microsoft.com/product/office/wa104380862).
The following parameter values are used for the Script Lab installation link.
56
65
57
-
-**linkid:**The value `2261819` specifies the Excel endpoint. Script Lab supports Word, Excel, and PowerPoint, so this value can be changed to support different endpoints.
66
+
-**linkid:** The value `2261819` specifies the Excel endpoint. Script Lab supports Word, Excel, and PowerPoint, so this value can be changed to support different endpoints.
58
67
-**templateid:** The value `WA104380862` is the Microsoft AppSource ID for Script Lab.
59
-
-**templatetitle:** The value `Script%20Lab,%20a%20Microsoft%20Garage%20project` which is the HTML encoded value of the title.
68
+
-**templatetitle:** The value `Script%20Lab,%20a%20Microsoft%20Garage%20project` is the URL-encoded value of the title.
69
+
70
+
#### Open in Office on Windows or Mac
71
+
72
+
To create the link, use the following URL template as a reference.
-**appName:** This parameter specifies which Office application is opened when users click the link.
79
+
80
+
- For Word: `ms-word`
81
+
- For Excel: `ms-excel`
82
+
- For PowerPoint: `ms-powerpoint`
83
+
84
+
-**language:** This is the language of the add-in. For example: `de-DE`, `ja-JP`, or `zh-CN`.
85
+
-**correlationID:** A GUID for diagnostic purposes. For example, "7bf846ec-905a-5edd-b162-83498f9a8674". Use a GUID generation tool. The diagnostic purpose is defeated if multiple users have the same GUID, so we recommend you to generate it at runtime and make it different per click.
86
+
-**addInId:** The ID of your add-in as listed in AppSource. *This parameter is case-sensitive. Use uppercase letters.*
87
+
-**addInName:** The full name of your add-in. This must be URL-encoded.
88
+
-**fileFormat:** Specifies the format of the file that is created.
89
+
90
+
- For Word: `docx`
91
+
- For Excel: `xlsx`
92
+
- For PowerPoint: `pptx`
93
+
94
+
For example, the following is an installation link for Script Lab in Word on Windows with en-US as the language.
### Include the add-in in the installation of a Windows app or COM/VSTO add-in
62
99
@@ -69,7 +106,7 @@ The following are the basic steps:
69
106
70
107
#### Join the certification program (recommended)
71
108
72
-
We recommend that you join the [developer certification program](/microsoft-365-app-certification/docs/certification). Among other things, this will enable your installation program to run smoother. For more information, see the following articles:
109
+
We recommend that you join the [developer certification program](/microsoft-365-app-certification/docs/certification). Among other things, this enables your installation program to run smoother. For more information, see the following articles:
73
110
74
111
-[Get Started in Partner Center for Microsoft 365, Teams, SaaS, and SharePoint apps](/microsoft-365-app-certification/docs/userguide)
##### Include privacy terms in your terms & conditions (required for certified developers)
338
375
339
-
Skip this section if you are not a member of the certification program, but *it is required if you are*.
376
+
Skip this section if you aren't a member of the certification program, but *it is required if you are*.
340
377
341
378
Include in the installation program code to add an entry like the following example to the Windows Registry.
342
379
@@ -369,12 +406,12 @@ To implement this, just make two small changes in the code sample in the previou
369
406
370
407
#### The user's installation experience
371
408
372
-
When an end user runs your installation executable, their experience with the web add-in installation will depend on two factors.
409
+
When an end user runs your installation executable, their experience with the web add-in installation depends on two factors.
373
410
374
411
- Whether you're a [certified Microsoft 365 developer](/microsoft-365-app-certification/docs/certification).
375
412
- The security settings made by the user's Microsoft 365 administrator.
376
413
377
-
If you're certified and the administrator has enabled automatic approval for all apps from certified developers, then the web add-in is installed without the need for any special action by the user after the installation executable is started. If you're not certified or the administrator hasn't granted automatic approval for all apps from certified developers, then the user will be prompted to approve inclusion of the web add-in as part of the overall installation. After installation, the web add-in is available to the user in Office on the web as well as Office on Windows.
414
+
If you're certified and the administrator has enabled automatic approval for all apps from certified developers, then the web add-in is installed without the need for any special action by the user after the installation executable is started. If you're not certified or the administrator hasn't granted automatic approval for all apps from certified developers, then the user is prompted to approve inclusion of the web add-in as part of the overall installation. After installation, the web add-in is available to the user in Office on the web as well as Office on Windows.
378
415
379
416
If you're combining the installation of a web add-in with a COM/VSTO add-in, you need to think about the relationship between the two. For more information, see [Make your Office Add-in compatible with an existing COM add-in](../develop/make-office-add-in-compatible-with-existing-com-add-in.md).
0 commit comments