내 커뮤니티 업적 표시줄을 확대합니다.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
해결됨

Destination Connector AEP to Salesforce CRM

Avatar

Level 2

Hi Community,

 

I have issues connecting my AEP sandbox with Salesforce CRM (other way round - Source Connection - works fine!). As described here (https://experienceleague.adobe.com/docs/experience-platform/destinations/catalog/crm/salesforce.html) I have created a connected app and collected all relevant credentials - but it's not possible to connect the instances. Is there any additional setting I should know about?

 

udvbia_0-1709633516207.png

 

Maybe the connected app is falsely configured? I have added the IPs (see below). Furthermore, there is a "Callback URL" required but not mentioned in the AEP documentation - does anyone have experience here?

Connected app.png

 

Best

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee Advisor

call back URL can be anything, you can use localhost.

 

Fill in all the required fields and have your client_id key (labelled 'Consumer Key') and client_secret (labelled 'Consumer Secret').

Once done, 
select 'Manage' then 'Edit Policies'

  1. Make sure IP relaxation is set to Relax IP restrictions,

  2. and make sure that Permitted Users is set to "All users may self-authorize.",

  3. and also make sure the your Security > Network Access > Trusted IP Ranges has been set

AEP IP addresses are listed in this [1]  ; use a tool like "ipcalc" to find min and max host.

[1] - https://experienceleague.adobe.com/docs/experience-platform/destinations/catalog/streaming/ip-addres... 

원본 게시물의 솔루션 보기

5 답변 개

Avatar

정확한 답변 작성자:
Employee Advisor

call back URL can be anything, you can use localhost.

 

Fill in all the required fields and have your client_id key (labelled 'Consumer Key') and client_secret (labelled 'Consumer Secret').

Once done, 
select 'Manage' then 'Edit Policies'

  1. Make sure IP relaxation is set to Relax IP restrictions,

  2. and make sure that Permitted Users is set to "All users may self-authorize.",

  3. and also make sure the your Security > Network Access > Trusted IP Ranges has been set

AEP IP addresses are listed in this [1]  ; use a tool like "ipcalc" to find min and max host.

[1] - https://experienceleague.adobe.com/docs/experience-platform/destinations/catalog/streaming/ip-addres... 

Avatar

Level 2

Thank you Nirmal_Jose!

Your remarks are great and I tried it again, but unfortunately, the connection keeps failing. 

 

Any other idea what could be wrong? Is there maybe an API Call I can perform with these credentials to see whether the credentials itself are correct?

Avatar

Employee Advisor

Interesting, can you check whether REST APIs are enabled using the sfdx command line before the process:

 

> sfdx auth:web:login -a nirmal@mydem.sandbox --instanceurl=https://mydemo3-dev-ed.develop.my.salesforce.com
Successfully authorized nirmal@mydemo.sandbox with org ID 1232231232​

 

There are a few tips and tricks mentioned in [1] like API url etc. 

[1] - https://stackoverflow.com/questions/12794302/salesforce-authentication-failing

Avatar

Level 2

HI - I found the issue. The domain contained a "XXX.development" which had to be added. Thanks @Nirmal_Jose  you helped me a lot!

Avatar

Employee Advisor

I am not able to connect to Salesforce from AEP. I have the correct Client ID and Secret Key. Added the network access as shown. When I click on Connect I get Invalid Request in the browser console 

workflowuser_0-1744259557886.png