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

  • Adel Orabi Profile Picture
    150 on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    Thank you for your help,

    i want to know if the Microsoft dynamics online is same as Microsoft dynamics 365? now i'm creating my free trial account to test my code. but in all MSDN examples they've noted Microsoft dynamics 365 instead of dynamics online.

    Best Regards,

  • Verified answer
    tw0sh3ds Profile Picture
    5,600 on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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

  • Adel Orabi Profile Picture
    150 on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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

  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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
    Aric Levin - MVP Profile Picture
    30,188 Moderator on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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
    Community Member Profile Picture
    on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    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

  • Adel Orabi Profile Picture
    150 on at
    RE: C# integrated Application with Dynamics crm that is hosted On the cloud

    CRM 2011

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans