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 Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,039 questions
PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
290 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,875 questions
Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
466 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
582 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 25,861 Reputation points Microsoft Vendor
    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.