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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate to Upda...
Power Automate
Unanswered

Power Automate to Update File Properties Only when Custom Document Set Created

(0) ShareShare
ReportReport
Posted on by
I'm trying to create a PowerAutomate flow that creates and assigns a unique prefixed ID to a custom document set content type when that document set is created in a SharePoint library. It initially worked but then I realised, it would assign this special prefixed ID to every document added to the document set (which I don't want - only the document set should have this prefixed ID). 

So I've updated the flow to now have an "And" condition, so that only when the custom document set content type is created, the prefixed ID is assigned. The flow "runs successfully", but doesn't actually assign the prefixed ID in the end. I can't seem to see what is wrong (and Copilot doesn't help either). And I'm confident that the ContentTypeID value is correct and there are no extra spaces, etc. (third image). 
 
Any help is really appreciated!






Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,864 Super User 2026 Season 1 on at
    Can you add a screen shot showing what you are setting in the document set that you don't want to apply to the files within the document set? I don't think you've received any responses yet because I don't think document sets are widely used.
     
    I myself have used them only on a couple of occasions, but not for a number of years. I believe what you are describing is actually a feature of documents sets, which is that the documents within the set take on the metadata of the welcome page. With the new modern SharePoint, I think most people have abandoned using them.
     
    If you've since resolved the issue, please post what you did to resolve it and mark it as the suggested answer.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard