Get-MsolUser -UserPrincipalName asif@mydomain.com |选择 * [英] Get-MsolUser -UserPrincipalName asif@mydomain.com | Select *

查看:106
本文介绍了Get-MsolUser -UserPrincipalName asif@mydomain.com |选择 *的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Get-MsolUser -UserPrincipalName asif@mydomain.com |选择*

Get-MsolUser -UserPrincipalName asif@mydomain.com | Select *

这提供了很多属性,但没有提供SamAccountName.为什么?有没有办法在这里从AD复制SamAccountName?否则,我需要基于UPN在AD中进行另一个查询以提取SamAccountName.有25,000个用户需要2天 使用UPN拉samAccountName

This gives lots of attributes and properties but not SamAccountName. Why? is there a way to replicate the SamAccountName here from AD? otherwise I need to do another query in AD based on UPN to pull SamAccountName. There are 25 thousand users takes 2 days to pull samAccountName using UPN

推荐答案

答案在以下线程中:

The answer is in this thread: https://social.msdn.microsoft.com/Forums/en-US/e400c1c8-c803-4af1-8a90-0a1ff246f844/samaccountname-attribute-in-azure-ad?forum=WindowsAzureAD

TL; DR版本,您无法通过O365 PowerShell来获得此版本.

TL;DR version, you cannot get this via O365 PowerShell.


这篇关于Get-MsolUser -UserPrincipalName asif@mydomain.com |选择 *的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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