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 / Add a SharePoint clien...
Power Automate
Unanswered

Add a SharePoint client Side App (spfx) with Flow

(0) ShareShare
ReportReport
Posted on by 35
Hi

A spfx webpart has been deployed to the App Catalog. It is not Tenant deployed.

I want this app to be available on some site collections only. Within 'Site Contents', I select 'add an app' where I can select the spfx webpart, which adds it to the site ready for use.This is ok.

I want to do the same with a flow. At the moment I create a site using flow HTTP request (REST) which creates a blank site. But I also want to add the webpart to the site. How can I do the same with a flow ?

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @OrangeJuice1 ,

     

    I had the same requirement a little while back.  Not sure if there is a REST API to do that. 

     

    You can either do this through CSOM or PnP / PowerShell.  The challenge is then incorporating that into your flow. 

     

    I ended up using SharePoint PnP to alter the page JSON within an Azure Function to do this.  You could also look at Azure Automation where you can create a PowerShell runbook.  There is a Power Automate connector to create a Azure Automation job.  I used Azure Function as there is a bit of delay in running the Automation Job.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

     

     

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    Hey @OrangeJuice1,

     

    In addition to @eric-cheng comments - have a look at https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins?tabs=sprest 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard