Microsft365 AD vinculation when users already exist in Zammad


  • Used Zammad version: 6.3.1-1716835376.47297604.jammy
  • Used Zammad installation type: (source, package, docker-compose, …)
  • Operating system: Ubuntu 22.04.4 LTS
  • Browser + version: Microsoft Edge for Business Version 125.0.2535.92 (Official build) (64-bit)

After configuring the m365 AD integration in security, all works fine following the documentation.

If I log in into the application with a new user (user that never have sent tickets and not exist in Zammad) the login was perfomed succefully.

But If I log with my account, I see the following message:

I understand that my account already exists but If I’m login with m365 account and the user with same email exists is because we are the same, I don’t want to recreate all the accounts because all the existent tickets already have been link with currents users

Exist some way to vinculate the current zammad account with m365 login accounts?


To solve this I set Automatic account link on initial logon to yes

This way if an existing user shares the email address (e.g. from an import and then the system switches to OAuth) it is linked to the existing Zammad account

Please verify with your use case if this is what you are looking for in the official documentation here:


1 Like