Skip to content

Commit 5c45fb1

Browse files
authored
Merge branch 'SharePoint:main' into main
2 parents 4576f45 + 512ac25 commit 5c45fb1

File tree

237 files changed

+3982
-4092
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

237 files changed

+3982
-4092
lines changed

.github/CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ remove: Total 10 (delta 1), reused 10 (delta 1)
108108
Unpacking objects: 100% (10/10), done.
109109
```
110110

111-
## Switch to `master` branch
111+
## Switch to `main` branch
112112

113-
In order to add your changes, you will need to do those in the `master` branch.
113+
In order to add your changes, you will need to do those in the `main` branch.
114114

115-
Type the following command in the console to switch to `master` branch:
115+
Type the following command in the console to switch to `main` branch:
116116

117117
```
118-
git checkout master
118+
git checkout main
119119
```
120120

121121
Now, you can update existing docs or add new docs to the docs repo.
@@ -131,15 +131,15 @@ Depending on the doc's intent, you can choose to add your doc into `basics` or
131131

132132
## Submit a pull request
133133

134-
Once you have completed adding your changes, you can submit a pull request.
134+
Once you have completed adding your changes, you can submit a pull request.
135135

136-
Navigate to the forked sp-dev-docs repo in your account. Make sure your current branch is `master` branch.
136+
Navigate to the forked sp-dev-docs repo in your account. Make sure your current branch is `main` branch.
137137

138-
Once you are in the `master` branch, you should see a message stating `This branch is 1 commit ahead of SharePoint:master` and next to it will be a `Pull request` link.
138+
Once you are in the `main` branch, you should see a message stating `This branch is 1 commit ahead of Sharepoint:main` and next to it will be a `Pull request` link.
139139

140140
![Submit a pull request to sp-dev-docs repo](../images/contribute-docs-submit-pr.png)
141141

142-
Click the `Pull request` link to start a new pull request. Make sure you use this [template](PULL_REQUEST_TEMPLATE.md) to fill in your changes. Make sure you are creating this pull request against the `master` branch.
142+
Click the `Pull request` link to start a new pull request. Make sure you use this [template](PULL_REQUEST_TEMPLATE.md) to fill in your changes. Make sure you are creating this pull request against the `main` branch.
143143

144144
Once you have all the information, click the `Create pull request` button to submit your pull request.
145145

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The SharePoint Framework (SPFx) is a page and part model that enables client-sid
44

55
* [Official SharePoint Framework Documentation](https://aka.ms/spfx)
66

7-
This repository contains the raw documents published to docs.microsoft.com site.
7+
This repository contains the raw documents published to Microsoft Docs.
88

99
## Questions & Help
1010

@@ -14,20 +14,20 @@ You can also tweet / follow [@Microsoft365Dev](https://twitter.com/Microsoft365D
1414

1515
## SharePoint Framework Releases
1616

17-
Review all the SPFx releases here from the initial GA release in February 2017 in the docs: https://docs.microsoft.com/sharepoint/dev/spfx/roadmap
17+
Review all the SPFx releases here from the [initial GA release in February 2017](https://learn.microsoft.com/sharepoint/dev/spfx/roadmap)
1818

1919
## Get Started
2020

21-
* [Setup your Office 365 Developer Tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant)
22-
* [Setup your Machine](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
23-
* [Go build your first web part](https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part)
21+
* [Setup your Office 365 Developer Tenant](https://learn.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant)
22+
* [Setup your Machine](https://learn.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment)
23+
* [Go build your first web part](https://learn.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part)
2424

2525

2626
## Learn More
2727

28-
* [Background and Philosophy](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
29-
* [Design Great Web Parts](https://docs.microsoft.com/sharepoint/dev/design/design-guidance-overview)
30-
* [API Docs](/javascript/api/sp-application-base)
28+
* [Background and Philosophy](https://learn.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview)
29+
* [Design Great Web Parts](https://learn.microsoft.com/sharepoint/dev/design/design-guidance-overview)
30+
* [API Docs](https://learn.microsoft.com/javascript/api/sp-application-base)
3131

3232
## Updates & Feedback
3333

@@ -49,7 +49,7 @@ Please see following guidance if you are planning to submit changes on the Share
4949

5050
* [Contribution guidance](https://github.com/SharePoint/sp-dev-docs/blob/master/.github/CONTRIBUTING.md)
5151
* [How to Create Good Pull Requests](https://github.com/SharePoint/sp-dev-docs/wiki/How-to-Create-Good-Pull-Requests)
52-
* If you are a Microsoft contributor, please review official guidance from our [internal documentation](https://review.docs.microsoft.com/help/contribute/?branch=master) for docs.microsoft.com contributors
52+
* If you are a Microsoft contributor, please review official guidance from our [internal documentation](https://review.learn.microsoft.com/help/contribute/?branch=main) for Microsoft Docs contributors
5353

5454
## Have Fun
5555

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14+
15+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The ___location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

docs/apis/migration-api-azure-container-and-queue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: SPO provided Migration Azure container and queue
33
description: "One of the Main requirement for using our Migration API is the usage of an Azure container as a temporary storage. We now provide a default container that can be used for using the migration API."
4-
ms.date: 06/28/2022
4+
ms.date: 07/08/2022
55
ms.author: jhendr
66
author: JoanneHendrickson
77
manager: pamgreen
@@ -10,7 +10,7 @@ ms.localizationpriority: medium
1010
---
1111
# SPO provided Migration Azure container and queue
1212

13-
Microsoft’s Migration API requires the use of an Azure container for temporary storage. To simplify the process, you are now provided with a default container while using the migration API. If you choose, you can still provide your own Azure container.
13+
Microsoft’s Migration API requires the use of an Azure container for temporary storage. To simplify the process, you are now provided with a default container while using the migration API. To use the provided container you will need to [decorate your traffic correctly](/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#how-to-decorate-your-http-traffic) to avoid throttling. If you choose, you can still provide your own Azure container.
1414

1515
## Encryption is required
1616

docs/apis/migration-api-overview.md

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "SharePoint Online Import Migration API"
33
description: "This article provides in depth information on how to use the SPO Migration API."
4-
ms.date: 06/28/2022
4+
ms.date: 12/05/2022
55
ms.author: jhendr
66
author: JoanneHendrickson
77
manager: serdars
@@ -17,7 +17,7 @@ The following API description is based upon use of the SharePoint Client Side Ob
1717

1818
You can find latest version of the SharePoint Online Client Side Object Model (CSOM) package from the [NuGet gallery](https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM/). Use the ID `Microsoft.SharePointOnline.CSOM`.
1919

20-
> [!Important]
20+
> [!IMPORTANT]
2121
> Files larger than 15 GB must now create the required checksum using [QuickXorHash](/onedrive/developer/code-snippets/quickxorhash). We have provided an example [here](#what-is-stored-in-those-azure-blob-containers).
2222
>
2323
> The QuickXorHash/Checksum has to be computed for the original file **before** encryption (if the file is being encrypted). This is different from the MD5hash requirement.
@@ -57,7 +57,8 @@ The required permissions are as follows in the Azure Storage API:
5757
(SharedAccessBlobPermissions.Read | SharedAccessBlobPermissions.List)
5858
```
5959

