What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[X] mobile (iOS/iPadOS)
[X] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)
Additional environment details
browser version - Version 120.0.6099.227 (Official Build) (64-bit), 120.0.2210.144 (Official build) (64-bit)
SPFx version - 5.0.0?
C:\Users\byron> yo --version
5.0.0
Node.js version - v18.17.1
Operating system | Windows 11 Version 22H2 (Build 22621.3007)
Describe the bug / error
In the mobile view in Chrome (or Edge) when we visit the site with the SPFx webpart, we receive an error:
The exact same page in the desktop view renders without an issue:
Steps to reproduce
Used the following command to allow me to grant guest user access to SPFx app.
Connect-SPOService -Url https://[YOUR TENANCY NAME]-admin.sharepoint.com Set-SPOTenant -ShowAllUsersClaim $true
Open Chrome or Edge
Open the Sharepoint URL that is shared with External users
Sign into Sharepoint with a guest user account
Right click on the web page, select Inspect from the context menu
Click to Toggle device emulation and set to mobile device.
Navigate to the page that contains the webpart
Observe the error.
Click Toggle device emulation button
Refresh the page in the desktop view
Observe the webpart execute successfully
Expected behavior
Expect the webpart to render on a mobile device with a guest user account the same way it would for a licensed tenant user.
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
In the mobile view in Chrome (or Edge) when we visit the site with the SPFx webpart, we receive an error:
The exact same page in the desktop view renders without an issue:
Steps to reproduce
Connect-SPOService -Url https://[YOUR TENANCY NAME]-admin.sharepoint.com Set-SPOTenant -ShowAllUsersClaim $true
Expected behavior
Expect the webpart to render on a mobile device with a guest user account the same way it would for a licensed tenant user.