Book Image

Microsoft Dynamics 365 Extensions Cookbook

Book Image

Microsoft Dynamics 365 Extensions Cookbook

Overview of this book

Microsoft Dynamics 365 is a powerful tool. It has many unique features that empower organisations to bridge common business challenges and technology pitfalls that would usually hinder the adoption of a CRM solution. This book sets out to enable you to harness the power of Dynamics 365 and cater to your unique circumstances. We start this book with a no-code configuration chapter and explain the schema, fields, and forms modeling techniques. We then move on to server-side and client-side custom code extensions. Next, you will see how best to integrate Dynamics 365 in a DevOps pipeline to package and deploy your extensions to the various SDLC environments. This book also covers modern libraries and integration patterns that can be used with Dynamics 365 (Angular, 3 tiers, and many others). Finally, we end by highlighting some of the powerful extensions available. Throughout we explain a range of design patterns and techniques that can be used to enhance your code quality; the aim is that you will learn to write enterprise-scale quality code.
Table of Contents (19 chapters)
Title Page
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Running Azure scheduled tasks


In the previous recipe, we created an Azure-hosted web application that was accessible publicly. The façade encapsulated some Dynamics 365 business logic to create a timestamped account with a specific name format. In this recipe, we will leverage this application to create an Azure Scheduler task that will send an HTTP request on an interval to execute the code behind our MVC application.

Getting ready

For this recipe, you will need an existing public application that executes some business logic which does not require any dynamic input. We will leverage the Azure-hosted MVC application created in the previous recipe.

From an Azure perspective, you will require a valid Azure subscription to create a Scheduler.

Note

The basic job collection is free of charge (limited to a minimum of hourly intervals between executions).

You will also need a preexisting job collection to use in your Scheduler; alternatively, you can create one when creating your first Scheduler.

How...