Forum Discussion
PaulL
Oct 20, 2022Brass Contributor
Error saving event when participant has an apostrophe in login name
In modern SharePoint Events web part, if you attempt to create an event, and add a participant user that has an apostrophe in their username, an error occurs:- "Can't save this event. Refresh thi...
PaulL
Nov 25, 2022Brass Contributor
ganeshsanap the error is generated by a batch call to web.ensureuser. The apostrophe is clearly not being escaped correctly in the request url. I've submitted a ticket to MS support.
PaulL
Nov 25, 2022Brass Contributor
As a test, I doubled the single apostrophe and the api call does work in that case, so should be simple enough to fix I would think.