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 / Check-In file in share...
Power Automate
Suggested Answer

Check-In file in sharepoint through Power automate

(3) ShareShare
ReportReport
Posted on by 49
I have a sharepoint document library with versioning settings as Major and Minor Versions. I have also enabled check-in and check-out option in the document library.
I have a Power automate flow to approve the documents in the library. In the flow, I am checking out the file after the approval is done, updating the approval status and then checking-in the document. In Power automate I have three options for file check-in as below:
 
Major Version(publish)
Minor Version( draft)
Overwrite the file 
 
How can I have the follow the versioning settings defined in the document library as in the document library I have "Major and Minor versions". But the same I do not see in the check-in connector.  If I select Major version in the check-in connector, will it supersede the versioning settings in the document library?
How this thing works?
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    15,321 Super User 2026 Season 2 on at
    There are no check-in actions within Power Automate, if that is the question you are asking. You can use an HTTP request to the document library to check in the file. Although, how you've phrased the question I am not sure that is what you want.
     
    But if that is what you are looking for, this is the HTTP request you would send:
    The relative path variable is just this portion of the site URL where the document library is located: /sites/sitename/
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at
    Hi
     
     
    Then use custom and set it to what you want
     
     
  • RobertJames Profile Picture
    49 on at
    Check in option is there:

    Basically, if I have major and minor versioning turned on in the Sharepoint document library, then what should I choose in the below connector to match with the versioning setting in the sharepoint document library.  How does the custom value work for this connector? What values are accepted in custom value? I am trying to fix the issue as mentioned in : https://keapoint.com/how-to-fix-the-file-locked-for-shared-use-by-error-in-power-automate-flows/
     
  • David_MA Profile Picture
    15,321 Super User 2026 Season 2 on at
    I don't know how I missed the check-in file action. That will make things easier than the method I have been using :-)

    What you choose from the options will depend upon what you want to achieve. Is your document library configured to show only published versions to people who can view the documents? If so, do you want them to see the changes? If so, you need to choose publish. If you choose draft, they will not be able to see the change until someone publishes it.

    Even though custom option is shown, I don't believe it can be set. I think you need to choose one of the three options.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 282 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 159 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard