Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Create a Document Set Using SPOL Dynamic Content

(1) ShareShare
ReportReport
Posted on by 133

I’m pretty close to getting this done but the final challenge seems to be that I can’t use dynamic content from a SPOL library as part of the create DocSet action. From what I can see when using the Output function everything looks right and if I manually type in an DocSet Name number to be used it creates the DocSet as desired. The format for all the DocSet Names is "MP-20-0001", without quotes. Apparently it has something to do with using dynamic content…which is a must. Any help is solving this issue would be most appreciated as I have several of these to create.CreateDocSet Scrn 2.jpgCreateDocSet Scrn 3.jpgCreateDocSet Scrn 4.jpg

CreateDocSet Scrn 1.jpg

  • wskinnermctc Profile Picture
    6,517 Super User 2025 Season 1 on at
    Re: Create a Document Set Using SPOL Dynamic Content

    Check out my post show how to create or add new instance of a Document Set (like adding a new folder) to a SharePoint Document Library using the power automate action 'Send HTTP Request to SharePoint' as a POST request with the URI using the ListItem update method AddValidateUpdateItemUsingPath.

     

    You can create a Document Set and set the metadata in a single step.

     

    https://powerusers.microsoft.com/t5/Building-Flows/Add-New-Document-Set-to-Document-Library-Using-HTTP-Request-REST/td-p/1978155 

  • Verified answer
    DarenD Profile Picture
    133 on at
    Re: Create a Document Set Using SPOL Dynamic Content

    Thank you for the response! Actually I got it working with support from MSFT directly. Seems like you can use special characters but my error was further down in the workflow which where causing the issue.  I'm now creating DocSet's like they are going out of style!

     

    Thanks!

    D

  • v-bacao-msft Profile Picture
    on at
    Re: Create a Document Set Using SPOL Dynamic Content

     

    Hi @DarenD ,

     

    Do you mean that if the output of Compose is manually filled into the Http action, can Flow run normally?

     

    Does the final result of FinalOutput contain unexpected characters? You can consider using trim() function to remove unexpected spaces.

     

    Best Regards,

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1