Book Image

Administrating Microsoft Dynamics 365 Business Central Online

By : Andrey Baludin
Book Image

Administrating Microsoft Dynamics 365 Business Central Online

By: Andrey Baludin

Overview of this book

This book features all the information you need to get started with administrating Microsoft Dynamics 365 Business Central Online. It contains detailed information about the admin portal and cloud migration process, all based on real usage experience. The book starts by covering the data migration process for developers, which will show you how to organize the data without code. You’ll also learn how the admin portal can be useful if you want to export a database copy, restore a backup, and set up telemetry to get detailed information about the call stack and operation statuses. As you progress, you’ll learn how to check your Business Central SaaS environment details, create new and different types of environments, and notifications, and keep your cloud data within limits. Later, you’ll explore how to set up cloud migration from an on-premise environment to SaaS, run the migration, upgrade data, and fix problems if something goes wrong. By the end of this book, you’ll be able to create new production and sandbox environments, restore them from backups, analyze environment telemetry, and confidently migrate your data to the cloud.
Table of Contents (15 chapters)
1
Part 1: Dynamics 365 Business Central Admin Center
9
Part 2: Dynamics 365 Business Central Cloud Migration Tool

Calling APIs

In this section, we will learn how to call Admin Center APIs. I suggest doing this in two different ways, as follows:

  • From PowerShell, to show automation scenarios
  • From Postman, to show a user-friendly interface

For example, you often update development sandboxes from a test or production sandbox, and you don't want to open the Admin portal each time and click through all those settings. You could create a PowerShell script and just run it each time you need to have a new environment.

Postman is one of the most popular REpresentational State Transfer (REST) clients. You can use it to test APIs, for single calls or demonstration purposes.

In this section, we will look into both environments.

PowerShell

  1. Run PowerShell as an administrator. We need to install the AzureAD module and the Microsoft.Identity.Client package (if you haven't already done so). For this, run the next script:
    Install-Module AzureAD
    Install-Package -Name...