web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create Document Set ac...
Power Automate
Unanswered

Create Document Set action (new action available in Flow)

(1) ShareShare
ReportReport
Posted on by 3

I'm not sure how new the Create Document Set action is in Flow - I noticed it today and my admin had not seen it before either, but we are a GCC environment. I was unable to find any documentation aside from this: https://learn.microsoft.com/en-us/connectors/sharepointonline/#create-new-document-set

 

So, if anyone has used this action before, I'd love to hear about it. I was able to get it to partially work. 

 

I was able to use the action to create a new document set fairly easily, as long as I only filled out: Site Address, Library, Document Set Path, Content Type ID, Title. I was unable to add any metadata. For reference, the metadata fields are identical between the list I'm using to get the information from and the library in which the document set resides. Some of them pull from the same linked list. Some are choice columns that are identical. The fields matched completely between the list and the library, sometimes pulling on ID and sometimes on Value, based on whatever Flow displayed. The one where the field pulls from a linked list, that one failed and gave me a Bad Gateway error. The one that was a choice column worked, but the field on the document displayed as {ColumnName Value: "text"}.

 

So after two fields effectively did not work, I did not test the remainder, but instead created the doc set with bare bones info, then the next action was Update File Properties, where I added in all the metadata.

 

Curious to hear if anyone else has noticed this action, tried it out, and what results you've had. It's so much easier than trying to do an HTTP request, for us no-code people. 

Categories:
I have the same question (0)
  • VNO Profile Picture
    43 on at

    Indeed, seems quite new and not working.  Except with DS without metadata 😮

  • Wendy_Lumsden Profile Picture
    58 on at

    Thanks for that heads-up; I had not noticed the new command.  
    I tried to use and if I provided all the metadata for the document set, the flow just seemed to run for ages so I cancelled the flow.
    Then I tried using the command to create a document set providing only the required properties (sharepoint site, library, path) and title.  Again the flow seemed to 'hang' when creating a new document set.
     

    Would be interested to know if other users have executed the commend successfully in a Power Automate flow.

  • Wendy_Lumsden Profile Picture
    58 on at

    Have not managed to run successfully.   Received error message 

    "BadGateway",
        "innerError": {
          "status"500,
          "message""Error while creating document set item
  • Wendy_Lumsden Profile Picture
    58 on at

    Hi All,  
    Have successfully added Document Sets using this new command.   

    Note:
    1.  The folder/path name must not contain special characters (I had to remove all semi-colon's, colon's and slashes, etc from dynamic data used for the name of the document set)
    2.  I did not populate any custom metadata columns when creating the document set, instead I used the update folder (properties only) command to populate the metadata columns.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard