简体   繁体   中英

Azure logic app cannot connect to salesforce sandbox

I have a logic app which connects to a salesforce sandbox instance and do some record upsert. It was working fine till last week, suddenly logic app started showing error.

Session expired or invalid 

I tried reauthorising salesforce connection. Authorisation was successful, but after i saved it will again shows following error

Test connection failed. Error ''

We contacted both azure and salesforce support as per them there is no problem on their side. Also we found that azure logic app is working with our production instances and every other sandbox instance.

So we think that issue is on this particular sandbox instance. We recently enabled communities, guest access and lightning out component on this instance, that was also long time ago. This logic app was working even after we made those change.

We do not have any other salesforce integration which uses oauth flow as azure logic app.

Is there any anyone familiar with this problem, please help us to identify the issue.

Thanks in advance

This turns out be a mistake on my side.

In the documentation it says

https://docs.microsoft.com/en-gb/connectors/salesforce/

Salesforce session settings can block this integration. Please ensure that setting "Lock sessions to the IP address from which they originated" is disabled.

Seems we enabled this feature for extra security, but we never thought it will effect the azure logic app integration.

Thanks all

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM