Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync-PnPSharePointUserProfilesFromAzureActiveDirectory cannot handle backslash #1692

Closed
1 of 6 tasks
EA12 opened this issue Mar 14, 2022 · 3 comments · Fixed by #1711
Closed
1 of 6 tasks

Sync-PnPSharePointUserProfilesFromAzureActiveDirectory cannot handle backslash #1692

EA12 opened this issue Mar 14, 2022 · 3 comments · Fixed by #1711
Assignees
Labels
bug Something isn't working

Comments

@EA12
Copy link

EA12 commented Mar 14, 2022

Reporting an Issue

Bad JSON escape sequence \w

Expected behavior

User Profiles with a backslash in field values should be synced.

Actual behavior

The CmdLet is reporting an issue: Bad JSON escape sequence \w

Steps to reproduce behavior

Prepare a user profile, having e.g. a value of "Bauleiter Baulogistik (m\w\d)" in field Title.
Execute the CmdLet
The JSON-File will be exported to the given library and the Job will start.
The job will fail and the error file has the mentioned error.

What is the version of the Cmdlet module you are running?

1.9.59
Runtime-Version: 5.1

image

Which operating system/environment are you running PnP PowerShell on?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@EA12 EA12 added the bug Something isn't working label Mar 14, 2022
@KoenZomers KoenZomers self-assigned this Mar 22, 2022
@KoenZomers KoenZomers added the in review PR or issue is currently being reviewed label Mar 22, 2022
@KoenZomers
Copy link
Collaborator

Managed to reproduce the issue and fix it. Running a test build now.

@KoenZomers
Copy link
Collaborator

Merged. Should be resolved in the next nightly build in a couple of hours. Thanks for reporting @EA12

@KoenZomers KoenZomers removed the in review PR or issue is currently being reviewed label Mar 22, 2022
@EA12
Copy link
Author

EA12 commented Mar 23, 2022

Wonderful. Thanks for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants