[英]Graph api- i can't get the invitation information about an shared item in the onedrive
I succeed to get my sharing items but I have an item which is shared with a external user. 我成功获取了共享项目,但是我有一个与外部用户共享的项目。
When I use this request: /me/drive/items/{item-id}/permissions 当我使用此请求时:/ me / drive / items / {item-id} / permissions
I have the list of internal user who the item is shared but I don't have any information about the external invitation that you can see inthe top of the picture. 我有共享该项目的内部用户列表,但是我没有关于外部邀请的任何信息,您可以在图片顶部看到这些信息。
I don't have the invition property like that : 我没有这样的invition属性:
{
"id": "string (identifier)",
"grantedTo": {"@odata.type": "microsoft.graph.identitySet"},
"inheritedFrom": {"@odata.type": "microsoft.graph.itemReference"},
"invitation": {"@odata.type": "microsoft.graph.sharingInvitation"},
"link": {"@odata.type": "microsoft.graph.sharingLink"},
"roles": ["string"],
"shareId": "string"
}
Do you have a solution? 你有解决方案吗?
Thanks. 谢谢。
I have the same issue. 我有同样的问题。
At this link , an answer was done 在此链接上 ,答案已完成
Other properties, like invitation and inheritedFrom are currently available for OneDrive Personal drives, but not available from OneDrive for Business or SharePoint document libraries.
OneDrive个人驱动器当前可以使用其他属性,例如邀请和InheritedFrom,但OneDrive for Business或SharePoint文档库则不可用。
Now using sharepoint library, i'm able to found all the permissions (including invitation and inheritedFrom. Maybe a workaround! 现在使用共享点库,我可以找到所有权限(包括邀请和InheritedFrom。也许是解决方法!
Try to use it to get the permisions! 尝试使用它来获得渗透!
I hope this help you! 希望对您有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.