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/solution-guidance/development-experience-tenant-apponly-permissions-in-sharepoint-online.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Developing using Tenant permissions with App-Only in SharePoint Online
3
3
description: The developer experience has changed for SharePoint Provider-hosted Add-ins that require Tenant permission in combination with app-only. This article walks you through the new experience for developing and debugging these solutions.
4
-
ms.date: 12/22/2020
4
+
ms.date: 06/14/2021
5
5
localization_priority: Priority
6
6
---
7
7
# Developing using Tenant permissions with App-Only in SharePoint Online
@@ -22,15 +22,15 @@ The reason why you can't click **trust it** is because Visual Studio is working
22
22
23
23
### Step 1: Create a new service principal
24
24
25
-
Navigate to a site collection in your tenant and generate a new client ID and Secret. (for example, https://contoso.sharepoint.com/_layouts/15/appregnew.aspx). In this page click **Generate** for both the **Client ID**, **Client Secret** Fields and supply the remaining fields. While you're developing the add-in, ensure you use localhost including the port as the App Domain. You should have something similar as below.
25
+
Navigate to a site collection in your tenant and generate a new client ID and Secret. (for example, `https://contoso.sharepoint.com/_layouts/15/appregnew.aspx`). In this page click **Generate** for both the **Client ID**, **Client Secret** Fields and supply the remaining fields. While you're developing the add-in, ensure you use `localhost` including the port as the App Domain. You should have something similar as below.
26
26
27
27

28
28
29
29
### Step 2: Grant Tenant Permissions
30
30
31
31
To do this step, you must be a SharePoint Online Administrator.
32
32
33
-
Navigate to the SharePoint Admin Center (for example, https://contoso-admin.sharepoint.com/_layouts/15/appinv.aspx) and grant the tenant permissions
33
+
Navigate to the SharePoint Admin Center (for example, `https://contoso-admin.sharepoint.com/_layouts/15/appinv.aspx`) and grant the tenant permissions
34
34
35
35

36
36
@@ -50,7 +50,7 @@ Supply the **Client ID** and **Client Secret** created in Step 1.
50
50
51
51

52
52
53
-
Since you want to debug the add-in, ensure that you supply https://localhost including the port as shown below.
53
+
Since you want to debug the add-in, ensure that you supply `https://localhost` including the port as shown below.
54
54
55
55

0 commit comments