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 Apps / Upload PAPortal Build ...
Power Apps
Answered

Upload PAPortal Build task *almost* working

(0) ShareShare
ReportReport
Posted on by 53

The newest version of the PowerApps Build tools are great. I'm using the "Power Platform Upload PAPortal" task and in the output I'm seeing warnings regarding the an attachment having invalid file type or being too big. (screenshot below)

 

I've looked at the documentation of the PPBT task as well as the pac paportal docs, but don't see anything about the supported file types or size limits.

 

Anyone know types and sizes of annotations supported by pac paportal?

https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/paportal

 

These are the only Mime Types I have.

video/mp4
application/pdf
image/jpeg
text/css
image/png
image/svg+xml

 

JeffCarma_0-1687453548584.png

 

I have the same question (0)
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @JeffCarma I think the file type might be blocked at the system settings level. Read here for instructions on how to temporarily unblock the affected file type for the purposes of allowing the portal config to be uploaded. Remember to reblock again afterwards - you should try to automate this if possible.

    https://d365demystified.com/2022/05/17/blocking-attachment-extensions-in-dynamics-365-crm/

  • JeffCarma Profile Picture
    53 on at

    Thank you for the suggestion @parvezghumra . As a test, I removed every extension except two to see if I could get the PAPortal Upload task to complete without those errors. It didn't make a difference. Seems that the two are not related. You don't have any other suggestions do you?

    Extensions in System Settings:

    JeffCarma_0-1691182861578.png

     

    Error while uploading portal data.

    JeffCarma_1-1691182921065.png

     

     

  • Verified answer
    Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @JeffCarma Check in Power Platform Admin Centre. Environments > Settings > Privacy + Security (Blocked Mime Types, Allowed Mime Types)

    parvezghumra_0-1691193868912.png

     

  • JeffCarma Profile Picture
    53 on at

    It was a combo of both. Removing svg from file attachments and the Mime Type section as you mentioned. I don't know how many times I've been to that screen in powerplatform admin and never seen that.

     

    Thank you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard