1. Home
  2. ARVO Studio
  3. Set up ARVO Studio
  4. Test Identity and Orchestrator

Test Identity and Orchestrator

Introduction

ARVO Studio uses two identities, the Test Identity and the Orchestrator. This article explains what each one is for, how an administrator creates it in Microsoft Entra and in Business Central, and how both are wired into ARVO Studio Setup.

Both identities belong to the customer. They are created in the customer’s own Microsoft Entra tenant and used within the customer’s sandbox environment.

The two identities

The Test Identity executes the test suites and does nothing else. It holds only a minimal baseline of access. Before each test cycle ARVO assigns the role being tested to it and removes that role afterwards, so that tests genuinely run as the person in that role would experience them. Tests run in the sandbox only, so this identity is never needed in a Production environment.

The Orchestrator assigns and revokes those permissions on the test identity, resolves companies and collects results. It never executes a test itself. Like everything else in ARVO Studio, that work stays inside the sandbox: Production receives only the approved solution app through gated promotion.

Each identity is an application registration in Microsoft Entra, linked to a Business Central application user. Create the registration in Azure first, then the application user in Business Central, and repeat the whole sequence for the second identity. Create both registrations in the same Microsoft Entra tenant as the one that hosts the Business Central environment, and not in any other tenant the organisation uses.

Set up both identities with one click

Note: The Microsoft Entra administrator who signs in doesn’t have to be the Business Central user who starts the setup. The Business Central user needs permission to create users and assign permission sets in Business Central, for example SUPER.

If you are a Microsoft Entra administrator of the tenant that hosts your Business Central environment, for example a Global Administrator, ARVO Studio sets up both identities for you. For each one:

  1. Open ARVO Setup and choose Set Up Orchestrator or Set Up Test Identity, then Yes.
  2. Choose Sign in as an Entra administrator and sign in. The first time, Microsoft asks you to approve ARVO Studio reading and writing app registrations and granting permissions on your behalf.
  3. If Business Central asks whether to create a user, choose Yes.
  4. Wait for the message that the identity is set up and works.

ARVO creates each identity’s app registration with admin consent, its application user in Business Central and a client secret. The secret goes straight into ARVO Setup, so nobody has to copy it.

IdentityApp registrationPermissions in Microsoft EntraPermission sets
OrchestratorARVO Studio Orchestrator (your environment’s name)API.ReadWrite.All, Automation.ReadWrite.AllD365 AUTOMATION, SECURITY
Test identityARVO Studio Test Identity (your environment’s name)API.ReadWrite.AllLOGIN

Note: The table shows the permission sets the setup gives each identity. Before it runs tests, ARVO gives the test identity the other permission sets it needs. D365 BASIC and the rest of the standing Permission Sets list on ARVO Setup stay on the user, together with ARVO Studio’s own sets BFTFB – EDIT and BFTFB TEST FIXTURES. The permission sets for a single test run are taken back when the run ends.

In another company of the same environment, the same actions reuse the registrations and users, and only add a client secret for that company. Each secret is valid for 180 days. Before it expires, choose Renew Orchestrator Secret or Renew Test Identity Secret on ARVO Setup. Then check the whole setup as described in Quick check.

If you are not a Microsoft Entra administrator on the BC tenant, hand the steps in the sections below, to someone who is.

Create the application registration in Microsoft Entra

  • Sign in to the Microsoft Entra admin centre as an administrator of the Business Central tenant.
  • Go to Identity, then Applications, then App registrations, and choose New registration.
  • Enter a name for the identity, leave the account type set to this organisational directory only, leave the redirect URI empty, and choose Register.
  • On the Overview page, copy the Application (client) ID and the Directory (tenant) ID. The tenant id is the same for both identities.
  • Open API permissions and choose Add a permission. Select Dynamics 365 Business Central, choose Application permissions and tick API.ReadWrite.All. For the orchestrator, also tick Automation.ReadWrite.All, because it calls Business Central’s automation API. Choose Add permissions.
  • Grant admin consent for the tenant and confirm that the status column shows a green tick. Without admin consent the identity cannot call Business Central at all.
  • Open Certificates and secrets and create a new client secret. Give it a description and an expiry, for which 180 days is a recommended default.
  • Copy the secret value immediately, because it is shown only once, and set a reminder to rotate it before it expires.

Create the application user in Business Central

Each registration needs a matching application user in the sandbox. Repeat these steps once for each identity.

  • In the sandbox, search for Microsoft Entra Applications, open the page and choose New.
  • Paste the Application (client) ID into Client ID.
  • Enter a Description, which becomes the user name, and set State to Enabled.
  • Assign the permission sets that identity needs in the User Permission Sets part, then close the card.

Assign these permission sets in the User Permission Sets part. Leave Company blank so they apply to every company.

  • Orchestrator: D365 AUTOMATION and SECURITY. D365 AUTOMATION lets it call Business Central’s automation services: find companies, check which apps are installed and download symbols. SECURITY lets it add and remove permission sets on the test identity.

  • Test identity: LOGIN only. This lets the identity sign in. ARVO adds everything a run needs and removes it afterwards.

Business Central doesn’t allow the SUPER permission set on an application user, and neither identity needs it. Don’t give the test identity extra permission sets such as D365 FULL ACCESS or SECURITY. A test identity that can do everything can’t prove that a role is refused. ARVO removes D365 FULL ACCESS from it before each test suite.

Business Central only lets an identity hand out permission sets it has itself. So before ARVO gives the test identity a permission set, it first adds that set to the orchestrator. After a few runs, both cards list more permission sets than you assigned here. That’s expected.

Wire both identities into ARVO Studio Setup

The remaining work is done in the Test Identity group on ARVO Studio Setup, using the values copied in Azure.

  • In Test Identity User, pick the test identity’s application user from the lookup. The lookup offers application users only, and a human user is refused with an explanation.
  • Check that Security ID and Client Id have resolved automatically from the Entra application record.
  • Enter the Directory (tenant) ID you copied in Azure into Test Identity Tenant Id.
  • Paste the client secret into Test Identity Client Secret. The field is masked and clears itself once saved, and a Secret Configured toggle confirms that the secret is stored.
  • Repeat for the orchestrator, choosing Orchestrator User and pasting the Orchestrator Client Secret. The tenant field is shared, because both registrations are in the same tenant.

Secrets expire so it is important to note the expiry date when you create each one, rotate the secret before it lapses and enter the new value here, because an expired secret is a common cause of failure later on.

Quick check

Setup is complete when each identity shows Secret Configured switched on and Run Smoke Test on the Test Runs page reports 2 passed and 0 failed. If it fails, the message says which step went wrong. Re-enter that identity’s secret first. Then check that its Client ID came from the right registration and that admin consent was granted in the tenant that hosts the environment.

Updated on November 20, 2026

Was this article helpful?

Related Articles