60-
**Note:** The change to enforce Read and List permissions on the SAS token is coming in a future build. Until then it will not be enforced. However, it is a best practice to use these values.
60+
> [!NOTE]
61+
> The change to enforce Read and List permissions on the SAS token is coming in a future build. Until then it will not be enforced. However, it is a best practice to use these values.
6162
6263
All files in the container must have at least a single snapshot applied to them to ensure that no file modification is made by the customer during the import. Any file that does not have a snapshot will be skipped during import and have an error thrown, although the job will attempt to continue the import. The import pipeline will use the latest snapshot of the file available at the time of import. The following is an example of the code that might be used to create a snapshot on a file after it is uploaded to Azure Blob Storage:
6364

@@ -286,7 +287,7 @@ SPMigrationJobState is an enumeration that tracks possible major states in the i
286287

287288
## Import Package Structure
288289

289-
Package structure is based on a constrained version of the Content Deployment package schema. Documentation for the original full schema can be found at [docs.microsoft.com](../schema/content-migration-schemas.md). Until published on docs.microsoft.com, the constrained structure can be found in this document in the appendix.
290+
Package structure is based on a constrained version of the Content Deployment package schema. Documentation for the original full schema can be found in [Content migration schemas](../schema/content-migration-schemas.md). Until published on Microsoft Docs, the constrained structure can be found in this document in the appendix.
290291

291292
| XML file | Schema File | Description |
292293
| ------------------ | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
@@ -311,6 +312,38 @@ The **ExportSettings.XML** file is expected to be at the root of the Azure Blob
311312

312313
The main requirement is that the ExportSettings `SiteUrl` value must be populated with a URL consistent with the source URL used for the rest of the import package. In the case of file shares as a source, the URL would be pre-specified to be the source URL in the rest of the package, whereas a package generated through an export operation at a source site would be its original source site collection URL.
313314

315+
#### SourceType required
316+
317+
Beginning January 1, 2023, the SourceType field will be mandatory when calling the Migration API. Starting October 1st, 2022, a warning message will be sent if the field is missing.
318+
319+
Accepted SourceType values:
320+
321+
- AmazonS3
322+
- AzureStorage
323+
- Box
324+
- Dropbox
325+
- Egnyte
326+
- FileShare
327+
- GoogleCloudStorage
328+
- GoogleDrive
329+
- MicrosoftStream
330+
- OneDrive
331+
- SharePointOnline
332+
- SharePointOnPremServer
333+
- Other
334+
335+
When declaring to **Other**, include *DetailedSource* to provide us the detailed information.
336+
337+
**Example**:
338+
339+
```powershell
340+
<ExportSettings xmlns="urn:deployment-exportsettings-schema" SiteUrl="https://some site url" FileLocation="some paths" IncludeSecurity="All" SourceType="Other" DetailedSource="My special source type not in the list">
341+
<ExportObjects>
342+
<DeploymentObject Id="GUID for list" Type="List" ParentId="GUID for web" />
343+
</ExportObjects>
344+
</ExportSettings>
345+
```
346+
314347
### LookupListMap.XML
315348

