用于检索 Office 365 用户同步类型的 PowerShell 方法?

标签 powershell azure active-directory office365 azure-active-directory

在portal.office.com上,事件用户列表显示“同步类型”列,可以是“与Active Directory同步”或“在云中”。能否使用 PowerShell 检索此“同步类型”作为 Azure AD 用户的属性(例如使用 Get-MsolUser)。

此外,是否可以强制标记为“云中”的用户与具有相同 userPrincipalName 的本地 Active Directory 用户同步?

最佳答案

同步类型是 Office 应用程序的属性,而不是 AzureAD 用户的属性。因此您无法通过这种方式检索它。

只要用户名是唯一的,您就可以在 AzureAD 中同步用户。

关于用于检索 Office 365 用户同步类型的 PowerShell 方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39649433/

相关文章:

windows - 为什么PowerShell在执行我的命令之前关闭ff-prompt.bat

arrays - 为什么表达式需要在数组的括号中

c# - 使用await和async返回字符串列表

c# - 在特定 OU Active Directory 中搜索用户

active-directory - Sonar 库 LDAP : error code 1 and 49

powershell - Azure SFTP 连接器,创建后无法编辑应用程序设置值

powershell - 通过PowerShell安装exe时可以替代时间延迟吗?

azure - New-AzADAppCredential 生成客户端 key

c# - BrokeredMessage 在等待后被处置

powershell - 我可以在变量中传递 Powershell Get-ADUser -Properties 吗?