Skip to main content

Notifications

Power Automate - General Discussion
Answered

How do I get the Folder GUID of a newly created folder?

(0) ShareShare
ReportReport
Posted on by 7

I need to retrieve the folder GUID for a folder I have created using the 'Create New folder' action in my flow. How can I do this? I do not need the Folder ID but the SharePoint GUID of the new folder. Is this possible to get from any of the actions?

 

I have looked at 'Get folder metadata' and 'Get file properties' but these doesn't appear to return the GUID only the Folder ID.

  • noar Profile Picture
    noar 19 on at
    Re: How do I get the Folder GUID of a newly created folder?

    How do you capture the GUID after with a compose to use it as a variable? 

     

  • Verve Profile Picture
    Verve 7 on at
    Re: How do I get the Folder GUID of a newly created folder?

    Thank you Expiscornovus, that is exactly what i was after. Works a treat!

  • Verified answer
    Expiscornovus Profile Picture
    Expiscornovus 31,081 on at
    Re: How do I get the Folder GUID of a newly created folder?

    Hi @Verve,

     

    You could use a Send an HTTP request for that and retrieve that column value via a REST API call.

     

    Below is an example of that approach.

     

    _api/web/lists/getbytitle('Documents')/items(@{outputs('Create_new_folder')?['body/ID']})?$select=GUID

     

    selectGUID.png

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard