Sharepoint :我正在尝试与一些用户共享 link 并且我正在使用库 @pnp/sp/sharing
Sharepoint : I am trying to share a link with some users and i am using library @pnp/sp/sharing
我有以下错误:
错误:在可查询 [400] 中发出 HttpClient 请求时出错 ::> {"odata.error":{"code":"-1, System.InvalidOperationException","message": {"lang":"en-US","value":"Sharing by link is not enabled on the web, site, or tenant."}}}
在新的 HttpRequestError (parsers.ts:13)
在 parsers.ts:19
确保您的网站集在租户设置中启用共享。
https://tenant-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx
我有以下错误:
错误:在可查询 [400] 中发出 HttpClient 请求时出错 ::> {"odata.error":{"code":"-1, System.InvalidOperationException","message": {"lang":"en-US","value":"Sharing by link is not enabled on the web, site, or tenant."}}} 在新的 HttpRequestError (parsers.ts:13) 在 parsers.ts:19
确保您的网站集在租户设置中启用共享。
https://tenant-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx