My company is using Microsoft Exchange server 2016. Each mailbox only has 1G space allocated. How can I get the mailbox usage information using python exchangelib?
I am using Python 3.9.5 with exchangelib 4.4. I can use exchangelib to send and receive email however, cannot find the right way to get the mailbox space.
EWS does not provide a direct API for this, but it seems you can get the folder size using extended properties. See eg How do I get folder size with Exchange Web Services 2010 Managed API?
exchangelib does support extended properties. Seehttps://ecederstrand.github.io/exchangelib/#extended-properties
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.