[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 :
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!

13 Replies
Hey @BigBadVoodoo please use latest
0.53
version ( I would recommend directly consuming the 0.53
docker hub mirror instead of precising a patch version )
Do you have a prenium microsoft 365 account ? ( needs to be, no the free one )
You can get logs from imports within your worker container
Have you restarted your containers after uddating your env variables ?Alright, I did switch to the latest 0.53, and restarted the containers but it's not different. There is no "Connect with Microsoft" on the UI like there is on the SaaS version
You talk about account application or account m365 ... We dont have any button to try a connexion
Please double check your microsoft env variables configuration, high chances this comes from there. @Guillaume could you please give this an eye when you have some free time please ?
There is a new feature where we look in the database for variables like thoses ones. can you make sure you have the same values here http://localhost:3001/settings/admin-panel#config-variables ?
The button should appear if the approparites env vars are setup
indeed these microsoft vars are null in the admin panel :
but they are set in the .env file. All other variables are just like the .env file

Have you updated your docker-compose.yml file too ?
Pas sur :/
too bad, it was still off in the compose
This should do the trick !
👍
indeed, thanks for that !
Perfect ! Enjoy coding !