Closed jussihi closed 1 year ago
Nvm, found the problem. It seems like I cannot reuse a user instance once retrieved the UserCollectionResponse
with get
, I need to fetch everything at once:
messages = await (client.users.by_user_id("...").messages.get(request_configuration=request_configuration))
This fixed my issue. Closing this issue.
I cannot seem to get
Message
items out of a shared mailbox user.Here is my full code snippet:
it works fine, I can get the user information just fine. However, printing out the user information shows "None" as most of the values for the fields:
I've given my shared mailbox the required license (e5). I've also given my application Application permissions to
What am I missing? I'm trying to follow your docs but with a shared mailbox.