Book Image

Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition

By : Abhimanyu Singh, Deepak Agarwal
Book Image

Dynamics 365 for Finance and Operations Development Cookbook - Fourth Edition

By: Abhimanyu Singh, Deepak Agarwal

Overview of this book

Microsoft Dynamics 365 for Finance and Operations has a lot to offer developers. It allows them to customize and tailor their implementations to meet their organization’s needs. This Development Cookbook will help you manage your company or customer ERP information and operations efficiently. We start off by exploring the concept of data manipulation in Dynamics 365 for Operations. This will also help you build scripts to assist data migration, and show you how to organize data in forms. You will learn how to create custom lookups using Application Object Tree forms and generate them dynamically. We will also show you how you can enhance your application by using advanced form controls, and integrate your system with other external systems. We will help you script and enhance your user interface using UI elements. This book will help you look at application development from a business process perspective, and develop enhanced ERP solutions by learning and implementing the best practices and techniques.
Table of Contents (18 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface

Authenticating a native client app


Azure Active Directory (AAD) uses OAuth 2.0 to enable you to authorize access to web applications and web APIs in your Azure AD tenant. This guide is language independent, and describes how to send and receive HTTP messages without using any of our open-source libraries.

OData Services, JSON-based custom services, and REST metadata services support standard OAuth 2.0 authentication.

Getting ready

Although we can create multiple types of apps using ADD, here we will discuss two kinds of applications that are supported in Microsoft AAD for Dynamics 365 for Operation:

  • Native client application: This requires a redirect URI, which Azure AD uses to return token responses. This flow uses a username and password for authentication and authorization.
  • Web App/API (Confidential client): A confidential client is an application that can keep a client password confidential to the world. It uses a client app ID and a client secret key to prepare client credentials. The authorization...