Skip to content

Commit 22733fd

Browse files
[NAA] Update on how to check for online or on-premises accounts (#5302)
* Updated info on checking online or on-prem account * Apply suggestions from code review Co-authored-by: Alex Jerabek <[email protected]> --------- Co-authored-by: Alex Jerabek <[email protected]>
1 parent c3791eb commit 22733fd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/outlook/faq-nested-app-auth-outlook-legacy-tokens.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Nested app authentication and Outlook legacy tokens deprecation FAQ
44
ms.service: microsoft-365
55
ms.subservice: add-ins
66
ms.topic: faq
7-
ms.date: 07/11/2025
7+
ms.date: 07/28/2025
88
---
99

1010
# Nested app authentication and Outlook legacy tokens deprecation FAQ
@@ -407,6 +407,16 @@ You can determine if the signed-in user has an Exchange Online account or on-pre
407407
> [!NOTE]
408408
> Support for Outlook 2016 and Outlook 2019 ends October 2025. For more information, see [End of support for Office 2016 and Office 2019](https://support.microsoft.com/office/818c68bc-d5e5-47e5-b52f-ddf636cf8e16).
409409
410+
The **accountType** property requires mailbox requirement set 1.6. On older Outlook clients you’ll need to use the Autodiscover service as follows.
411+
412+
Call the Autodiscover endpoint for the outlook.office365.com domain. `https://outlook.office365.com/autodiscover/autodiscover.json/v1.0/{email}?Protocol=EWS&ServerLocation=true`
413+
414+
- For **online** accounts, the service will return a result with the `ServerLocation` key set to Exchange Online.
415+
- For **on-premise** accounts, the service will not return a `ServerLocation` key.
416+
417+
> [!NOTE]
418+
> For customers that use vanity URLs, you need to specifically configure your add-in to call the Autodiscover service on the vanity URL endpoint.
419+
410420
### How do I deploy my add-in to Microsoft AppSource
411421

412422
If you're publishing a new add-in to Microsoft AppSource, it will need to go through a certification process. For more information, see [Publish your Office Add-in to Microsoft AppSource](../publish/publish-office-add-ins-to-appsource.md). If you're updating the manifest of an add-in that is already published to Microsoft AppSource, you need to go through the certification process again. You can update the add-in's source code on your web server any time without a need to go through the certification process.

0 commit comments

Comments
 (0)