NotePage, Inc. Forum Index

How to configure OAUTH with Office365 in PageGate

 
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support
View previous topic :: View next topic  
Author Message
Tech Support



Joined: 25 Aug 2003
Posts: 4395

PostPosted: Fri Jul 18, 2025 11:32 am    Post subject: How to configure OAUTH with Office365 in PageGate Reply with quote

NOTE: This will require a licensed mailbox with the SMTPClientAuthentication property enabled.

1) Log in to the Microsoft Entra portal

2) On the left, select App Registrations

3) Click "New Registration"

4) Give the new app a name, we recommend PageGate

5) Select the "Single Tenant" option.

6) In the "Redirect URI" section, select Web and use the following URL: http://localhost:3017/

7) Click Register.

8) Make a copy of the Directory (tenant) ID and Application (client) ID

9) Click "Add a certificate or secret"

10) Click "New Client Secret"

11) Add the description: PageGate Secret

12) Click Add

13) Copy the Client Secret value (not the Secret ID)

14) On the PageGate server, run o365oauth.exe in the PageGate program directory.

15) Provide the Tenant ID, Client ID and Client Secret Values.

16) Click 'Retrieve Tokens'

17) When asked to log in, you MUST use the account PageGate will be using.

18) Accept the permission request.

19) Back in the PageGate OAUTH application, click the 'Copy Settings to Clipboard' button.

20) Open Notepad (or your preferred text editor)

21) Paste everything into Notepad.

22) Add the following lines:
From = The email address used for authentication
EnvelopeFrom = The email address used for authentication

23) Highlight and copy everything to the clipboard.

24) Open PG Admin.

25) Go to Carriers - Any/All Carriers that use SMTP - Template

26) Overwrite everything in the 'Settings' template with what you have copied to the clipboard.
Note: If you have references to any PageGate filters, do not remove those lines.

27) Click Apply.


Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Theme created by Vjacheslav Trushkin