Showing results for 
Search instead for 
Did you mean: 
New Member

SharePoint's "Create File" Action Output Replaces Colons w/ Underscores

Hello all,


Please forgive me if this is a simple question, I'm fairly new to Power Automate and learning as I go.

I'm currently building a fairly simple flow that waits for an email to be received to a specific mailbox, a 3rd-party connector converts the email body + any attachments to a PDF, and then that PDF is saved to a SharePoint site for archiving and referencing purposes. The title of each file is simply the email Subject with the date received appended using an expression.

My problem is that the SharePoint "Create File" action converts any colons in the email Subject to underscores prior to saving the file to SharePoint, and this outcome is undesirable. See below.


PA_Screenshot1.jpgSharePoint does not currently offer any sort of "Change Filename" action, and I'm at a loss as to how to rectify this problem. I'm relatively technologically savvy but not a programmer by any means, and many solutions involving HTTP workarounds usually go over my head except when explained step-by-step in detail.

Is there a simple connector, action, or expression I'm missing that would easily rectify this? And if not, what solutions (if any) are out there that aren't overly tedious just to change a single character in a file name?

Any ideas or suggestions are welcome. Thank you!




Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,107)