Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top