【发布时间】:2017-08-05 18:41:29
【问题描述】:
目标:
使用 powershell,从 sharepoint 在线用户配置文件中获取所有用户及其 AboutMe 属性值。
问题
试过Get-SPOUser,跟着MS TechNet: Get-SPO User,也试过TechNet Script,但它只返回少数管理员用户,而不是所有用户。
我相信这是因为 SPO 中的所有用户帐户都是这样的:
i:0#.f|membership|doris.lee@contoso.com
我需要遍历基于声明的集合,而不是基本的 SPO-User 集合。我不确定哪个对象或集合有 "i:0#.f|membership|doris.lee@contoso.com" 以及如何访问它?
【问题讨论】:
-
请检查这个问题。这可能会帮助你。 stackoverflow.com/questions/34795790/…
-
谢谢阿尼特。你为我指明了正确的方向。
标签: powershell sharepoint sharepoint-2013 office365 claims-based-identity