Skip to content

Commit fb327e7

Browse files
update metadata timestamp, change links that shouldn't be links to code formatting
1 parent 97bc173 commit fb327e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/solution-guidance/development-experience-tenant-apponly-permissions-in-sharepoint-online.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Developing using Tenant permissions with App-Only in SharePoint Online
33
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
55
localization_priority: Priority
66
---
77
# 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
2222

2323
### Step 1: Create a new service principal
2424

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.
2626

2727
![Create a new service principal in on the AppRegNew page](media/development-experience-tenant-apponly-permissions-in-spo-02.png)
2828

2929
### Step 2: Grant Tenant Permissions
3030

3131
To do this step, you must be a SharePoint Online Administrator.
3232

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
3434

3535
![Specify the app's permissions with XML](media/development-experience-tenant-apponly-permissions-in-spo-03.png)
3636

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

5151
![Set the client ID and secret in the add-in's identity dialog in Visual Studio](media/development-experience-tenant-apponly-permissions-in-spo-06.png)
5252

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.
5454

5555
![Set the ___location to https://localhost for debugging](media/development-experience-tenant-apponly-permissions-in-spo-07.png)
5656

0 commit comments

Comments
 (0)