How to Rename random file in Sharepoint folder with Power Automate

Anonymous
2023-06-07T16:46:20.7166667+00:00

Hello,

We will be receiving a file from our business department each month, via email. The file will have a date value appended each time, so it won't be the same file name. The trigger will be 'When an Outlook Email arrives'. Through Power Automate I detach this file from the email and move it to a folder on our Sharepoint site. The file will look something like this: OurTestFile_20230607.csv.

I am looking for an action that will search for this file in the folder, and then rename it to OurTestFile.csv. I know Power Automate does not have a clear utility for renaming Sharepoint files.

Any help would be appreciated.

Thank you !

Microsoft Security Windows Autopilot
Microsoft 365 and Office SharePoint For business Windows
Microsoft 365 and Office PowerPoint For business Windows
Microsoft 365 and Office Excel For business Windows
Microsoft Teams Microsoft Teams for business Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,596 Reputation points Microsoft External Staff
    2023-06-08T02:13:05.5333333+00:00

    Hi @01061830 ,

    According to your description, the issue is more related to Power Automate.

    Power Automate is currently not supported in the Q&A forum. Please start a new discussion via the Power Automate Community so that you can get dedicated support on this issue.

    And I found some similar posts for your reference, hope they can give you some inspiration.

    https://powerusers.microsoft.com/t5/Building-Flows/Renaming-a-SharePoint-Folder-or-Document-Set/td-p/137036

    https://answers.microsoft.com/en-us/msoffice/forum/all/copy-and-rename-a-folder-in-sharepoint-using-power/a5b007fb-4466-4ff6-9223-7f6cfd04e531

    https://sharepains.com/2020/11/03/rename-sharepoint-folder-power-automate/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.