对于Sharepoint加载项元素,接受外部共享邀请失败 [英] Accepting External Sharing Invitations Fails for Sharepoint Add-In Elements

查看:96
本文介绍了对于Sharepoint加载项元素,接受外部共享邀请失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Requirement


< p style ="padding-right:0px; font-size:15px; clear:both; color:#444444; font-family:'Segoe UI',Segoe,'Helvetica Neue','Lucida Grande',Arial,sans- serif; line-height:19.5px">
我有一个sharepoint提供者托管的加载项,安装在sharepoint在线网站集中。外接用户网上有几个文档库,我希望与外部用户共享一些文档。



<强风格="margin:0px; padding:0px; border:0px">我尝试的是什么



我启用了外部用户共享在O365租户设置



我选择"允许接受共享邀请的外部用户并以经过身份验证的用户身份登录"在主机站点的网站集中。



然后我在加载项中找到文档库并选择文档并共享它带有Outlook帐户。



然后Outlook帐户收到以下电子邮件 





当用户点击电子邮件链接打开时,显示以下错误消息。



在SharePoint应用程序的上下文中无法访问端点/ sites / site Name / _layouts / 15 / acceptinvite.aspx。



任何人都知道为什么会发生这种情况?



注意:我对主机网络中的文档库中的项目尝试了相同的步骤。没有发生此错误,外部用户可以打开文档。



另外尝试使用CSOM Programmaticaly。加载项Web元素出现相同的错误。



谢谢你



解决方案


希望以下博客可以帮助您。


SharePoint和OneDrive for Business的外部共享API


HTTP://blogs.msdn。 com / b / vesku / archive / 2015/10/02 / external-sharing-api-for-sharepoint-and-onedrive-for-business.aspx


使用  CSOM与外部用户共享您的SharePoint网站


http://blog.beecomedigital.com/2015/09/17/share-your-sharepoint-sites-with-external-users-using-csom /


由于此问题与Office 365有关,您也可以将其发布到以下论坛。

HTTP:// stackove rflow.com/questions/tagged/office365


最好的问候,


Dennis


Requirement

I have a sharepoint provider hosted Add-In where installed in sharepoint online site collection. There are Several Document Libraries Reside in Side the Add-In web and i want to share few documents with external Users.

What i Tried

I enabled external user sharing in O365 Tenant Settings

I chose "Allow external users who accept sharing invitations and sign in as authenticated users" in the site collection of the Host Site is in.

Then i went Document library in the Add-In and choose the document and shared it with a outlook account.

Then the outlook account received the following email 

When the user click the email link to open the following error message was shown.

The endpoint /sites/site Name/Add-In Name/_layouts/15/acceptinvite.aspx is not accessible in the context of a SharePoint App.

Any one have an idea why this is happening??

Note : I tried same steps for an item in the document library in the host web. This error didn't occur and external user was able to open the document.

Additionally Tried This using CSOM Programmaticaly. Same error occurred for Add-In web elements.

Thank You

解决方案

Hi,

Hope the following blogs helps you.

External sharing API for SharePoint and OneDrive for Business

http://blogs.msdn.com/b/vesku/archive/2015/10/02/external-sharing-api-for-sharepoint-and-onedrive-for-business.aspx

Share your SharePoint sites with external users using CSOM

http://blog.beecomedigital.com/2015/09/17/share-your-sharepoint-sites-with-external-users-using-csom/

As this question is more relate to Office 365, you can also post it to the following Forum.
http://stackoverflow.com/questions/tagged/office365

Best Regards,

Dennis


这篇关于对于Sharepoint加载项元素,接受外部共享邀请失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