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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Set Content Approval S...
Power Automate
Unanswered

Set Content Approval Status Action does not give me a list of available library

(0) ShareShare
ReportReport
Posted on by 9

I'm trying to use the Set Content Approval Status action but the there is no library for my under the selection. There are libraries under this site that already have Content Approval turned on.

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at
    Re: Set Content Approval Status Action does not give me a list of available library

    Hi @KirkT,

     

    Could you please show a clear screenshot of your "Set content approval status" action?

     

    I have made a test and the issue is confirmed on my side. The available libraries would not be shown up automatically within Library Name field of "Set content approval status" action.You could consider add a Library name as a custom value within Library Name field of "Set content approval status" action.

     

    In addition, I think it is not appropriate to add the "When a file is created or modified on a folder" trigger as the trigger of your flow. If you add the "When a file is created or modified on a folder" trigger in your flow, you could not get proper Item id dynamic content from the trigger within Id field of "Set content approval status" action.

     

    I have made a test on my side and please take a try with the following workaround:

    • Add a "When a file is created or modified (properties only)" trigger.
    • Add a Condition, left input box set to ApprovalComplete dynamic content of the trigger, right input box set to false, middle drop down, choose is equal to.

    Note: The ApprovalComplete column is a custom value in my SharePoint library, which is a Yes/No type column. The default value of this column is No.

     

    • Within "If/yes" branch of Condition, add a "Get file metadata" action, File identifier field set to Identifier dynamic content of the trigger.

             Add a "Set content approval status" action, Id field set to ID dynamic content of the trigger, ETag field set to ETag dynamic content of the "Get file metadata" action.

            Add a "Update file properties" action, Id field set to ID dynamic content of the trigger, ApprovalComplete field set to Yes.

     

    Image reference:4.JPG

     

    5.JPG

    The flow works successfully as below:6.JPG

     

     

    Best regards,

    Kris

     

     

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard