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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Remove user names on u...
Power Automate
Answered

Remove user names on uploading files

(0) ShareShare
ReportReport
Posted on by 73

Hi Guys,

I use MS Forms to upload files and Power Automate to move the file from the Forms database which is OneDrive to Sharepoint Site. It works very well my question is that there is a chance to remove user names on uploading files? See below the screenshot from my SharePoint site, looking at the picture, the file name becomes "Sample Scan (100,ppi)_Benedick Divinaflor" it should be "Sample Scan (100,ppi)" ". 
Lastly, we upload multiple files per Form.

benidoink_0-1630595720014.png
Here's my Flow, if you notice on the File Name under Created File, I am using Parse JSON to get the file name. 

benidoink_1-1630596346421.png

And here's my Parse JSON schema I used.

{
    "type""array",
    "items": {
        "type""object",
        "properties": {
            "name": {
                "type""string"
            },
            "link": {
                "type""string"
            },
            "id": {
                "type""string"
            },
            "type": {},
            "size": {
                "type""integer"
            },
            "referenceId": {
                "type""string"
            },
            "driveId": {
                "type""string"
            },
            "status": {
                "type""integer"
            },
            "uploadSessionUrl": {}
        },
        "required": [
            "name",
            "link",
            "id",
            "type",
            "size",
            "referenceId",
            "driveId",
            "status",
            "uploadSessionUrl"
        ]
    }
}

 

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    12,047 Super User 2026 Season 1 on at

    Here is an expression that might do the trick:

    ekarim2020_0-1630599115180.png

    concat(first(split(outputs('name'),'_')),'.',Last(split(last(split(outputs('name'),'_')),'.')))

    ekarim2020_1-1630599208974.png

    Ellis

     

  • benidoink Profile Picture
    73 on at

    Hi @ekarim2020 

    It worked sir. thank you so much 🙂

  • Ellis Karim Profile Picture
    12,047 Super User 2026 Season 1 on at

    In case anyone is interested, a breakdown of the expression:

    ekarim2020_0-1630602489405.png

     

  • BlueMoon1124 Profile Picture
    14 on at

    Thank you so much! This helped me with my concern as well. 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard