-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessing a shared mailbox #1146
Comments
This actually doesn't have anything to do with shared mailboxes. The code is failing in the autodiscovery step, which happens before mailbox access. Autodiscovery is not supported with the kind of OAuth token you're using. See https://learn.microsoft.com/en-us/exchange/troubleshoot/development/pox-autodiscover-not-supported-oauth-client-credentials-grant. There are a couple of things you can try:
|
UPDATE 2: Using SOAP-based autodiscovery fixed it (and fixing my typo helped with the following errors). @ecederstrand great, thank you very much!
I totally get if this is out of scope for an issue in your repo though. I just can't seem to find proper information on accessing shared mailboxes... Our old IMAP way doesn't work anymore unfortunately... UPDATE:
|
Describe the bug
I have a shared mailbox, say foo@example.com and a real licensed user user@example.com.
User
user
has access to the shared mailbox as can be seen in OWA.Running the script below always results in
To Reproduce
Expected behavior
Ability to browse the shared mailbox.
I can access the account itself using
But from there I also won't see the folders of the shared mailbox.
Additional context
Python 3.10, exchangelib 4.9.0
I'm super lost here and grateful for any help 🙏
The text was updated successfully, but these errors were encountered: