Showing results for 
Search instead for 
Did you mean: 
Not applicable

Add pages to SP Site Pages using Powerapps


Can we add new Pages to SP Site pages library using a Powerapp Form ?

I know its possible to connect Powerapps to SharePoint site pages library and display all items on a gallery but not sure if adding new items work.

I connected an edit form to the site pages document library and tried to Submit the form but it throws below error :

"The requested operation is invalid. Server Response:Site Pages failed: To add an item to a document library, use SPFileCollection.Add()"  as SP document libraries by default expect a file to be uploaded.


So how can we do this for Site Pages ?

Any help is greatly appreciated !!



Community Support
Community Support

Hi @Anonymous :

I am afraid that you cannot use the Powerapp form to add a new page to the SP website page library.

In addition, To create a new page, we need to create a .aspx file, and the documentation of Share Point connector states that "Editing or managing file(s) is not supported.".

If you need this feature, I suggest you submit your ideas to this forum:

Best Regards,


Helpful resources

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,712)