Try doubling the "@" in the email address.

is the solution !

I replaced it by $User.userPrincipalName = $strNewUserID + "@@eu.firma.corporate"

Thnx guys

If you want to make a UDF from it go ahead....