Skip to main content

Notifications

Community site session details

Community site session details

Session Id : zNHJtNpFHybhF03XB1WrCD
Power Automate - Building Flows
Answered

Update OneDrive for Business file metadata

Like (0) ShareShare
ReportReport
Posted on 15 Aug 2022 13:55:02 by 669

Regarding the use of OneDrive files in Power Automate:

 

1. Is it possible to update any of the file metadata in a OneDrive for Business folder, in addition to "getting" the file metadata?

2. I was able to create a custom column in a OneDrive for  Business folder. Would it be possible to then update this custom column/metadata using Power Automate?

 

So far, it appears neither of these are possible in OneDrive, only in SharePoint.

  • 55552 Profile Picture
    669 on 15 Aug 2022 at 19:06:13
    Re: Update OneDrive for Business file metadata

    I was able to use the Get Files (Properties Only) SharePoint action to get the metadata from OneDrive files, including data from a custom column that I created in the OneDrive folder. I was also then able to use the SharePoint update files action to update that same custom column in OneDrive, and was able filter for filenames using a filter array based on the Name or Identifier property. So overall, using SharePoint actions worked.

  • 55552 Profile Picture
    669 on 15 Aug 2022 at 17:30:18
    Re: Update OneDrive for Business file metadata

    Update:  I managed to get the SharePoint action to work. Just needed to add in the Documents folder as the "library" and click ok to use Documents as custom library name.  

    Runner55552_0-1660584606636.png

     

  • Verified answer
    tom_riha Profile Picture
    10,093 Most Valuable Professional on 15 Aug 2022 at 16:56:30
    Re: Update OneDrive for Business file metadata

    Then I don't think you can do that in a flow, it works to get file metadata but it doesn't work for update. Maybe you could do that with an HTTP request via Graph API but that's on a different level of complexity (and licensing).

  • 55552 Profile Picture
    669 on 15 Aug 2022 at 16:45:52
    Re: Update OneDrive for Business file metadata

    Thanks. I have tried that, but still not getting a connection. It could be my organization isn't allowing it, although I can use the OneDrive for Business connectors.  I saw this link earlier: Flow with Personal Sharepoint List - Power Platform Community (microsoft.com)  It notes that if you normally log in with name@domain.org you would format it to name_domain_org after https://parsons365-my.sharepoint.com/personal/

     

  • tom_riha Profile Picture
    10,093 Most Valuable Professional on 15 Aug 2022 at 16:39:38
    Re: Update OneDrive for Business file metadata

    Hello @Runner55552 ,

    I didn't try this, but OneDrive is just another SharePoint document library in a different dress - you might try to use the 'Update file properties' SharePoint action and manually enter the OneDrive url instead of a SharePoint one.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 310 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 271 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 249

Overall leaderboard
Loading started