Authorizing the SharePoint connection in JungleMail
Whether you want to use a SharePoint list as a recipient source, include content into your newsletter from SharePoint, or filter the recipients based on a SharePoint list view, you need to enable the SharePoint connection. The connection is always enabled if you start using JungleMail 365 via the SharePoint app. However, you need to enable it if you open JungleMail via the Web App.
To authorize the connection
Microsoft Entra ID app using a service account
This option allows administrators control of which resources in SharePoint JungleMail is able to access. All connections to SharePoint will be done using the configured service account, and not JungleMail user accounts. Visitor-level permissions are enough for the service account, and only in those SharePoint sites where regular users will be pulling the data from.
To configure the connection, select the Micrsoft Entra ID app using a service account option and enter the SharePoint site URL which the service account can access. This will grant JungleMail access to all sites the User account can access.
When authorizing the connection, the authorization should be done using the service account, not the admin account. Approval for the "JungleMail 365 SharePoint Connection" Enterprise application will need to be granted for the service account.
When using the service account to authorize the connection, it is recommended to configure the app so that only Assigned users are able to use it. To do that, navigate to the
Azure Portal > Enterprise Applications > JungleMail 365 SharePoint Connection > Manage > Properties and set the Assignment requred? to Yes.
Note
Please remember to assign the service account permissions to the sites where JungleMail should connect to.
Microsoft Entra ID app using a personal account
This option allows the JungleMail app to access the same resources as the JungleMail user. All connections to SharePoint will be done using JungleMail User Accounts.
To configure the connection, select the Micrsoft Entra ID app using a personal account option and enter the SharePoint site URL which the service account can access.
Note
Each user will need to authorize their own connection. If user consent is disabled in the Azure Portal, each request will need to be approved individually.
To avoid that, you can grant admin consent for the JungleMail 365 SharePoint connection application, and authorization for users will be much easier.
SharePoint App (legacy)
The SharePoint App (legacy) connection uses App + user permissions, which means JungleMail users cannot access SharePoint content which they do not have access to. The SharePoint App method is a legacy solution and will stop working from April 2, 2026.
The requirements for enabling the SharePoint App legacy connection are listed below.