Forum Discussion

shafiq rehman's avatar
shafiq rehman
Iron Contributor
Sep 02, 2019

Geting an error while creating the AD account if the Name of the Lecturer has some special Charakter

 
I have a Dynamics CRM with some Entries for Lecturer, I did some Microsoft Flows to automtizise the procress of Creating AD Account and Office 365 -> Moodle Connections.

 

 
However I ofc geting an error while creating the AD account if the Name of the Lecturer has some special Charakters.
 
example:
LastName: Reuter
Firstname: Lucien André
 
Firstproblem the Space between Lucien and And...
This was easy to care with a replace
 
concat(replace(triggerBody()?['firstname'],' ','.'),'.',replace(triggerBody()?['lastname'],' ','.'),'@Domain')
 
But I cant find an easy solution for all the special Charakters like ´`^ and since we have some polish lecturer all the diffrents version of  https://l.facebook.com/l.php?u=https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%25C5%2581%3Ffbclid%3DIwAR3cDu16KiLpr78OvdNkdnxDLjmr8wHxgJPFxDTrCfPbJ43aYDfenDfg2W4&h=AT2QL0FPFvPRwjwzr3sQPzkn9nFjGS9K0J5I0ahagoAMhIv9DnXfx-x5BQR7Lel7QIqcec7mG88JNPXUt_xi99mxPlkaz5bB5yAJEYq9hpSrZL_Wrw8vJ1ug6UnzxBHVwb6PbHKRS1dQfET7N2ickA ect..

 

No RepliesBe the first to reply

Resources