AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.09.2018, 00:15   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
powerobjects: Azure Logic Apps and Dynamics 365
Источник: https://www.powerobjects.com/2018/09...-dynamics-365/
==============


Today we are going to look at how Azure Logic Apps can be leveraged with Microsoft Dynamics 365 for custom integrations and event triggers.

You can get an overview and see documentation on logic apps here.

Azure Logic Apps are similar to Biz Talk (on premises version). There are multiple connectors and Dynamics 365 is one of them. Please note that some of the actions in the connector are still in preview mode.

Azure Logic Apps and the Dynamics 365 connector behave in a notification style mechanism, which means that record create/update/delete will be notified and the corresponding actions can be taken. In fact, Microsoft Flows are just built on top of logic apps. It also has connector to Dynamics 365 for Finance and Operations as well.

Design
  • Asynchronous Methodology to push data out of CRM.
  • Can be created as an HTTP trigger as well which acts like an API on top of CRM API. API can be created with just configuration and workflow.
  • HTTP Connector can be used to talk to CRM Web API through OAuth tokens.
  • Lot of other Azure stack components can be further used with-in built connectors.
Pros
  • Can be used as an async mechanism for Integrations/Publish and Subscribe Model.
  • Load on CRM can be removed. Rather than using async plugins/workflows to publish/send data, logic apps can be leveraged.
  • Monitoring can happen at the logic app level using the logic app management on OMS (Operations Management Suite) which is log analytics within Azure.
  • Failure alerts can be setup based on any failed runs and these failed runs can be resubmitted.
  • The Retry mechanism is available at each action level (limited to certain status codes).
  • Run History provides insight on how many have successfully succeeded, failed, etc.
  • No coding is involved. It is all defined as a workflow definition language that is JSON in the backend. The Logic Apps Designer also helps us define the workflow/process.
  • While setting up the logic app, you can also set up the logging to OMS (log analytics).
Build and Deployment
  • This can be developed in the Azure portal or from Visual Studio as well.
    • Azure Logic Apps Tools for Visual Studio 2017/VS 2015 has to be installed for Visual Studio Deployment, this is an extension.
  • Build Process can also be automated through VSTS build/release definition process, these pretty much behave like ARM (Azure Resource Manager) templates.
  • Parameters help us moving the same logic app to different environments through build definition.
Cons
  • Cost is per execution of action/connector (runs under a consumption plan). However, if we use the resources wisely then this can be reduced. Pricing information can be viewed here.
  • There are some limitations with the Party list field. Some of the fields do not show up as part of the context.
  • Any update on the record will trigger the logic app, there is no filtration at this point.
  • Lookup names are not part of the context. The ID comes as part of the context which can be used to retrieve the name or other fields from the related records.
  • 1000 retrieve/get calls per 5 minutes to the CRM API.
You can view other limits here.

Here are some screenshots of how these look for a flow that triggers on contact create/update, pushes the data into an Azure Service Bus Queue, and then notifies the user that it has successfully sent the message through email.

This is just one sample but there are be many more that can be achieved with logic apps. See more about using logics apps with Dynamics 365 here.



If you’re looking for more updates about Microsoft Dynamics 365 – subscribe to our blog!

Happy Dynamics 365’ing!



Источник: https://www.powerobjects.com/2018/09...-dynamics-365/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
powerobjects: Authentication to Dynamics 365 using Azure Apps Blog bot Dynamics CRM: Blogs 0 18.05.2018 21:17
survivingcrm: From AppSource to Solutions to Dynamics 365 Apps Blog bot Dynamics CRM: Blogs 0 14.01.2018 19:16
survivingcrm: What’s An “App” in Dynamics 365 Anyway? Blog bot Dynamics CRM: Blogs 0 06.01.2018 22:14
powerobjects: Configuring the Dynamics 365 App for Outlook Blog bot Dynamics CRM: Blogs 0 08.11.2017 01:12
jaestevan: Microsoft Dynamics 365 for Operations Blog bot DAX Blogs 0 02.11.2016 01:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 22:01.