Skip to content

Commit 7741949

Browse files
update doc timestamp in frontmatter & fix abs link
1 parent 292acd8 commit 7741949

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/solution-guidance/security-apponly.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Accessing SharePoint using an application context, also known as app-only
33
description: Accessing SharePoint using an application context, also known as app-only
4-
ms.date: 04/22/2020
4+
ms.date: 03/03/2022
55
ms.prod: sharepoint
66
author: vesajuvonen
77
ms.author: vesaj
@@ -12,10 +12,12 @@ ms.localizationpriority: medium
1212
# Accessing SharePoint using an application context, also known as app-only
1313

1414
There are two approaches for doing app-only for SharePoint:
15+
1516
- Using an **Azure AD application**: this is the preferred method when using SharePoint Online because you can also grant permissions to other Office 365 services (if needed) + you’ve a user interface (Azure portal) to maintain your app principals.
1617
- Using a **SharePoint App-Only principal**: this method is older and only works for SharePoint access, but is still relevant. This method is also the recommended model when you’re still working in SharePoint on-premises since this model works in both SharePoint on-premises as SharePoint Online.
1718

1819
Both methods are detailed in following articles:
20+
1921
- [Granting access via Azure AD App-Only](security-apponly-azuread.md)
2022
- [Granting access using SharePoint App-Only](security-apponly-azureacs.md)
2123

@@ -25,7 +27,7 @@ App-Only does not work in following cases:
2527

2628
- Updating taxonomy service entries (write) - read works
2729
- Creating modern team sites does not support app-only when you [use the SharePoint API](https://github.com/SharePoint/PnP-Sites-Core/blob/master/Core/OfficeDevPnP.Core/Sites/SiteCollection.cs) for it. When modern team sites are created [using Microsoft Graph](https://github.com/SharePoint/PnP-Sites-Core/blob/master/Core/OfficeDevPnP.Core/Framework/Graph/UnifiedGroupsUtility.cs) to create the group then app-only is a supported scenario
28-
- Creating communication sites is supported in app-only context, but owner property is required. [using the SharePoint API](https://docs.microsoft.com/sharepoint/dev/apis/site-creation-rest)
30+
- Creating communication sites is supported in app-only context, but owner property is required. [using the SharePoint API](/sharepoint/dev/apis/site-creation-rest)
2931
- Search when using SharePoint On-Premises. SharePoint Online support for it has been added ([blog post](https://blogs.msdn.microsoft.com/vesku/2016/03/07/using-add-in-only-app-only-permissions-with-search-queries-in-sharepoint-online/))
3032
- User Profile CSOM write operations do not work with **Azure AD application** - read operations work. Both read and write operations work through **SharePoint App-Only principal**
3133
- User Profile Bulk Update API can be used with app-only permissions

0 commit comments

Comments
 (0)