OAuth2 Multitenant Support and Configuration for Znuny Application

Moderator: crythias

Post Reply
helpmeplease
Znuny newbie
Posts: 11
Joined: 14 Mar 2025, 14:11
Znuny Version: 7.1
Real Name: Maialen Alonso

OAuth2 Multitenant Support and Configuration for Znuny Application

Post by helpmeplease »

Hi,

I wanted to ask if it's possible to configure OAuth2 access for an email account under the domain @prueba2.com using an app that's registered in the Azure tenant of another organization, @prueba1.com. Specifically, I'm trying to understand if the app needs to be set as multitenant and whether admin consent from the @prueba2.com tenant is required. Also, does the OAuth2 integration in Znuny support using a multitenant app for connecting to mailboxes in different Azure tenants?

Thanks for your help, :D :D
root
Administrator
Posts: 4232
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OAuth2 Multitenant Support and Configuration for Znuny Application

Post by root »

Hi,

This should work if you use a service principal that has all permissions for the involved mailboxes.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply