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 / PDF Viewer (PDF Size r...
Power Apps
Answered

PDF Viewer (PDF Size restrictions?)

(0) ShareShare
ReportReport
Posted on by 69

I'm trying to use the PDFviewer to display forms.  I suspect my issue is one of the following:

 

1.  PDF File Size?

2.  Azure Blob permissions

 

I can copy the URL that was created by logic app, and navigate to resource without issue in a browser.  Yet when I attempt to define the Document property of the pdf viewer, it states that it "Couldn't open PDF file".  When I click the "open in my browser instead",  it navigates without issue.  

 

I've successfully used the PDF Viewer historically using flow.  In this case i'm trying to grab the URL (weblink created through logic app) from file properties in sharepoint. 

 

Thoughts?

Categories:
I have the same question (0)
  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @KUNGFUPANDA559 ,

    Since PDF viewer use pdf online, so this has no size limit.

    Yes, permission is a problem. Only if you have permission that pdf, then you could view it in powerapps.

    Pdf viewer also has these limitations, please check:

    1) support only HTTPS links, not HTTP.

    2)The Document property must link directly to the PDF file. Server redirects or HTML views of the document aren't supported.

    3)The server that hosts the document must not require authentication.

    4)You may not be able to view a PDF document in your app if the document resides on a server that has restrictive cross-origin resource sharing (CORS) settings. To resolve this issue, the server that hosts PDF documents must permit cross-origin requests from powerapps.com.

     

    Here's  a doc about this connector for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer

     

     

     

    Best regards,

  • KUNGFUPANDA559 Profile Picture
    69 on at

    Forgot to configure CORS for a new resource group (Doh!)  Thanks @v-yutliu-msft 

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard