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)

C# integrated Application with Dynamics crm that is hosted On the cloud

(0) ShareShare
ReportReport
Posted on by 150

Dear All,

kindly note that i have a web application that is integrated with dynamics CRM that is hosted on premises using XRM SDK. and now we are going to host the  CRM  on the cloud, so what  should we  exactly change in order to keep the application working successfully.

your quick answer is appreciated,

Adel Al Orabi

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    from what version of crm onpremise to crm online version you want to migrate?

  • Adel Orabi Profile Picture
    150 on at

    CRM 2011

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Adel ,

    follow this flow:

    1) create an azure account

    2) create a new web application

    3) publish your application through visual studio (it is all automatic providing your credentials=

    4) you need to activate express azure directory autentication in web app

    5) follow this tutorial https://blogs.msdn.microsoft.com/devkeydet/2013/01/14/crm-online-windows-azure-improving-the-sso-experience/ 

    6) you are done

    Please let me know if you solve.

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    There are a few things that you would need to do in order for the application to work with CRM Online.

    1. The versioning of the SDK or any CRM dll files that you might be using right now for CRM Online, should be changed to the new versions of CRM. You can download the Microsoft Dynamics CRM if your cloud version in 8.2, or if your cloud version id 9.0 you will need to download this from the Microsoft docs web site:

    docs.microsoft.com/.../download-tools-nuget

    2. Previous version of Microsoft Dynamics CRM used to connect to the environment using Xrm.Sdk.Client assembly. In versions 8 and above (possibly earlier), Microsoft released the Microsoft.Xrm.Tooling.Connector assembly, which replaced the Sdk Client connector completely.

    You will have to modify your code to use the new assembly and replace the old one.

    3. This is related to the previous step, and kind of obvious, but your connection string or how you build you connection to Crm has be changed. Although with the new Tooling.Connector you can use the CRM Connection class to perform all the functions you would use against the CRM environment, to minimize your code changes, you can still use the Organization Service with CRM 9.0

    Finally, this is dependent on your timeline and budget, and the version of CRM Online you are moving to, but you should eventually consider moving your code from using the Organization Service to using WebApi.

    It might be worth to wait a little with this and see if Microsoft releases a version of Microsoft.Xrm.Sdk that will connect to WebApi instead of you having to write the code to do it.

    Hope this helps.

  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at

    Seems you wish to migrate 2011 on premise to CRM online if so pls refer the below links for the steps and approaches.

    www.youtube.com/watch

    community.dynamics.com/.../214564

    Hope this helps. Pls mark it as Answered/Verified to close the thread if suggestion resolved your query

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Adel Orabi,

    if you solved the problem thanks to an answer, please mark it as verified to encourage the community to provide more and more a better support. Thank you. Francesco

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Adel Orabi Profile Picture
    150 on at

    Dear Aric,

    So from your answer i can get that i don't need to publish anything from my side on the cloud. i only have to change the XRM sdk to the new one in order to connect to CRM that is installed on the cloud.

    please note that i need to publish my web application on premises not on the cloud, but the crm that i need to integrate with it is installed on the cloud

    Thank you

  • Verified answer
    tw0sh3ds Profile Picture
    5,600 on at

    You don't have to publish anything on the cloud just make sure that your application has internet access (or at least access to CRM Online services), rebuild it against .NET 4.6.2 and latest Xrm.Sdk. If it's that old you will probably have to change how you connect to CRM, right now the best way is to use XRM.Tooling:

    msdn.microsoft.com/.../jj602970.aspx

  • Adel Orabi Profile Picture
    150 on at

    Thank you Dear,

    i want to ask you if there any possibility to have a  testing lab on the cloud if we need to test our application using the latest version of the CRM SDK

    Best Regards

  • Verified answer
    tw0sh3ds Profile Picture
    5,600 on at

    Sure, you can create an Online trial for 30 days for some testing purposes. Or if you have already an Online organization, you can create (or buy) Sandbox environment which will be up-to-date with the latest releases of CRM

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