I confirm that the tenant id I received agrees with the one given by the page 
you mentioned https://www.whatismytenantid.com/ .

We also got a client secret but I just tried in my config.json (I'm using 
oauth2ms):

{
      "tenant_id": "XXX",
      "client_id": "XXX",
      "client_secret": "XXX",
      "redirect_host": "localhost",
      "redirect_port": "5000",
      "redirect_path": "/getToken/",
      "scopes": ["https://outlook.office.com/IMAP.AccessAsUser.All";, " 
https://outlook.office.com/SMTP.Send";]
}

and replacing the client_secret line with the empty value:
      "client_secret": "",

works equally well. So it may only be the client_id that you're missing.

Thunderbird (sorry, it's a bit OFF here) does it all automatically, I enter my 
email address and O365 password, check that I want to use IMAP, then it 
complains that configuration could not be verified so in manual config I set

Incoming protocol: IMAP
Hostname: outlook.office365.com
Port 993
Connection security SSL/TLS
Auth method: Autodetect
Username <my full email including domain>

Outgoing sevrer:
Hostname: smtp.office365.com
Port: 587
Connection security: STARTTLS
Auth method: Autodetect
Username <my full email including domain>

and it connects just fine.

I suspect things also depend on how your workplace admin sets things up.

Best wishes,
Marton

On Thu, Jun 08, 2023 at 06:14:54PM -0400, H wrote:
> On 06/08/2023 05:42 PM, Marton Balazs wrote:
> > I could only get things to work when my workplace finally provided 
> > tenant_id and client_id. (Of course this doesn't mean it's impossible with 
> > Thunderbird's, but I couldn't succeed with those.)
> >
> > Best wishes,
> > Marton
> >
> > On Thu, Jun 08, 2023 at 04:23:50PM -0400, H wrote:
>
> The O365 Tenant ID is public information, see the website I mentioned in my 
> email. So you received an AppID from your administrator, did you also receive 
> the ClientSecret to go with it?
> 
> Can you now log onto and use your O365 mail account with Thunderbird?
> 


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to