How to find AD Disabled Accounts with Skype for Business Enabled

skype-for-businessAs you definitely know disabling user in Active Directory won’t disable it in Skype for Business. That’s because Skype for Business uses it’s own AD attributes. So such users will still be visible in Skype for Business Control Panel and in licenses count.

Here is a Powershell command that will find Active Directory disabled accounts with Skype for Business enabled:

You can also count such users with:

Finally, you can disable Skype for Business users that have their AD account disabled with:

 

 

Be sociable 🙂 Share!
error

Comments/Коментарі/Комментарии