如何为“搜索”设置应用程序主体权限范围通过PowerShell? [英] How to set an app principal permission for "search" scope via PowerShell?

查看:65
本文介绍了如何为“搜索”设置应用程序主体权限范围通过PowerShell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的应用主体设置"搜索"权限范围:

I want to set a permission to my app principal for the "search" scope:

似乎  Set-SPAppPrincipalPermission &bbsp b
没有描述所有可用范围:

如何设置Visual Studio中可用的其他范围的权限?喜欢:

How can I set the permission for other scopes available in Visual Studio? Like:

如果有帮助,请标记为答案。

Please, mark as answer, if this helps.

推荐答案

据我所知,在PowerShell中,[ SPCmdletAppPrincipalPermissionScope ]的值是其中一个范围:

Per my knowledge, in PowerShell, the value of [SPCmdletAppPrincipalPermissionScope] is one of the scopes:

Farm Site集合SharePoint Online Web文档,列表或库

Farm Site collection SharePoint Online Web Documents, List, or Library

https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/set-spappprincipalpermission?view=sharepoint-ps

祝你好运,

Lee Liu


这篇关于如何为“搜索”设置应用程序主体权限范围通过PowerShell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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