web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Salesforce Opportunity...
Power Automate
Unanswered

Salesforce Opportunity TO Dynamics Crm Opportunity

(0) ShareShare
ReportReport
Posted on by

HI, 

has anyone managed to get salesforce and dynamics linked up, my aim is to get any opportunities with a specific field criteria in SF to create the same Opp in dynamics, everything i've tried fails. latest issues are connection related but the link is there 

 

Error
  • Code
    BadRequest
  • Message
    Http request failed with status code 'ConnectFailure' and status message: 'Unable to connect to the remote server'.

 

 

Anyone else tried or failed in the above scenrio i would imagine it would be a common one?

 

Thanks 

Categories:
I have the same question (0)
  • telu Profile Picture
    Microsoft Employee on at

    Hi alexadkin,

     

    Are connections all right? make sure it connect to your account email instead of Salesforce or Dynamics.

    connection.PNG

    And for further debuggin,

    Could you share with me the flow id?

    When you open the flow, the URL should look like the following

    https://flow.microsoft.com/manage/flows/<xxx>

    it's a guid.

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    hi, 

     

    the only sucessful ones are the ones that dont meet the criteria

     

    failed guid 

     

    https://flow.microsoft.com/manage/flows/d5b6080d-525a-48d1-887b-54335560b468/runs/08587336616655214300

     

    successful guid 

     

    https://flow.microsoft.com/manage/flows/d5b6080d-525a-48d1-887b-54335560b468/runs/08587336074512718345

     

    set up as emails as shown in your post.. 

     

    same flow so one shows connection issue the failed one and the sucessful ones runs (albeit without the specific criteria)

     

    Thanks

  • telu Profile Picture
    Microsoft Employee on at

    Hi alex,

     

    Based on the error message I got from our log

    {
    "code": "ActionConditionFailed",
    "message": "The execution of template action 'Create_a_new_record' is skipped: the condition expression '@equals(triggerBody()['Type'], 'Impero Existing')' is not satisfied: 'False'."
    }

    Did you set a condition of "type is equal to False"? I think the condition might be a string.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    hi that one runs ok as you can see, the one that should meet the criteria ie salesforce field = impero existing

    all fail

    Thanks

  • telu Profile Picture
    Microsoft Employee on at

    Hi Alex,

     

    Does the impero field always exist? Is it because this field sometimes this field is undefined?

    Could you take a screenshot for the condition field for a better debugging?

     

    Thank you.

  • Community Power Platform Member Profile Picture
    on at

    HI, 

    the field always exists however isnt always populated. 

    You want a screenshot from salesforce or the flow?

    Thanks 

  • Community Power Platform Member Profile Picture
    on at

     

    salesforce.PNG

     

  • telu Profile Picture
    Microsoft Employee on at

    Hi alex,

     

    could you use "Impero Existing" with quotes instead of Impero Existing?

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    just tried that will report back asap

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    ok i have had to change the condition, now i get this. Many Thanks

     

    status": 500,
    "message": "Unknown error.",
    "source": "dynamicscrmonlineconnectionprovider-centralus.tip0.p.azurewebsites.net"
    }
    Headers
    {
    "Pragma": "no-cache",
    "x-ms-request-id": "6114c7a0-68b2-4b92-8fb4-12ccf9db0840",
    "Cache-Control": "no-cache",
    "Date": "Mon, 11 Jul 2016 20:02:25 GMT",
    "Set-Cookie": "ARRAffinity=a0d9ab6dc8facbfb6adc55a4577a3242faedf7e86b07d9afecd63b6b5836935b;Path=/;Domain=dynamicscrmonlineconnectionprovider-centralus.tip0.p.azurewebsites.net",
    "Server": "Microsoft-IIS/8.0,Microsoft-HTTPAPI/2.0",
    "X-AspNet-Version": "4.0.30319",
    "X-Powered-By": "ASP.NET",
    "Content-Length": "123",
    "Content-Type": "application/json; charset=utf-8",
    "Expires": "-1"
    }

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard