@James Ainsworth@Martyn Houghton
Comming back to this after having a chat with support, they point to azure /office being an issue.
i disagree with that for reasons below.
- Have no logs from a azure / o365 point of view that there is a account issue.
- i can connect to shared mailbox user powershell with chillkat (trial)
- i can access mailbox via Postman.
- i can connect to mailbox using EAGetMail with .net (also trial) / other acount details
both console app / desktop app.
So did some more digging, turns out its a BUG (imho)
When you get the first login for the "email" user you want to save in the keysafe, it prompts you thereafter to consent.. this where it goes wrong.
The process saves the "Consenting" user details instead of the "email user" (managed to intercept the JWT token during the callback after Azure login)
Further you cant save credetials when not consenting directly in that flow. which is also broken (imo), why can't i just save credentials without consenting. what if i want to consent in another browser session i have open to azure ?
The only way for me to get it working is to disable the consent, and allow the "email " user to consent during the creation of the keysafe.