python-o365
python-o365 copied to clipboard
Account Enabled returning "none"
directory = account.directory()
for user in directory.get_users(): print(user.account_enabled)
The account_enabled property is not returned by default. You must "select" it with the Query.select method.