Sharepoint 2013 如何授予SharePoint应用程序对多个列表的读取权限

Sharepoint 2013 如何授予SharePoint应用程序对多个列表的读取权限,sharepoint-2013,office365,sharepoint-online,sharepoint-apps,Sharepoint 2013,Office365,Sharepoint Online,Sharepoint Apps,我刚刚创建了一个新的SP应用程序,并授予它对列表的读取权限: <AppPermissionRequests AllowAppOnlyPolicy="true" > <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Read" /> </AppPermissionRequests> 然后,当我将应用程序部署到SharePoint

我刚刚创建了一个新的SP应用程序,并授予它对列表的读取权限:

<AppPermissionRequests AllowAppOnlyPolicy="true" >
  <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="Read" />
</AppPermissionRequests>


然后,当我将应用程序部署到SharePoint Online时,我会看到一个对话框,其中我只能选择一个应用程序可以读取的列表。我的印象是,上述许可将适用于所有名单。部署后是否有方法授予更多列表的权限,或者我是否需要为每个要阅读的列表授予一个应用程序?

您需要更改应用程序权限请求的范围。 基本上,您需要更改
Scope=”http://sharepoint/content/sitecollection/web/**列表**“
范围=”http://sharepoint/content/sitecollection/web“

执行此操作时,应用程序可以访问站点中的所有列表

有关更多信息,请参见此