Unable to show DPF files in Powerapps PDF viewer from Azure blob storage.
If the Blob Storage is private, ensure that you have the correct authentication mechanism in place. You can use Shared Access Signatures (SAS) tokens or Azure Active Directory (AAD) authentication to securely access the blob storage.
Ensure the SAS token or AAD token is appended correctly to the URL if needed.
If your Blob Storage is private, ensure the CORS (Cross-Origin Resource Sharing) settings are configured correctly on the Azure Blob Storage account. You need to allow your Power Apps domain to access resources in the Azure Blob Storage. This is important because cross-origin access is required for Power Apps to load files from external sources (like Azure Blob Storage).
Once you have the correct HTTPS URL (with or without a SAS token), you can use it in the Document property of the PDF Viewer control like this:
"https://<your-storage-account>.blob.core.windows.net/<container-name>/<file-name>.pdf"
or if using a SAS token:
"https://<your-storage-account>.blob.core.windows.net/<container-name>/<file-name>.pdf?<sas-token>"
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.