Question

I am trying to create a new web-part using the SharePoint Framework.

After doing gulp serve, If I go to the page https://your-sharepoint-tenant.sharepoint.com/_layouts/workbench.aspx, I am seeing an error page instead of workbench:

enter image description here

On SharePoint admin center I have checked that anyone with link property is set.

Any idea to tackle this issue?

Was it helpful?

Solution

You need to first enable external sharing of the SharePoint Online site and then try to run gulp serve.

External sharing can be enabled using -

  1. SharePoint Admin Center
  2. Powershell

Refer this article for details.

OTHER TIPS

According to the screenshot, it seems that it is the SharePoint admin center you are trying to share.

I don't think https://tenant-admin.sharepoint.com is a site opeing for external sharing. Consider using another site instead: https://yourtenant.sharepoint.com/_layouts/15/workbench.aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top