Skip to main content

Run the setup wizard

Purpose

The setup wizard serves two purposes depending on where you are in the setup process:

ScenarioWhat the wizard doesSteps shown
First company in a new Business Central environmentRegisters the Business Central instance with the A4D cloud, grants consent, sets authentication method, and activates the companyAll steps
Additional company in an already-connected Business Central environmentActivates the company for cloud sync - the Business Central instance is already registered and consent already grantedSkips Verify License, Give Consent, Register Business Central; goes straight to Localization → Auth → Activate Company

→ Concept: Architecture

Before you start

  • License Key and Customer ID available (first-time setup only) - see Prerequisites
  • You must be the Global Administrator of the Business Central environment if this is the first time connecting it (consent step)
  • Switch to the company you want to activate before opening the wizard

Starting the wizard

The wizard launches automatically when you first install Expense Management. To run it again - for a new company, or if it was closed early:

  1. In Business Central, switch to the company you want to connect
  2. Search for AppsForDynamics365 Portal Configuration
  3. Click Configure connection

Wizard steps

Welcome

Wizard welcome screen

The opening screen confirms what the wizard will do. Click Next to begin.

Sandbox environments: If you are connecting a sandbox, a notice appears at this point: "Note that only one sandbox can be connected at a time." Click Next to continue.

Sandbox notice screen


Verify license

This step appears on systems that have not been configured before. Enter the credentials you received from Truvio:

FieldWhere to find it
Customer IDIn the confirmation email received on purchase
License KeySame source - a GUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Click Next. The wizard validates the credentials against the A4D cloud before proceeding. If validation fails, double-check for extra spaces and confirm you are using the key for the correct product.

On a system that is already configured (for example, when re-running the wizard), this step is skipped and the stored credentials are used.


Give consent screen

This step grants the A4D cloud permission to call the Business Central web service. It is required once per Business Central environment and cannot be skipped.

  1. Click Click here to open page and grant consent
  2. On the Microsoft Entra application page that opens, click Grant consent, then Accept
  3. Close the Entra page and return to the wizard
  4. Click Next

Who can do this: The consent step requires a Business Central Global Administrator. If you are not one, stop here and hand off to the correct person before continuing.


Localization

Localization settings screen

Set the defaults for the portal display.

FieldWhat to enter
Time ZoneThe time zone your organisation works in. Used to display dates correctly on the portal.
Preferred LanguageThe default language for the portal interface. Not all languages are supported - unsupported selections fall back to English.

Click Next.


Authentication method

Authentication method screen

Choose how employees will sign in to the A4D portal.

OptionWhen to choose it
Microsoft LoginRecommended for most organisations. Employees use their existing Microsoft 365 accounts - no separate password to manage. Login names must be email addresses.
Username / PasswordFor employees who do not have Microsoft accounts. Each user needs a username and password created in Portal Connect.
Mixed modeAllows both methods in the same environment. Useful when some employees have Microsoft accounts and others do not. Adds some administrative overhead.

Click Next.

You can change the authentication method after setup from the Portal Configuration page - see Reference: Portal Configuration.


Register Business Central instance

Register Business Central instance screen

The wizard reads your Business Central environment details automatically. Confirm the displayed information is correct.

FieldDescription
Azure DomainYour Microsoft 365 domain (e.g. yourcompany.onmicrosoft.com)
Azure Tenant IdYour Azure Active Directory tenant GUID
Business Central Tenant NameYour Business Central environment name
Business Central Tenant IdYour Business Central tenant identifier

No input is required. Click Next to register.


Activate company

Activate company screen

This step establishes the web service connection for the current company.

FieldDescription
Webservice addressAuto-populated. Cannot be changed.
Company descriptionThe name the A4D cloud uses to identify this company. Defaults to the Business Central company name. Edit if needed.

Click Test connection before proceeding. If the test succeeds, click Next.

If the test fails, verify that consent was granted successfully in the earlier step, and confirm your License Key and Customer ID are correct on the Portal Configuration page.


Add logins for Business Central users

Add logins screen

Portal logins are user accounts that allow employees to sign in to the A4D portal. Every employee who needs portal access requires one.

You can create logins now using the link on screen, or do it later. Click Next to continue.

Create portal logins


Done

Wizard completion screen

Your Business Central environment is now connected to the AppsForDynamics365 cloud. Click Finish.

After the wizard

Reference: Portal Configuration page