PDF Opening Issues

How to Fix Power Apps PDF Viewer InputFormatNotSupported Error

Chanuka GeekiyanageChanuka Geekiyanage Nov 2, 2026 870 views

Question details

The user needs to resolve an InputFormatNotSupported error that occurs when trying to display a PDF using the PDF Viewer control in Power Apps.

How to Fix Power Apps PDF Viewer InputFormatNotSupported Error
Product
Microsoft Power Apps
Device & OS
not provided
Scenario
Embedding or opening a PDF file within a Power Apps application using the standard PDF Viewer control.
Observed behavior
The PDF Viewer control fails to render the document, displaying an InputFormatNotSupported or notSupported error instead of the PDF content, both in the app and when opened in a browser.
Before you start

Ensure that the PDF file you are trying to view is not corrupted and is hosted on a server that allows direct, unauthenticated access via an HTTPS URL.

Solution 1Recommended

Verify File URL Configuration and Consult Power Apps Community

Check if your PDF URL is correctly formatted and accessible, and seek guidance from Power Platform specialists for app-specific configurations.

The PDF Viewer control in Power Apps is highly sensitive to how and where the PDF is hosted. The InputFormatNotSupported error frequently occurs due to cross-origin resource sharing (CORS) policies, authentication barriers, or incorrect URL structures (such as viewing links instead of direct download links).

1
Verify the PDF URL

Check the 'Document' property of your PDF Viewer control. Ensure the URL ends in '.pdf' and is a direct link to the file, not a web page displaying the file.

2
Test file accessibility

Copy the PDF URL and open it in an Incognito or Private browsing window. If it asks for a login, the Power Apps PDF Viewer will not be able to render it directly.

3
Visit the Power Apps Community

Navigate to the Microsoft Power Platform Community (powerusers.microsoft.com) to search for similar issues.

4
Search for related discussions

Look up keywords like 'PDF viewer stop working' or 'InputFormatNotSupported' to find verified workarounds from other developers.

5
Post your specific issue

If you cannot find a solution, start a new thread detailing your app setup, PDF source (e.g., SharePoint, OneDrive), and viewer configuration so specialists can assist you.

Verify File URL Configuration and Consult Power Apps Community
Common Hosting Limitation: PDFs hosted on Google Drive or standard SharePoint document libraries often require specific URL modifications or Power Automate flows to bypass authentication prompts for the PDF Viewer control.
Free Microsoft Office alternative

Handle PDFs Smoothly with WPS Office

If embedded browser viewers and Power Apps controls continuously cause format errors, WPS Office provides a reliable, dedicated environment for handling your documents. It is a highly compatible, lightweight alternative to standard Office suites, allowing you to seamlessly manage standard formats without web-based restrictions.

  1. 1. Download WPS Office: Visit the official WPS website and download the free desktop or mobile application.
  2. 2. Open Your PDF: Launch WPS Office, click on 'Open', and select the problematic PDF file from your local storage or cloud drive.
  3. 3. View and Edit: Read, highlight, or edit the PDF seamlessly without encountering browser format support errors.
Open, view, and edit PDF documents natively without relying on complex web configurations.Highly compatible with Microsoft Office formats including Word, Excel, and PowerPoint.Lightweight application with a familiar user interface for seamless migration.Free built-in tools for annotating, converting, and securing your PDF files.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the Power Apps PDF Viewer show an InputFormatNotSupported error?

This error generally happens when the viewer control cannot fetch the file. It is typically caused by the PDF URL requiring user authentication, restrictive CORS policies on the hosting server, or using a shareable web link instead of a direct file path.

Can the Power Apps PDF Viewer display local files directly?

No, the standard PDF Viewer control in Power Apps requires the PDF to be hosted online with a valid HTTPS URL. It cannot natively browse and display files stored purely on your local device.

What is an alternative to using the PDF Viewer control in Power Apps?

A common workaround is to use the 'Launch()' function in Power Apps. By placing a button that triggers Launch(YourPDFURL), you can open the PDF in the user's default web browser or native PDF application, which often bypasses the control's rendering limitations.