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/concepts/requirements-for-running-office-add-ins.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Requirements for running Office Add-ins
3
3
description: Learn about the client and server requirements that an end user needs to run Office Add-ins.
4
-
ms.date: 02/05/2025
4
+
ms.date: 06/25/2025
5
5
ms.localizationpriority: medium
6
6
---
7
7
@@ -26,10 +26,15 @@ For all types of add-ins (content, Outlook, and task pane add-ins and add-in com
26
26
27
27
For content and task pane add-ins, in the supported Office client applications - Excel, PowerPoint, Project, or Word - you also need either an [app catalog](../publish/publish-task-pane-and-content-add-ins-to-an-add-in-catalog.md) on SharePoint to upload the add-in's XML-formatted add-in only manifest file, or you need to deploy the add-in using [Integrated Apps](/microsoft-365/admin/manage/test-and-deploy-microsoft-365-apps).
28
28
29
-
To test and run an Outlook add-in, the user's Outlook email account must reside on Exchange 2016 or later, which is available through Microsoft 365, Exchange Online, or through an on-premises installation. The user or administrator installs manifest files for Outlook add-ins on that server.
29
+
To test and run an Outlook add-in, the user's Outlook email account must reside on Exchange 2016 or later, which is available through Microsoft 365, Exchange Online, or through an on-premises installation. The user or administrator installs manifest files for Outlook add-ins on that server. For Exchange on-premises installations, the following requirements apply.
30
+
31
+
- The server must be Exchange 2016 or later.
32
+
- Exchange Web Services (EWS) must be enabled and must be exposed to the Internet. Many add-ins require EWS to function properly.
33
+
- The server must have a valid authentication certificate in order for the server to issue valid identity tokens. New installations of Exchange Server include a default authentication certificate. For more information, see [Digital certificates and encryption in Exchange 2016](/Exchange/architecture/client-access/certificates) and [Set-AuthConfig](/powershell/module/exchange/organization/Set-AuthConfig).
34
+
- To access add-ins from [AppSource](https://appsource.microsoft.com/marketplace/apps?product=office), the client access servers must be able to communicate with AppSource.
30
35
31
36
> [!NOTE]
32
-
> POP and IMAP email accounts in Outlook don't support Office Add-ins.
37
+
> POP3 and IMAP email accounts in Outlook don't support Office Add-ins.
33
38
34
39
## Client requirements: Windows desktop and tablet
| Now | Legacy tokens turned off for most tenants. Admins can reenable legacy tokens via PowerShell. |
27
-
|Jun 2025 | Legacy tokens turned off for all tenants. Admins can no longer reenable legacy tokens via PowerShell. Admins can request an exception through Microsoft Support at [https://aka.ms/LegacyTokensByOctober](https://aka.ms/LegacyTokensByOctober) (this link requires you to sign in to your tenant). |
27
+
|June 16 2025 - July 2025 | Legacy tokens are turned off for all tenants. This process will take several weeks to complete. Admins can no longer reenable legacy tokens via PowerShell. Admins can request an exception through Microsoft Support at [https://aka.ms/LegacyTokensByOctober](https://aka.ms/LegacyTokensByOctober) (this link requires you to sign in to your tenant). |
28
28
| Oct 2025 | Legacy tokens turned off for all tenants. Exceptions are no longer allowed. |
29
29
30
30
### When is NAA generally available for my channel?
@@ -419,6 +419,15 @@ Be sure to handle admin consent properly. See [Publish an add-in that requires a
419
419
420
420
For additional deployment details, see [Make your solutions available in Microsoft AppSource and within Office](/partner-center/marketplace-offers/submit-to-appsource-via-partner-center). If you update your add-in (change the manifest) you need to go through the [certification process again](../publish/publish-nested-app-auth-add-in.md). You can update your web server code any time without a need for review.
421
421
422
+
### Users get an unexplained error when signing in
423
+
424
+
When your add-in requests a token, users may see a sign-in popup dialog showing one of the following errors.
425
+
426
+
-**Something went wrong.**[*error code*]
427
+
-**You can't get there from here**
428
+
429
+
Check to see if the admin has any conditional access policies applied that enforce specific client restrictions, such as mobile location, or platform type. Also the **approved client app Conditional Access grant** is deprecated and will cause these errors with NAA token requests. An admin must completely remove this policy and switch over to the newer **application protection policy grant** for NAA to work. For more information, see [Migrate approved client app to application protection policy in Conditional Access](/entra/identity/conditional-access/migrate-approved-client-app).
430
+
422
431
## Related content
423
432
424
433
-[Enable SSO in an Office Add-in using nested app authentication](../develop/enable-nested-app-authentication-in-your-add-in.md).
Copy file name to clipboardExpand all lines: docs/publish/publish-office-add-ins-to-appsource.md
+75-21Lines changed: 75 additions & 21 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: 02/24/2025
5
+
ms.date: 06/06/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
@@ -128,6 +128,15 @@ We recommend that your installation check whether the user has the Office applic
128
128
129
129
The exact code needed depends on the installation framework and the programming language that you are using. The following is an example of how to check using C#.
130
130
131
+
> [!NOTE]
132
+
> The installation can be designed to install the add-in for all users of the computer, if an administrator of the computer is running the installation program. To implement that design, update the code to do the following.
133
+
>
134
+
> - Check if the user is an administrator of the computer.
135
+
> - If the user is an administrator, the code should do one of the following.
136
+
>
137
+
> - If you want to force the add-in to be installed for all users, the code should set the `supportLocalComputer` variable to `true`.
138
+
> - If you want to give the administrator a choice between installing the add-in only for themself or for all users on the computer, the code should present a dialog to the administrator, return the administrator's choice, and set the `supportLocalComputer` variable accordingly.
stringwxpName="Word"; // Can be one of "Word", "Powerpoint", or "Excel".
158
+
boolsupportLocalComputer=false; // True means LOCAL_MACHINE support, false means CURRENT_USER support.
149
159
150
160
151
161
conststringbuildNumberStr="BuildNumber";
152
162
constintsmallBuildNumber=18227; // This is the minimum build that supports installation of a web add-in in the installation of a Windows app.
163
+
if (supportLocalComputer)
164
+
{
165
+
smallBuildNumber=18730; // This is the minimum build that supports installation of a web add-in, for all users of the computer, in the installation of a Windows app.
166
+
}
153
167
constintsupportedBuildMajorNumber=16; // 16 is the lowest major build of Office applications that supports web add-ins.
154
168
155
169
if (baseKey!=null)
@@ -295,11 +309,16 @@ namespace SampleProject
295
309
296
310
##### Create a registry key for the add-in (required)
297
311
298
-
Include in the installation program a function to add an entry like the following example to the Windows Registry.
312
+
Include in the installation program a function to add *one* of the following keys and values to the Windows Registry, depending on whether the add-in is being installed for all users of the computer or only for the user that is running the installation program.
The exact code will depend on your installation framework and programming language. The following is an example in C#.
346
+
The exact code depends on your installation framework and programming language. The following is an example in C#.
323
347
324
-
```csharp
348
+
> [!NOTE]
349
+
> To install the add-in for all users, change this code so that `WriteRegisterKeys` takes a `bool` parameter. The method should set the `supportLocalMachine` variable to the value that is passed: `true` to install for all users, `false` to install for only the current user.
350
+
351
+
```csharp
325
352
usingMicrosoft.Win32;
326
353
usingSystem;
327
354
328
355
namespaceSampleProject
329
356
{
330
-
internalclassWriteRegisterKeysSample
331
-
{
357
+
internalclassWriteRegisterKeysSample
358
+
{
332
359
/// <summary>
333
360
/// This function writes information to the registry that will tell Office applications to install the web add-in.
using (RegistryKeyaddInKey=targetRootKey.CreateSubKey(subKeyPath))
365
401
{
366
-
AddInNameKey.SetValue(assetIdStr, assetID);
402
+
if (addInKey!=null)
403
+
{
404
+
addInKey.SetValue(assetIdStr, assetID);
405
+
}
406
+
else
407
+
{
408
+
Console.WriteLine("Failed to create or open the registry subkey.");
409
+
}
367
410
}
368
411
}
369
412
}
413
+
370
414
}
371
415
}
372
416
```
@@ -375,18 +419,28 @@ namespace SampleProject
375
419
376
420
Skip this section if you aren't a member of the certification program, but *it is required if you are*.
377
421
378
-
Include in the installation program code to add an entry like the following example to the Windows Registry.
422
+
Include in the installation program code to add *one* of the following keys and values to the Windows Registry, depending on whether the add-in is being installed for all users of the computer or only for the user that is running the installation program.
Copy file name to clipboardExpand all lines: docs/publish/publish.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,6 @@ The following table summarizes publication methods that are available *only when
56
56
57
57
|Method|Use|Support limitations|
58
58
|:---------|:------------|:------------|
59
-
|[Sideloading](../testing/test-debug-office-add-ins.md#sideload-an-office-add-in-for-testing)|As part of your development process, to test your add-in running on Windows, iPad, Mac, or in a browser.| Not supported for production add-ins. |
60
59
|[Network share](../testing/create-a-network-shared-folder-catalog-for-task-pane-and-content-add-ins.md)|As part of your development process, to test your add-in running on Windows computers other than your development computer after you have published the add-in to a server other than localhost.|<ul><li>Not supported for production add-ins.</li><li>Not supported for Outlook add-ins.</li><li>Not supported for testing on iPad, Mac, or the web.</li></ul>|
61
60
|[SharePoint catalog](#sharepoint-app-catalog-deployment)|In an on-premises environment, to distribute your add-in to users in your organization.|<ul><li>Not supported for Outlook add-ins.</li><li>Not supported for Office on Mac.</li><li>Not supported for add-ins with any feature that requires a **\<VersionOverrides\>** element in the add-in only manifest.</li></ul>|
62
61
|[Exchange server](#outlook-add-in-exchange-server-deployment)|In an on-premises or online environment, to distribute Outlook add-ins to users.|Only supported for Outlook add-ins.|
0 commit comments