hjvn2211445 大佬有话说 :
Office子号批量解除阻止登录
https://docs.microsoft.com/zh-cn/office365/enterprise/powershell/block-user-accounts-with-office-365-powershell
下面那个使用用于 Windows PowerShell 的 Microsoft Azure Active Directory 模块。
若要解除阻止该文本文件中列出的帐户,请运行以下命令:
Get-Content "C:My DocumentsAccounts.txt" | ForEach { Set-MsolUser -UserPrincipalName $_ -BlockCredential $false }
补充
要先安装好模块,PowerShell版本要5以上
#下载安装官方提供的Azure Active Directory Connection http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185
#请在本地用管理员身份打开PowerShell,并运行命令 Install-Module -Name AzureAD
#下载安装官方提供的Microsoft Online Service Sign-in Assistant for IT Professionals https://go.microsoft.com/fwlink/p/?LinkId=286152
#连接到MSOL
Connect-MsolService
#列出所有被禁用户(手动操作一下,放进Accounts.txt)
Get-MsolUser -ALL-EnabledFilter DisabledOnly
#解除
Get-Content "C:My DocumentsAccounts.txt" | ForEach { Set-MsolUser -UserPrincipalName $_ -BlockCredential $false }
hjvn2211445 大佬有话说 :
叶子 大佬有话说 : 2020-6-8 16:07
后台管理界面筛选阻止用户可以批量设置
haha,以前没留意呢
https://s3.jpg.cm/2020/06/08/X1Wbf.pnghttps://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif
小沨 大佬有话说 :
:lol. 在出个 批量开子账户的就好了
师太 大佬有话说 :
小沨 大佬有话说 : 2020-6-8 16:04
. 在出个 批量开子账户的就好了
早就有了
飘云 大佬有话说 :
感谢分享了。
小沨 大佬有话说 :
师太 大佬有话说 : 2020-6-8 16:05
早就有了
求分享
叶子 大佬有话说 :
后台管理界面筛选阻止用户可以批量设置
师太 大佬有话说 :
小沨 大佬有话说 : 2020-6-8 16:07
求分享
https://www.zxd.win/16.html
小沨 大佬有话说 :
师太 大佬有话说 : 2020-6-8 16:08
https://www.zxd.win/16.html
这个昨天试了一下 错误 额
longmao 大佬有话说 :
yc019t还是嘉佬会折腾