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 Pages / PowerPages Governance ...
Power Pages
Answered

PowerPages Governance - Deployment

(0) ShareShare
ReportReport
Posted on by 21

I have an Environment with 2 solutions, 1) A Canvas Admin App 2) A Website (PowerPages).

 

I would like to build a Solution and add the PowerPages (web pages) in the solution to deploy it to PROD environment.

Is it possible? If it is not, which is the workaround?

 

PS. I've seen an option to add "Pages" to a Solution but none of my pages were available when I tried it. Wondering if there is a way to make it.

 

Thanks,

Raf 

Categories:
I have the same question (0)
  • eugenevanstaden Profile Picture
    441 on at

    @rtardelli 
    Deploying of Portal is possible. You can use the Portal CLI to deploy to the target environment or good old Config Migration. 

    I follow this approach:
    1. Add all my customizations specific to my portal into a single solution (forms, views, plugins etc that are specific to your portal).
    2. Export this solution 
    3. Export related Portal configuration (either CLI or Config Migration)
    4. Push this to the target in Pipeline or via CLI manually.

    https://learn.microsoft.com/en-us/power-apps/maker/portals/admin/migrate-portal-configuration?tabs=CLI


    https://learn.microsoft.com/en-us/power-apps/maker/portals/admin/migrate-portal-configuration?tabs=CLI

  • rtardelli Profile Picture
    21 on at

    Hi ,

     

    Thanks for helping.

     

    I am trying to add the webpages in the solution I created. But none of my pages are available. Any idea why ?

     

    rtardelli_0-1664838454969.png

    rtardelli_1-1664838508104.png

     

    I have an option to add the "Site Map" which I believe will bring other required objects to the Solution. Is it a good way to make it ?

    Thank you.

    Rafael

  • João Santos Profile Picture
    323 on at

    Hi @rtardelli 

    Unfortunately there's no way to add Power Pages to a Solution, they're not solution aware. To deploy Power Pages you should use one of the options @eugenevanstaden mentioned. The option you have there is to add a Custom Page to your solution which is not the same thing as Power Pages.

     

    You need to first move any Dataverse Solution with Tables and fields used by the Portal/Power Pages. You'll also need to ensure you already have a website provisioned on the destination environment.

    After that you should be able to use either the configuration migration tool or the Power Platform CLI to move your portal from one environment to another.

    I personally use the CLI so I'll leave this link that hopefully will help you: https://learn.microsoft.com/en-us/power-apps/maker/portals/power-apps-cli-tutorial

  • rtardelli Profile Picture
    21 on at

    Hi Joao,

     

    I tried follow the tutorial to copy the environment, but it is giving an error. At the end nothing changed.

     

    Started uploading website data
    Connected to...xxxxxx-powerpages-dev
    Loading Portal Manifest...
    Manifest loaded successfully.
    Upload completed for table: adx_adplacement
    Upload completed for table: adx_polloption
    Upload completed for table: adx_webpageaccesscontrolrule
    Upload completed for table: adx_poll
    Upload completed for table: adx_publishingstate
    Upload completed for table: adx_entitylist
    Upload completed for table: adx_websiteaccess
    Upload completed for table: adx_entityform
    Upload completed for table: adx_tag
    Upload completed for table: adx_webrole
    Upload completed for table: adx_entitypermission
    Upload completed for table: adx_pollplacement
    Upload completed for table: adx_website
    Upload completed for table: adx_ad
    Upload completed for table: adx_pagetemplate
    Upload completed for table: adx_weblinkset
    Upload completed for table: adx_sitemarker
    Upload completed for table: adx_urlhistory
    Upload completed for table: adx_portallanguage
    Upload completed for table: adx_websitelanguage
    Upload completed for table: adx_entityformmetadata
    Upload completed for table: adx_weblink
    Upload completed for table: annotation
    Upload completed for table: adx_webfile
    Upload completed for table: adx_sitesetting
    Upload completed for table: adx_webtemplate
    Upload completed for table: adx_contentsnippet
    Upload completed for table: adx_webpage
    Upload completed for table: adx_websitelanguage
    Upload completed for table: adx_website
    Upload completed for table: adx_webpageaccesscontrolrule
    Upload completed for table: adx_adplacement
    Upload completed for table: adx_polloption
    Upload completed for table: adx_poll
    Upload completed for table: adx_webrole
    Upload completed for table: adx_tag
    Upload completed for table: adx_portallanguage
    Upload completed for table: adx_urlhistory
    Upload completed for table: adx_entityformmetadata
    Upload completed for table: adx_publishingstate
    Upload completed for table: adx_entityform
    Upload completed for table: adx_pollplacement
    Upload completed for table: adx_entitylist
    Upload completed for table: adx_websiteaccess
    Upload completed for table: adx_entitypermission
    Upload completed for table: adx_pagetemplate
    Upload completed for table: adx_ad
    Upload completed for table: adx_weblinkset
    Upload completed for table: adx_sitemarker
    Upload completed for table: adx_webtemplate
    Upload completed for table: adx_weblink
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Updating table adx_webfile with record id:5480ce4c-bc29-ed11-9db1-00224814df64 FAILED due to Subject With Id = 672845db-5f1b-ed11-b83b-002248144a90 Does Not Exist
    Upload completed for table: adx_webfile
    Upload completed for table: adx_sitesetting
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:691164eb-8f40-6393-9ae1-64e0d2350f25 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:d7945043-511a-2f32-a291-872038c9b31f FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:f760cc0b-45b3-eaa2-84d3-cd100704d4c3 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Updating table annotation with record id:dd0e0f6b-c318-6c04-8a82-17fb7f7eaa04 FAILED due to The attachment is either not a valid type or is too large. It cannot be u
    Upload completed for table: annotation
    Upload completed for table: adx_contentsnippet
    Upload completed for table: adx_webpage
    PS C:\Users\Ra\OneDrive - Rio Tinto\VStudioCoding> pac paportal list
    Connected to...xxx-powerpages-dev
    Completed listing portal websites

  • rtardelli Profile Picture
    21 on at

    Actually my yml file didn't work. What happened is that my upload created all rows (entities) in the portal management with the downloaded name. Now I have everything duplicated in the Dev environment.

     

    rtardelli_0-1665537417299.png

     

  • João Santos Profile Picture
    323 on at

    Hi @rtardelli 

    Let's see if we can sort these one by one.

    First: Updating table adx_webfile with record id:GUID FAILED due to Subject With Id = GUID Does Not Exist

    Do you have a lookup to a Subject entity from the webfile? I don't recognize that one but seems to be failing the upload because the subject records aren't on the destination environment. Never tried this but you might be able to use the include_entities parameters of the download command to include that entity if you really need it.

     

    Second: Updating table annotation with record id:GUID FAILED due to The attachment is either not a valid type or is too large. It cannot be u

    Should be a simple one, don't think this is a file size issue. It might be trying to upload javascript files, that's the classic example, and they are by default on the restricted attachment list. But just to be sure find the adx_webfile it refers to and confirm the file type.

    Then follow this guide to get to the list of restricted files, you should see that file extension there, remove it, save it and try again.

     

    Regarding the duplicate website records. I'm a bit surprised, the download and upload is based on the main website record GUID, uploading to the same environment should just update the same records... really not sure what happened there. But if you want to delete one of them that should be simple, go to the Websites view, select the duplicate and hit delete, that should cascade the delete down to all the website records.

    But please do confirm first if you are actually deleting the duplicate records and not your website! Like I said, I'm a bit surprised it created a duplicate in dev.

     

    Lastly, you might have guessed it already but you need to change Authentication profile before uploading the portal. Should be:

    - pac auth create -u <dev environment url>

    - pac download --path "C:..." -id <portal guid> -o true

    - pac auth create -u <test/prod environment url>

    - pac upload --upload "C:..."

     

    Hope these suggestions help

  • rtardelli Profile Picture
    21 on at

    Hi Joao,

     

    I have a poc environment with all development done. This is only a POC environment we used to discover PowerPages. 

    Now we created the Dev environment by selecting a default template. This new Portal with default template already has a WebSite with a GUID which is totally different from the POC environment GUID.

    The challenge is how to deploy from POC (all pages / developed JavaScripts) to DEV replacing and not duplicating the WebSite entity and all other rows in Portal Management.

    I also tried to drop the "template" Website in Portal Management in Dev, which made a cascade delete, but there are still other parameters, and it didn't work well.

     

    I ended up recreating again the Dev env because it was a mess.

    Now I only have the template there. If I try again following the tutorial it will duplicate the rows again in Portal Management.

     

    Should I reset the Dev environment meaning that it will delete the template portal rows on Portal Management?

    https://learn.microsoft.com/en-us/power-apps/maker/portals/admin/reset-portal

    Then I will have an empty environment and I can run the upload command (CLI)?

     

    Thanks for helping. Looking forward to hearing from you.

     

    This is the template page I selected.

    The language is US for both environments (POC and DEV).

     

    rtardelli_0-1666223757927.png

     

  • Verified answer
    João Santos Profile Picture
    323 on at

    This shouldn't be a problem, happens to me every now and then.

    The steps in order are:

    - Create the portal template in Dev (you already have)

    - Use pac cli to upload the portal from PoC to Dev (you'll have 2 websites there for now)

    - Go into the Portal Administration page and change the website binding from the template to the one you want. To do this go to:

    make.powerapps.com -> Select environment on top right -> Apps -> Select the ellipses on the Portal App -> Settings -> Administration

    On the new page that comes up, scroll to the bottom and change the Portal Binding from the template to your new uploaded website:

    joaodsantos_0-1666279058994.png

    - Click update and wait a few minutes.

    You should now be able to browse to your website.

    And now is when you can delete your default template website, not before otherwise you screw up a lot of the config... we all learn that the hard way...

     

  • rtardelli Profile Picture
    21 on at

    Hi Joao,

     

    Thanks for the reply, it was the issue!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, I am trying to setup a CI CD pipeline for PowerApps Portal using Power Platform CLI (PAC CLI). Here are the steps being followed

    1. Authenticate to DEV Portal 
    2. Download website content from DEV
    3. Add the website content to Repo
    4. Developers clone the Repo and make changes, and push back to Repo
    5. Using the Upload command (pac paportal upload) to deploy changes to DEV, UAT and PROD

     

    The upload command works well with uploading to DEV, as it just uploads the changed files. However since the repo was not downloaded from UAT/Prod, when I try to upload the changes to UAT/PROD, it tries to upload all the files which are not even changed. 

     

    Is there a way to avoid this or what is the best practice to setup the Repos and development environment to deploy

     

    Cc @joaodsantos @rtardelli @eugenevanstaden 

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
omkarsupreme Profile Picture

omkarsupreme 47

#2
11manish Profile Picture

11manish 43

#3
Valantis Profile Picture

Valantis 37

Last 30 days Overall leaderboard