Skip to content

Commit 06355e4

Browse files
waldekmastykarzVesaJuvonen
authored andcommitted
Added article on retrieving the tenant app catalog URL using REST (SharePoint#2415)
1 parent 993d0bb commit 06355e4

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Retrieve the URL of the tenant app catalog
3+
description: Use the SharePoint REST API to retrieve the URL of the tenant app catalog
4+
ms.date: 8/24/2018
5+
ms.prod: sharepoint
6+
---
7+
8+
# Retrieve the URL of the tenant app catalog
9+
10+
To get the URL of the tenant app catalog, execute the following web request:
11+
12+
```text
13+
GET https://contoso.sharepoint.com/_api/SP_TenantSettings_Current
14+
accept: application/json;odata=nometadata
15+
```
16+
17+
> [!NOTE]
18+
> The web request to retrieve the URL of the tenant app catalog, can be executed on any SharePoint site.
19+
20+
If the request succeeds, you will get the following response from SharePoint:
21+
22+
```json
23+
{
24+
"CorporateCatalogUrl": "https://contoso.sharepoint.com/sites/apps"
25+
}
26+
```
27+
28+
The **CorporateCatalogUrl** property will contain the URL of the tenant app catalog in your SharePoint tenant.
29+
30+
> [!IMPORTANT]
31+
> If you have just created the tenant app catalog, the value of the **CorporateCatalogUrl** property might be `null`. It takes a moment for the tenant app catalog to be registered in the tenant, so you need to wait a few minutes after creating the tenant app catalog before using this API.

docs/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@
286286
href: sp-add-ins/working-with-lists-and-list-items-with-rest.md
287287
- name: Work with folders and files
288288
href: sp-add-ins/working-with-folders-and-files-with-rest.md
289+
- name: Retrieve the URL of the tenant app catalog
290+
href: sp-add-ins/retrieve-tenant-app-catalog-url-rest.md
289291
- name: Determine endpoint URIs
290292
href: sp-add-ins/determine-sharepoint-rest-service-endpoint-uris.md
291293
- name: Use OData query operations

0 commit comments

Comments
 (0)