Azure Login: Error 422

Infos:

  • Used Zammad version: 3.3.x
  • Used Zammad installation source: (source, package, …) package
  • Operating system: Ubuntu
  • Browser + version: chrome (latest), edge (latest), safari (latest)

Expected behavior:

  • After klick on the Office365-Button and after Signed In at Azure, I should be redirected to the now opened zammad-session

Actual behavior:

  • After Login at Azure and redirect to zammad, I get an Error 422 (The change you wanted was rejected.)
    In my Logs, I see the Following error-message:

ERROR – : (microsoft_office365) Authentication failure! invalid_request: OmniAuth::Strategies::OAuth2::CallbackError, invalid_request | AADSTS50194: Application ‘YOURIDHERE’(Helpdesk) is not configured as a multi-tenant application. Usage of the /common endpoint is not supported for such applications created after ‘10/15/2018’. Use a tenant-specific endpoint or configure the application to be multi-tenant.

Does someone as a tip for me?

Thanks a lot,

daniel

Please configure your Microsoft App to be multi-tenant enabled.
Single tenants (e.g. “only my corp”) currently is not possible because of Zammads way of authentication.

I’m sorry.

ah, ok, understand.
Then I need to do it with saml.

Thanks a lot.