Powershell-SharePoint Online-需要标识具有外部用户(匿名或命名)的网站. [英] Powershell - SharePoint Online - need to identify sites that have external users (anonymous or named).
问题描述
我有一个脚本,可以读取所有站点并使用两种方法查找外部用户.
I have a script that reads all sites and looks for external users using two methods.
1.查找电子邮件地址包含#ext#的任何用户,以查找来自外部的用户.我有这个工作.
1. Looks for any user that has an email address that contains #ext# to find users that are from the outside. I have this working.
2.需要找到任何具有AnonymousState配置的站点.
2. Need to find any site that has the configuration of AnonymousState set.
在浏览所有网站时,我很难获得此设置.如果有人可以提一下我向我展示如何做到这一点,我将很感激.
I'm having a hard time getting this setting as I progress through all the sites. If anyone could give me a snipet to show me how to do this, I would be thankful.
谢谢.
推荐答案
在SharePoint Online中,网站一级没有匿名访问权限 .
公共网站功能已删除,因此我不确定您的第二个要求,您能解释更多细节吗?
https://support.microsoft.com/zh-cn/help/3027254/information-about-changes到共享点在线公共网站功能办公室
最好的问候,
李
这篇关于Powershell-SharePoint Online-需要标识具有外部用户(匿名或命名)的网站.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!