SPFX Application Customizer breaks Anonymous Links for PDF Files #8146
Labels
area:spfx
Category: SharePoint Framework (not extensions related)
status:working-on-it
Known issue / feature being addressed. Will use other "status:*" labels & comments for more detail.
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Milestone
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
I saw someone raised the same issue here, but it was marked closed.
Following the steps from Build your first SPFX Framework extension, I successfully packaged and deployed the hello world dialog popup example. After, creating an anonymous link for a PDF file breaks for users who are not signed into SharePoint.
This behavior does not happen every time and with enough attempts, I can successfully view the PDF. On average, it would fail 6-8 times out of 10 attempts. This experience is not intuitive for end users who will normally stop attempting to access the PDF after the first or second try.
Steps to reproduce
Expected behavior
If the extension detects the user does not have adequate permission, it should be disabled and allow the page to continue loading the resources the anonymous user has access to view.
The text was updated successfully, but these errors were encountered: