UPN sync changes $ to _

%3CLINGO-SUB%20id%3D%22lingo-sub-378666%22%20slang%3D%22en-US%22%3EUPN%20sync%20changes%20%24%20to%20_%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-378666%22%20slang%3D%22en-US%22%3E%3CP%3ESo%2C%20I%20have%20a%20weird%20situation.%26nbsp%3B%20I%20have%20a%20customer%20that%20starts%20all%20their%20admin%20accounts%20with%20%24%20in%20the%20username%20and%20UPN.%26nbsp%3B%20We've%20noticed%20that%20when%20we%20sync%20these%20accounts%20to%20O365%2C%20the%20%24%20is%20changed%20to%20_%2C%20which%20is%20odd%20because%20most%20of%20the%20time%20when%20there's%20an%20invalid%20character%20in%20the%20UPN%20you%20get%20an%20error%20in%20Synchronization%20Service.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20question%20is%20-%20Is%20this%20expected%20behavior%2C%20changing%20the%20%24%20to%20_%3F%26nbsp%3B%20Personally%2C%20my%20recommendation%20is%20to%20remove%20the%20%24%20from%20the%20UPN%20and%20keep%20it%20for%20the%20domain%5Cusername%2C%20but%20considering%20the%20customer%20I%20would%20like%20to%20have%20more%20information%20first.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-378666%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-378906%22%20slang%3D%22en-US%22%3ERe%3A%20UPN%20sync%20changes%20%24%20to%20_%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-378906%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F92402%22%20target%3D%22_blank%22%3E%40Raechel%20Moermond%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20by%20design%2C%20see%20article%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2001616%2Fa-user-s-office-365-email-address-unexpectedly-contains-an-underscore%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2001616%2Fa-user-s-office-365-email-address-unexpectedly-contains-an-underscore%26nbsp%3B%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20through%20dollar%20(%24)%20is%20not%20explicitly%20on%20this%20list%20the%20list%20itself%20is%20not%20exhaustive%20and%20can%20be%20expected%20to%20extend%20to%20other%20special%20characters%20such%20as%20Pound%20(%C2%A3)%20Hash%20(%23)%20and%20Brackets%20(%5B%5D).%20I%20myself%20have%20experienced%20this%20with%20Dollar%2C%20Hash%20and%20Ampersand.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20recommend%20what%20you%20said%20-%20remove%20these%20types%20of%20special%20characters%20completely%20and%20change%20them%20to%20something%20supported%20like%20ADM_username%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20answers%20your%20question%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%2C%20Chris%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

So, I have a weird situation.  I have a customer that starts all their admin accounts with $ in the username and UPN.  We've noticed that when we sync these accounts to O365, the $ is changed to _, which is odd because most of the time when there's an invalid character in the UPN you get an error in Synchronization Service.

 

My question is - Is this expected behavior, changing the $ to _?  Personally, my recommendation is to remove the $ from the UPN and keep it for the domain\username, but considering the customer I would like to have more information first.

1 Reply
Highlighted

@Raechel Moermond 

 

This is by design, see article

 

https://support.microsoft.com/en-us/help/2001616/a-user-s-office-365-email-address-unexpectedly-cont...

 

Even through dollar ($) is not explicitly on this list the list itself is not exhaustive and can be expected to extend to other special characters such as Pound (£) Hash (#) and Brackets ([]). I myself have experienced this with Dollar, Hash and Ampersand.

 

I would recommend what you said - remove these types of special characters completely and change them to something supported like ADM_username

 

Hope that answers your question

 

Best, Chris