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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Client Side SOAP or Web API Authentication to CRM Online using Java Script (External HTML Web Page)

(0) ShareShare
ReportReport
Posted on by

Hi All,

Do you have any idea on how to connect to CRM Online from an external HTML Web Page using pure Java Script (SOAP or Web API)? I see below blog which works only for CRM Online O365 authentication, looking for CRM Onlne STS authentication

http://jlattimer.blogspot.in/2014/04/soap-authentication-to-crm-online-using.html

Any responses appreciated

Thanks,

Shaik

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    I don't think there's a secure way to authenticate with STS to your SOAP endpoint with JavaScript only. You probably need an intermediate api to do the authentication for you.

  • Verified answer
    Shaik Profile Picture
    on at

    This worked for me 

    Use OAuth with Cross-Origin Resource Sharing to connect a Single Page Application to Microsoft Dynamics 365

    https://msdn.microsoft.com/en-us/library/mt595799.aspx 

    I have another question. Is it possible to configure CRM credentials in SPA config (like service credentails) instead of authenticating end customer credentials. In fact we do not need Sing-in page to be displayed to the customer


    We have an Intranet HTML UI page talking to CRM Online (behind the scenes). We need to populate customer details in HTML, which are stored in CRM Contact. Customer is not an user in CRM. We are also evaluating MuleSoft ESB if Client Side does not work out. Appreciate responses

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans