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

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Jason Lattimer's Blog / SOAP Only Authentication Us...

SOAP Only Authentication Using PHP

jlattimer Profile Picture jlattimer 24,562
I've seen a few PHP examples floating around that connected to CRM Online but I'm not sure I've ever seen any that will also connect to an On Premise IFD organization. This is basically a port of the C# version that I previously posted to PHP. Prior to this I've never done any PHP development so if the code is terrible - sorry. Hopefully though it gives anyone doing PHP development a starting point for connecting directly to Dynamics CRM without having a .NET middle tier in place to facilitate the exchange. 

I've created a sample application that authenticates to CRM and returns the logged in user's name.

https://github.com/jlattimer/CRMSoapAuthPHP

The code to create the SOAP headers looks like this:


This was originally posted here.

Comments

*This post is locked for comments