Get a SharePoint site by id, or by address as `<hostname>:/<server-relative path>` (e.g. `contoso.sharepoint.com:/sites/Marketing`); `root` is the tenant's root site. A direct lookup, so it finds sites the search index does not have yet. Requires Sites.Read.All (covered by the default Sites.ReadWrite.All).
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |