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)

Calling CRM API's from a website - Complete beginner

(0) ShareShare
ReportReport
Posted on by

Hi Guys

I am very new to all this so need a little guidance. I have Dynamics CRM 2016 set up in Office 365.

I have a task where I have to add a few pages/functionality to an existing pretty static website so that I can do the following for a start:

1. Allow a user to register/login to the CRM by clicking on something in the website.

2. Add their own details and save in CRM

3. Edit their own details and save in CRM

As I said I am very new to all this, I can write HTML and have been trying to understand what I need to do but I don't know what is available to use or how to use it yet. I saw that I may need to use Azure AD for the authentication, but if it can all be done with API's from CRM then that would I assume be easier?

Thanks in advance for any suggestions and your patience.

Loretta

*This post is locked for comments

I have the same question (0)
  • Mahadeo Matre Profile Picture
    17,021 on at

    For CRM programming details you can download CRM 2016 SDK.

    SDK will have some sample code, which will help you to start with basic authentication etc.

    you can download SDK from

    www.microsoft.com/.../details.aspx

  • Community Member Profile Picture
    on at

    Hi Mahadeo

    Thanks for the information, I have downloaded the SDK but don't know where to start.

    Would you have any examples or a link to an easy tutorial to get me going?

    Thanks

    Loretta

  • Suggested answer
    Teddyable Profile Picture
    155 on at

    Hello Loretta

    another approach is instead of writing everything from scratch there is a microsoft product out of the box called CRM portal or ADxstudio https://www.adxstudio.com/

    It allows you to expose CRM data to an external interface.without coding..

    try it out for free and see if it fit your long term requirement, instead of reinventing the wheel.. you may be able to sell this to your management as its a better long term investment.

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    If you want to develop this yourself, you will need to write custom code in your current website or built a new website.

    1. You can have a look at Azure B2C to authenticate your users or use some other system to store your user credentials in a secure way. Adxstudio stores these credentials in CRM. If you are creating your own username/password store, please know what you are doing and how to do it securely. You cannot use your own Office365 Azure AD, as you would need to add every customer to your tenant.

    2&3 You need to map your users identy to an account or contact in CRM and you need to built some business rules to make sure they are only allowed to update their own records.

    If you are not an experienced developer with some knowledge of C# (or any other programming language) I would surely go with the Microsoft portals from Adxstudio.

  • Community Member Profile Picture
    on at

    Thanks for this information. I don't think we can afford Azure B2C or adxstudio to be honest, so will have to try and write it myself. Any beginners tutorials would be greatly appreciated.

    Thanks

  • Community Member Profile Picture
    on at

    That looks great but we definitely wouldn't be able to pay for that, shame seemed very good.

  • Suggested answer
    Tim Dutcher Profile Picture
    2,100 on at

    Here's a tutorial that looks like it's close to what you need.

    msdn.microsoft.com/.../mt595797.aspx

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at

    Azure B2C is free for the first 50.000 users. So don't know the scale of your app, but it might be a cheap option.

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