Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Email attachment rename strips out chars

%3CLINGO-SUB%20id%3D%22lingo-sub-2074783%22%20slang%3D%22en-US%22%3EEmail%20attachment%20rename%20strips%20out%20chars%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074783%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20sending%20a%20email%20to%20a%20teams%20space%2C%20and%20when%20the%20email%20and%20attachment%20get%20stored%2C%20the%20attachment%20has%20the%20underscores%20and%20dots%20removed%20from%20the%20filename.%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThe%20filename%20example%20is%20process_processid_server.fqdn.csv.%26nbsp%3B%20%26nbsp%3B%20And%20it%20ends%20up%20as%20process_processidserverfqdn.csv%20in%20the%20attachments%20folder.%26nbsp%3B%20%26nbsp%3B%20I%20would%20like%20to%20keep%20the%20original%20name.%26nbsp%3B%20Is%20that%20possible%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2074783%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2091835%22%20slang%3D%22en-US%22%3ERe%3A%20Email%20attachment%20rename%20strips%20out%20chars%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2091835%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F934821%22%20target%3D%22_blank%22%3E%40ntb82%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20additional%20.%20is%20an%20invalid%20characters%20in%20SharePoint%2C%20which%20also%20applies%20to%20Teams%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%20class%3D%22ocpUI%22%3E~%20%22%20%23%20%25%20%26amp%3B%20*%20%3A%20%26lt%3B%20%26gt%3B%20%3F%20%2F%20%5C%20%7B%20%7C%20%7D.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Finvalid-file-names-and-file-types-in-onedrive-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa%23invalidfilefoldernames%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EInvalid%20file%20names%20and%20file%20types%20in%20OneDrive%20and%20SharePoint%20-%20Office%20Support%20(microsoft.com)%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I am sending a email to a teams space, and when the email and attachment get stored, the attachment has the underscores and dots removed from the filename.     The filename example is process_processid_server.fqdn.csv.    And it ends up as process_processidserverfqdn.csv in the attachments folder.    I would like to keep the original name.  Is that possible?

1 Reply

@ntb82 

 

The additional . is an invalid characters in SharePoint, which also applies to Teams

 

~ " # % & * : < > ? / \ { | }.

 

Invalid file names and file types in OneDrive and SharePoint - Office Support (microsoft.com)