External sharing is disabled for https://yourtenant-admin.sharepoint.com/_layouts/15/workbench.aspx
-
08-02-2021 - |
سؤال
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:
On SharePoint admin center I have checked that anyone with link property is set.
Any idea to tackle this issue?
المحلول
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 -
- SharePoint Admin Center
- Powershell
Refer this article for details.
نصائح أخرى
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