python-o365 icon indicating copy to clipboard operation
python-o365 copied to clipboard

Account Enabled returning "none"

Open cadugevaerd opened this issue 4 years ago • 1 comments

directory = account.directory() for user in directory.get_users(): print(user.account_enabled)

cadugevaerd avatar Aug 31 '21 21:08 cadugevaerd

The account_enabled property is not returned by default. You must "select" it with the Query.select method.

alejcas avatar Sep 03 '21 10:09 alejcas