Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Pages isn't published after being copied from one SP site to another SP site

(0) ShareShare
ReportReport
Posted on by

Hello Cat Happy

 

I'm building a Flow that copies multiple pages from one SharePoint site to another SharePoint site, and the pages are published in SP site no. 1, but after they have been copied to SP site no. 2 all the pages are in "draft" mode (not published).

 

Is there a way to publish all the pages automatically using Flow? After I have copied them to the site. 

 

The first action is "List folder" (just in norwegian)

 

Page in draft modePage in draft mode

my Flowmy Flow

 

Appreciate any thoughts and answers!

  • Community Power Platform Member Profile Picture
    on at
    Re: Pages isn't published after being copied from one SP site to another SP site

    hello @v-yamao-msft 

    I made two new SharePoint sites with 5 pages in one of them, published the pages and then copied to sp. site no. 2. The pages in sp. site no. 2 says "draft saved" and are not published. Is there a setting that changes this?

    Can you please share your test flow? 

     

  • v-yamao-msft Profile Picture
    on at
    Re: Pages isn't published after being copied from one SP site to another SP site

    Hi @Anonymous ,

     

    I have made some tests on my side, I found that if the page has already been published on the original site, it will also be Published on the destination site once copied.

     

    Have you published the page on original site?

     

    If no, the page will be checked out and cannot be got via flow.

     

    In addition, I have seen an idea on Allow to check in, check out and publish files in a SharePoint library which is marked as Planned. Please check and vote it at here:

    https://powerusers.microsoft.com/t5/Flow-Ideas/Allow-to-check-in-check-out-and-publish-files-in-a-SharePoint/idi-p/11256/page/2?advanced=false&collapse_discussion=true&filter=location&location=idea-board:FlowIdeas&q=publish%20sharepoint%20page&search_type=thread#comments

     

    Best regards,

    Mabel

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Pages isn't published after being copied from one SP site to another SP site

    I noticed if I turned of version control in SP site no. 1 the pages was automatically published in SP site no. 2 (when I tried copying the pages again).

    But this is not an optimal solution.

     

    The library doesn't have content approval on btw. 

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