如何在SharePoint Online中使用PowerShell向子站点授予站点应用程序权限 [英] how to grant site app permissions to subsites using powerShell in SharePoint online
问题描述
在这里,我手动创建了一个.
预先谢谢您.
您好,dapdally
SharePoint在内容数据库和租期中支持四个不同的权限范围,这些范围是租期,网站集,网站,列表.
您只需要定义应用程序权限的范围,而不是将其添加到每个子站点.租期
安装外接程序的租赁.包括该范围内的所有子级.< AppPermissionRequests> < AppPermissionRequest范围="http://sharepoint/content/tenant",权利="FullControl"/> </AppPermissionRequests>
网站集
安装外接程序的网站集.包括该范围内的所有子级.< AppPermissionRequests> < AppPermissionRequest范围="http://sharepoint/content/sitecollection",权利="FullControl"/> </AppPermissionRequests>
参考文献: SharePoint中的加载项权限
最好的问候
Lisa Chen
I have a top level site it contains 100+ subsites i want add workflow app permissions to each site, its bit time taking by doing manually ,. i am looking powershell scripts to automate/one time fix. could you please help me.
here i have created one manually.
how do i create workflow site app permissions in all subsites in one click
Thank you in advance.
Hi yendapally,
SharePoint supports four different permission scopes within the content database and tenancy, those scopes are Tenancy, Site Collection, web , List.
You just need to define the scope for the app permission instead of adding it to each sub site.Tenancy
The tenancy where the add-in is installed. Includes all children of this scope.<AppPermissionRequests> <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" /> </AppPermissionRequests>Site Collection
The site collection where the add-in is installed. Includes all children of this scope.<AppPermissionRequests> <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" /> </AppPermissionRequests>Reference : Add-in permissions in SharePoint
Best Regards,
Lisa Chen
这篇关于如何在SharePoint Online中使用PowerShell向子站点授予站点应用程序权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!