For the complete documentation index, see llms.txt. This page is also available as Markdown.

Prerequisites

Before you deploy AOH Sync, confirm you have the following. Running through this checklist takes about 5 minutes.

Core requirements

Requirement
Details

Active Azure subscription

You need the ability to deploy a VM from the Azure Marketplace and create resources in a resource group

Azure App Registration rights

You need permission to create an App Registration and grant admin consent for Microsoft Graph permissions in your Entra ID tenant

AOH Sync license key

Your license key is in the format CS-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (a CS- prefix followed by five groups of five alphanumeric characters). It is provided when you purchase AOH Sync

A domain you control

For example, sync.yourcompany.com. You need the ability to add an A record with your DNS provider

Microsoft Entra ID P1 or higher

Microsoft's API-driven inbound provisioning needs Entra ID P1, P2, or Entra ID Governance, licensed for each person you provision. P1 is included in Microsoft 365 E3, E5, and Business Premium; Office 365 plans don't include it. See Microsoft's licensing guide

Room in Microsoft's API limits

Per tenant, Microsoft allows up to 2,000 provisioning API calls in 24 hours on P1 or P2 (6,000 with Entra ID Governance), up to 50 records per call, and no more than 40 calls in any 5 seconds. See Microsoft's API concepts

If you do not have an AOH Sync license key, contact support before proceeding.

Roles required

You need these types of access before you begin:

Access
What it's for

VM deployment rights (Contributor or Owner on the target resource group)

Deploying the AOH Sync VM from the Azure Marketplace and creating the associated resources (public IP, NIC, disk)

App Registration + admin consent rights (Application Administrator or Global Administrator in Entra ID)

Creating the App Registration and granting admin consent for the required Microsoft Graph permissions

Admin consent for provisioning permissions (Privileged Role Administrator or Global Administrator in Entra ID)

Granting admin consent for the Microsoft Graph application permissions the provisioning credential uses in Step 7. An Application Administrator can't grant consent to these (Microsoft)

Active Directory targets only: Hybrid Identity Administrator in Entra ID, plus Domain Admin or Enterprise Admin during setup

Installing Microsoft's provisioning agent. Setup creates the agent's group managed service account (gMSA)

Active Directory targets: the agent server

To provision to Active Directory, you need a domain-joined Windows Server for Microsoft's provisioning agent. Microsoft supports Windows Server 2016 through 2025 and recommends 2022 or 2025; Windows Server 2016 leaves extended support on January 12, 2027. The agent connects out to Microsoft, so you open no inbound ports into your domain. Microsoft recommends restricting administrative access to the agent server to domain administrators, so treat it like a domain controller. See Microsoft's agent prerequisites.

Network

Direction
Port
Why

Inbound

443 (HTTPS)

The AOH Sync dashboard and API. Allow only the networks your admins use, if you can

Inbound

80 (HTTP)

Only if AOH Sync gets its TLS certificate automatically. The certificate authority checks your domain over port 80 or 443 from addresses it doesn't publish, so if you restrict 443, keep 80 open to the internet for the first certificate and every renewal, or bring your own certificate

Inbound

22 (SSH)

Maintenance with the cloudsync-maintenance CLI. Allow it only from your admin network or Azure Bastion, never from the whole internet

Outbound

443, plus the ports your source systems use (for example SFTP on 22 or LDAPS on 636)

VM sizing guidance

AOH Sync runs on an Azure virtual machine. The Marketplace deployment form lets you choose the VM size and disk configuration.

Setting
Recommendation

VM Size

Standard_D4s_v3 or larger for production. Standard_D8s_v3 and Standard_D4s_v5 are also recommended. Standard_D2s_v3 is the minimum allowed but is not recommended for production workloads

OS Disk Type

Premium SSD recommended for production

OS Disk Size

64 GB minimum; larger disks are supported

Admin Username

During the Marketplace deployment you will choose an Admin Username — this is the SSH user for the VM. Note this value: you will need it if you ever SSH in to use the cloudsync-maintenance CLI (see Managing Your Instance).

How to check you're ready

Before moving on:

Last updated