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)

Azure aware plugin

(0) ShareShare
ReportReport
Posted on by 177

Hi,

We have requirement of  sending data to azure service bus queue from CRM on premise. We are planning to write azure aware plugin for this. But we don't have internet connection on CRM server. Hence my questions are:

1. Is it mandatory to have internet connection for azure aware plugin to execute ?

2. How will I register this plugin ?

I followed this https://msdn.microsoft.com/en-us/library/gg328194.aspx , but requirement of internet connection is not mentioned anywhere and hence I am confused.

Thanks in advance.

Regards,

Nirmal

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi Nirmal,

    If you're trying to send data to an Azure service bus, yes, you need connectivity. It's a cloud service, so it won't work if you can't connect to the cloud.

    Hope this helps! I'd appreciate if you'd mark this as a Verified answer.

    Thanks,

     Aiden

  • Nirmal_CRM Profile Picture
    177 on at

    Thanks for your answer !!

    But could you please help me to know  how else I can achieve this ?

  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    You won't be able to connect to Azure or anything outside your network without internet access, so that really limits your options.

    If you're trying to do an integration with another system, that would have to be on the same internal network as your CRM system. If they're on the same network already, you need to write your own web service to stand in for the Azure service. It could be a pretty simple service if you're just taking messages from one system and sending it to another. Here's a starter on how to write a simple web service: support.microsoft.com/.../308359 Once your web service is written, you would be able to call the service from your plugin by generating a proxy class from the wsdl.

    Hope this helps! I'd appreciate if you would mark helpful answers.

    Thanks,

     Aiden

  • Nirmal_CRM Profile Picture
    177 on at

    Yes, I am looking to write WCF web service. Thanks for your suggestion. But I have few questions;

    1. Where should I host my WCF webservice ?

    2 Will I be able to call my WCF web service from CRM plugin ?

  • Verified answer
    Aiden Kaskela Profile Picture
    19,696 on at

    The WCF service would have to be hosted on some server inside your network. It could be on the same server as your CRM instance.

    You'll be able to call the WCF service from CRM as long as you're using BasicHttpBinding and the endpoint address is a friendly name and not an IP address (you can't use an IP address if your plugins are in isolation for security reasons). Here's a nice write-up on connecting from a plugin: nishantrana.me/.../calling-wcf-service-in-plugin-in-crm

    Thanks,

     Aiden

  • Nirmal_CRM Profile Picture
    177 on at

    Sorry for change in question,  But I am able to connect to internet from CRM application server however our CRM is not internet facing deployment.  So can I use Azure Aware plugin to connect to azure service bus ?

  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi Nirmal,

    You should be able to connect out to the bus but it may not be able to connect back to your CRM instance if you want a two-way integration. In order to use the plugin code you linked to, you need to configure CRM integration with Azure (and depending on your needs, configure Azure to hit CRM).

    Here's info on how to configure CRM for Azure integration: msdn.microsoft.com/.../gg328249(v=crm.6).aspx

    and to register an Azure-aware plugin: msdn.microsoft.com/.../gg328524(v=crm.6).aspx

    Once you get those two done, you should be able to successfully send out information from CRM to Azure.

    Thanks,

     Aiden

  • Nirmal_CRM Profile Picture
    177 on at

    Hi Aiden,

    I need only way data transfer from CRM to Marketing (On azure cloud). So I think azure aware plugin will work for me.

    Do I need to make any changes in existing infrastructure for this ?

    Regards,

    Nirmal

  • Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    You won't need to change the infrastructure, but you you will have to configure CRM to hit Azure.

    Thanks,

     Aiden

  • Nirmal_CRM Profile Picture
    177 on at

    If I use azure aware plugin, Is it secure enough for on premise CRM and for connector ?

    Because we will be transferring data through connector on marketing (On azure cloud).  using this plugin are we compromising in security ?

    Can we use proxy to achieve this ? If yes then how ?

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