TwentyT
Twenty9mo ago
17 replies
BigBadVoodoo

[self-hosting] M365 link doesn't seem to be working

Hi, I'm trying to set up M365 with Twenty 0.53.0 to use the email/calendar feature.
I have set up the environment variables and the cron jobs just like this says : https://twenty.com/developers/section/self-hosting/setup#for-outlook-and-outlook-calendar-(microsoft-365)

My vars are as follows :
MESSAGING_PROVIDER_MICROSOFT_ENABLED=true
CALENDAR_PROVIDER_MICROSOFT_ENABLED=true
AUTH_MICROSOFT_ENABLED=true
AUTH_MICROSOFT_CLIENT_ID=myid
AUTH_MICROSOFT_CLIENT_SECRET="mysecret"
AUTH_MICROSOFT_CALLBACK_URL=https://mydomain.com/auth/microsoft/redirect
AUTH_MICROSOFT_APIS_CALLBACK_URL=https://mydomain.com/auth/microsoft-apis/get-access-token


But there is no difference in the app (see image). How to get logs for this, and how can I debug this problem?

Also, my Twenty setup is exposed on the public internet, is this necessary for the M365 link to be working?

Thanks!
image.png
Was this page helpful?