You are viewing limited content. For full access, please sign in.

Question

Question

Oauth2.0 Email setup for LF Forms 12

asked on June 24

I'm having trouble getting Oauth2.0 authentication to work with LF 12 forms.  I've been through the documentation and settings multiple times but I keep getting the following error

I have my redirect URIs set 

Client secret is configured

API permissions are set (SMTP.Send was added after the authorize was run through the forms config page)

The Authorize is successful

The account being used as the from account has all Email apps allowed and does not have MFA enforced on it.

But the test results in the Authentication Unsuccessful message.

 

Any idea what I may be missing?

 

 

0 0

Replies

replied on June 24

I just figured this out!  In case it helps anyone in the future.  You need to use the same sender account when logging in under the Authorize button.  My login kept popping up as the domain admin account and my muscle memory always kicked in and clicked through the authentication prompt.

Logging in as the sending email account under the Authorize button completed the authorization and following that was I able to successfully test the email send.

 

3 0
replied on June 26

Following up on this issue. 

 

We are now having an issue with the Workflow OAuth connection. We have filled out the email Authentication with the exact info used for Forms Config. We have also added the return URI to laserficheserverURL/Workflow. We keep getting "Access is Denied."

0 0
replied on June 29 Show version history

Hi Nicholas, are you using Microsoft 365 OAuth 2.0 in Workflow? If so, it is expected that the authentication fails because the authentication methods of Forms and Workflow are different. Please follow instructions here to register a new app for Workflow email authentication.

Prerequisites for Microsoft 365 OAuth 2.0 Configuration

0 0
replied on July 2

Hi Chao

 

We have setup a dedicated APP registration for the WF email and followed the documented pre-requisites.  It is still returning "Access is Denied" on the email test.  

I have a case opened with LF support.  I will update this thread if a resolution is found.

 

Thank you.

0 0
replied on July 11

We found a resolution for this.  We had set the App Permission for mail.send as a delegated permission.  Changing it to an App permission resolved the issue.

 

 

0 0
replied on June 25

This worked for me! Thank you for posting. The only thing I had to do was allow user consent for apps temporarily.  If I would request authorization and try and approve it as an admin in Entra  under Admin consent requests it still wouldn't work.  I know there is a bug in 11U5 but the setting that was recommended for that still didn't work so I just had to allow user consent for 10 mins and approve it.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.