316349
The **LookupListMap.XML** file, if included, is expected to be at the root of the Azure Blob Store Container defined by the CreateMigrationJob’s azureContainerManifestUri parameter. This optional file is validated using the constrained **DeploymentLookupListMap.XSD**, which has no change from current published [full 2013 package schema](../schema/content-migration-schemas.md).

docs/apis/migration-api-whats-new.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Migration API What's new"
33
description: "Learn about the new features and updates to the Migration API."
4-
ms.date: 06/28/2022
4+
ms.date: 11/20/2022
55
ms.reviewer: jhendr
66
author: JoanneHendrickson
77
ms.author: jhendr
@@ -16,6 +16,12 @@ ms.custom: admindeeplinkSPO
1616

1717
Check here to see what features or updates have been added to the Migration API. Here's a summary of what's included.
1818

19-
## Fixes
19+
## New requirement
2020

21-
- **Changes to how Import API handles users**. As a response to issues arising from broken OneDrive scenarios when importing duplicate users, the API now blocks and detect duplicate user entries in UserGroup.xml. For details see: [Entering user identifiers in UserGroup.xml](/sharepoint/dev/apis/migration-api-overview#entering-user-identifiers-in-usergroup.xml).
21+
Beginning January 1, 2023, the SourceType field will be mandatory when calling the Migration API. Starting October 1st, 2022, a warning message will be sent if the field is missing.
22+
23+
To learn more, including examples, see: **[SharePoint Import Migration API - ExportSettings.xml](/sharepoint/dev/apis/migration-api-overview#exportsettingsxml)**
24+
25+
## Fixes
26+
27+
- **Changes to how Import API handles users**. As a response to issues arising from broken OneDrive scenarios when importing duplicate users, the API now blocks and detect duplicate user entries in UserGroup.xml. For details see: [Entering user identifiers in UserGroup.xml](/sharepoint/dev/apis/migration-api-overview#entering-user-identifiers-in-usergroup.xml).

docs/apis/site-creation-rest.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create Modern SharePoint Sites using REST
33
description: Create and get the status of a new modern SharePoint site by using the REST interface.
4-
ms.date: 04/06/2022
4+
ms.date: 12/07/2022
55
ms.localizationpriority: high
66
---
77

@@ -44,6 +44,7 @@ body:
4444
"Lcid": 1033,
4545
"ShareByEmailEnabled":false,
4646
"Classification":"Low Business Impact",
47+
"SensitivityLabel": "<Your sensitivity label ID>",
4748
"Description":"Description",
4849
"WebTemplate":"SITEPAGEPUBLISHING#0",
4950
"SiteDesignId":"6142d2a0-63a5-4ba0-aede-d9fefca2c767",
@@ -56,6 +57,8 @@ body:
5657
> [!IMPORTANT]
5758
> If you use an app-only context to create the site collection the **Owner property is required**. In other cases this is an optional property and if not present will default to the user calling the REST endpoint.
5859
60+
> [!NOTE]
61+
> The "Classification" parameter only sets the value visible on the site, but doesn't apply the label on the site. Use the new parameter "SensitivityLabel" to actually apply the label on your site collection.
5962
6063
The site design id can be retrieved by using the [Get-SPOSiteDesign](/powershell/module/sharepoint-online/get-spositedesign) (Microsoft SharePoint Online Management Shell) or [Get-PnPSiteDesign](/sharepoint/dev/declarative-customization/site-design-pnppowershell) (PnP PowerShell) cmdlets. If you want to apply an out-of-the-box available site design, use the following values:
6164

docs/apis/syntex/rest-applymodel-method.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
---
22
title: Batch apply model
3+
description: Use REST API to apply a document understanding model to one or more libraries.
4+
ms.date: 09/23/2022
35
ms.author: chucked
46
author: chuckedmonson
57
manager: pamgreen
68
ms.reviewer: ssquires
79
audience: admin
810
ms.topic: reference
9-
ms.prod: microsoft-365-enterprise
10-
search.appverid:
1111
ms.collection: m365initiative-syntex
1212
ms.localizationpriority: high
13-
description: Use REST API to apply a document understanding model to one or more libraries.
1413
---
15-
1614
# Batch Apply model
1715

1816
Applies (or syncs) a trained document understanding model to one or more libraries (see [example](rest-applymodel-method.md#examples)).
@@ -72,7 +70,7 @@ None
7270
|--------|-------|------------|
7371
|StatusCode|int|The HTTP status code.|
7472
|ErrorMessage|string|The error message which tells what's wrong when apply the model to the document library.|
75-
|Publication|MachineLearningPublicationEntityData|It specifies the model info and the target document library.|
73+
|Publication|MachineLearningPublicationEntityData|It specifies the model info and the target document library.|
7674

7775
### MachineLearningPublicationEntityData
7876

0 commit comments

Comments
 (0)