web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need to remove spceial...
Power Automate
Unanswered

Need to remove spceial character from subject of the email to create sharepoint folder.

(0) ShareShare
ReportReport
Posted on by 1

Hi Guys,

 

 

I have built a flow which trigerred by email to create planner task and saves attachments onto sharepoint. It works fine until it receives special character in email subject like Re:. Because sharepoint cannot create a folder with a name which contains those characters. Is there any way we can remove those characters from subject before it creates folder in sharepoint? Or is there any best practices to who has experienced same issue as mine?

{
  "status": 400,
  "message": "The file or folder name contains characters that are not permitted.  Please use a different name.\r\nclientRequestId:
}
Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Re: Need to remove spceial character from subject of the email to create sharepoint folder.

    Hi @Temka 

     

    I have made a test for your reference:

    1.

    vliweimsft_0-1677742236008.png

    createArray('.','@','ß','²','³','µ','´','°','^','=','(',')','&','$','§', '~','#','%','*',':','<','>','?','/','|',' ')

    2.

    vliweimsft_1-1677742317231.png

    3.

    vliweimsft_2-1677742344017.png

     

    I think this link will help you:

    Flow: Strip Dots and Special Characters from File Names - Flow - AlanPs1.io

     

    Best Regards,

    Levi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard