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:



Want me to do this for you? Drop me a line: itgalaxyzzz {at} gmail [point] com