Skip to content

Commit fc98e14

Browse files
authored
Merge pull request #964 from juandresrodca:fix/878-reindex-user-profile-utf8
Fix: preserve non-ASCII characters in spo-request-pnp-reindex-user-profile (#878)
2 parents 5adefc9 + 780b469 commit fc98e14

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎scripts/spo-request-pnp-reindex-user-profile/README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Request-PnPReindexUserProfile -url https://contoso.sharepoint.com/sites/IT -Docu
130130
131131
$filename = "upa-batch-trigger";
132132
133-
Set-Content -Path "$tempPath\$filename.txt" -value $json
133+
Set-Content -Path "$tempPath\$filename.txt" -value $json -Encoding UTF8
134134
135135
Write-Output "Kicking off import job - Please be patient and allow for 4-24h before profiles are updates in search.`n`nDo NOT re-run because you are impatient!"
136136
@@ -183,6 +183,7 @@ Sample first appeared on [https://github.com/wobba/SPO-Trigger-Reindex](https://
183183
| Valeras Narbutas |
184184
| Mikael Svenson |
185185
| [Todd Klindt](https://www.toddklindt.com)|
186+
| Juan Andres Rodriguez |
186187

187188

188189
[!INCLUDE [DISCLAIMER](../../docfx/includes/DISCLAIMER.md)]

‎scripts/spo-request-pnp-reindex-user-profile/assets/sample.json‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
""
1010
],
1111
"creationDateTime": "2022-07-28",
12-
"updateDateTime": "2024-01-09",
12+
"updateDateTime": "2026-06-24",
1313
"products": [
1414
"SharePoint"
1515
],
@@ -39,6 +39,12 @@
3939
}
4040
],
4141
"authors": [
42+
{
43+
"gitHubAccount": "juandresrodca",
44+
"company": "",
45+
"pictureUrl": "https://github.com/juandresrodca.png",
46+
"name": "Juan Andres Rodriguez"
47+
},
4248
{
4349
"gitHubAccount": "ValerasNarbutas",
4450
"company": "",

0 commit comments

Comments
 (0)