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/Bulk-user-profile-update-api-for-sharepoint-online.md
+6-30Lines changed: 6 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,8 @@ The following are restrictions on individual source data files:
113
113
114
114
- Maximum file size: 2 GB
115
115
- Maximum number of properties: 500,000
116
-
- The source file must be uploaded to the same SharePoint Online tenant where the process is started.
116
+
- Backslashes (\) in property values need escaping by prepending with another backslash
117
+
- The source file must be uploaded to the same SharePoint Online tenant where the process is started
117
118
118
119
> [!NOTE]
119
120
> The update file must have the Byte Order Mark (BOM) specified if any characters are not part of the Western European encoding (iso-8859-1) which is the default. International characters may not be interpreted correctly with the default encoding, so it is recommended to use the UTF-8 encoding. This encoding has a BOM of 'EF BB BF' in hex. This would be placed at the beginning of the byte array of the file when creating the file stream. If using a text editor, select the endoding type as UTF-8 before saving.
@@ -357,38 +358,13 @@ $context.ExecuteQuery();
357
358
Write-Host "Import job created with the following identifier:" $workItemId.Value
358
359
```
359
360
360
-
### Sample PowerShell script using PnP PowerShell
361
+
### Updating the SharePoint Online User Profile using PnP PowerShell
361
362
362
-
To initiate a bulk import using [PnP PowerShell](https://aka.ms/pnp-powershell), you can use:
363
+
To synchronize user profile properties from Azure Active Directory to SharePoint Online user profiles, you can leverage the [PnP PowerShell](https://pnp.github.io/powershell) cmdlet [Sync-PnPSharePointUserProfilesFromAzureActiveDirectory](https://pnp.github.io/powershell/cmdlets/Sync-PnPSharePointUserProfilesFromAzureActiveDirectory.html).
For more information, see [New-PnPUPABulkImportJob](/powershell/module/sharepoint-pnp/new-pnpupabulkimportjob)
384
-
385
-
To check on the processing status of a bulk import job, you can use:
386
-
387
-
```powershell
388
-
Get-PnPUPABulkImportStatus
389
-
```
365
+
Alternatively, if you want to synchronize user profile properties from another source, you can use [New-PnPUPABulkImportJob](https://pnp.github.io/powershell/cmdlets/New-PnPUPABulkImportJob.html).
390
366
391
-
For more information, see [Get-PnPUPABulkImportStatus](/powershell/module/sharepoint-pnp/get-pnpupabulkimportstatus)
367
+
To check on the processing status of a bulk import job, you can use [Get-PnPUPABulkImportStatus](https://pnp.github.io/powershell/cmdlets/Get-PnPUPABulkImportStatus.html).
0 commit comments