I setup the paperless office app in Office365 and Sage 100 Standard 2022 (Version 7.10.2.0). The Office365 account is NOT using multi-factor. Sage is prompting to the login every time I use the email option.
I setup the paperless office app in Office365 and Sage 100 Standard 2022 (Version 7.10.2.0). The Office365 account is NOT using multi-factor. Sage is prompting to the login every time I use the email option.
Here's a link to a prior Sage City post which discussed setup in more detail. You may have already seen this - www.sagecity.com/.../microsoft-o365-email-and-oauth-setup-in-paperless-office
I saw that post; the patches are for failed login and send. I can login and send the email, but Sage requires I enter the login every time I want to send a paperless office email. From my reading I am using 2022 SP2 or am I wrong. Note: I used an admin account to register the O365 app.
You need to add the offline_access scope to your existing scope. E.g.
"outlook.office.com/SMTP.Send offline_access"
Without the offline_access scope, you won't get a refresh token and will be forced to authenticate on each use, as you have already noted.
Regards,
Russell
That fixed it for me.
Thank you very much.
I have noted that I get an error if I don't check both PDF and EMAIL, but the EMAIL is sent.
*Community Hub is the new name for Sage City