On the welcome step, choose a Setup Mode. You can provision new Azure resources, onboard an existing infrastructure, or migrate from the legacy version.
Choose the Infrastructure. You can deploy new Azure resources for this environment, or connect to a Function App that is already deployed.
Under Azure Authentication, enter the Application (client) ID and Directory (tenant) ID of your Azure app registration.
Under Subscription & Naming, enter a Customer Name, select the Subscription ID and enter the Azure Location.
Check the generated resource names on Azure Resource Names. Choose whether to create a new IoT Hub or link to an existing one.
On Function App Connection, check the Function App URL and choose Test Connection.
On Register This Environment, register this Business Central environment as an endpoint.
On Routing Rules, add the rules that route signals to this environment.
Choose Finish.
While the wizard creates resources, the Provisioning Progress factbox shows the status per resource. If a run is unfinished, you can restart the wizard.
Tip
Use short, lowercase customer names of at most 20 characters. The wizard builds the Azure resource names from it. A Service Bus namespace cannot end with "-sb" or "-mgmt".
Stores the received events in the IoT Hub Events table.
Delete Events After (days)
Deletes IoT Hub events after the given number of days. Business Central creates a job queue entry when you fill in this field. Always fill it in when you save events, to keep the events table small.
Debug Mode
Logs extra debug information to Application Insights. This can increase your Application Insights costs.
The wizard fills these fields. Change them only if you manage the Azure resources yourself.
Field
Description
Application (client) ID
Found on the overview page of the app registration.
Directory (tenant) ID
Found on the overview page of the app registration.
Client Secret
Found on the Certificates & Secrets page of the app registration. Azure only shows it when you create it.
Subscription ID, Subscription Name
The Azure subscription that holds the resources.
Azure Location
The Azure region of the resources.
Resource Group
The container for the resources of this solution.
Storage Account Name
3 to 24 characters, lowercase letters and numbers only.
Application Insights Resource Name
1 to 250 characters. Letters, numbers, periods, underscores, hyphens and parentheses. Cannot end in a period.
Application Insights Primary Connection String
Used by the Function App to send log information to Application Insights.
Function App Name
Gets the URL https://<name>.azurewebsites.net/, so it must be globally unique.
App Service Plan
The compute resources of the Function App. The IoT Setup Wizard creates a Y1 Consumption plan. The legacy wizard creates a new plan as F1 (Free), which you can scale up later.
IoT Hub Name
3 to 50 characters. Letters, numbers and hyphens.
IoT Hub Device
Maximum 128 characters.
IoT Device Primary Connection String
Used by external IoT devices to send events to the IoT Hub.
IoT Event Grid System Topic
The Event Grid system topic of the IoT Hub.
Service Bus Namespace
6 to 50 characters. Starts with a lowercase letter and ends with a lowercase letter or digit.
An endpoint describes a Business Central environment that receives signals. Search for IoT V3 Endpoints to manage them. Choose New Endpoint to add one.
Field
Description
Endpoint Key
Unique key of the endpoint, for example L01-PRD. Routing rules refer to it.
URL
Full URL of the IoT Signal API of the environment.
Authentication Type
OAuth2 (SaaS), Basic (OnPrem) or Windows (OnPrem NTLM).
Timeout (seconds)
HTTP timeout. Use 15 to 30 seconds for slow on-premises environments.
Tenant ID, Client ID, Client Secret
OAuth2 credentials. The client secret is stored in the routing configuration file.
OAuth Scope
OAuth2 scope. For Business Central online: https://api.businesscentral.dynamics.com/.default.
Username, Password
Basic authentication. The password is the web service access key, not the user password.
Windows User, Windows Password, Windows Domain
NTLM credentials. Enter the user as DOMAIN\username.
Routing rules decide which environment receives a signal. Search for IoT V3 Routing Rules to manage them. Rules are evaluated in order. A lower line number is evaluated first.
Field
Description
Line No.
Order of evaluation.
Source System
The source system the rule applies to: moxa or moneo.
Contains
Text to look for in the device tag ID (Moxa) or device path (Moneo). Case-sensitive.
Location Code
The location code assigned when the rule matches.
Endpoint Key
The endpoint that receives the signals that match this rule.
Description
Free description.
After you change rules or endpoints, choose Activate Configuration. This generates the routing configuration and pushes it to Azure Blob Storage. The Function App picks it up within its refresh interval.