Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

Редакция КоммитРедакция портала
commit 5a34497 · 15 days ago

Corporate Email, Part 3: Microsoft 365 — tenant, domain, licenses, synchronization with AD via Entra and MFA

🌐 Machine-translated from Russian. Show original

In this part:

Terms#

The termWhat is
Tenantyour organization in the Microsoft cloud. Created at the first purchase, receives an address company.onmicrosoft.com
Microsoft Entra IDthe former Azure AD — a directory of users and groups in the cloud, through which all services are accessed
Exchange Onlinecloud Exchange — mail, calendars, shared inboxes,
Licensethe user's right to a set of services (mail, Office, Teams). Assigned to each person
Global Administratorfull tenant admin. There should be 2–4 of them, no more than

Step 1. Rates and licenses#

Main lines:

  • Business Basic / Standard / Premium — for organizations with up to 300 users. Basic — mail and web versions of Office, Standard — plus desktop Office, Premium — plus protection (Intune, Defender for Business, Entra ID P1 with conditional access).
  • Enterprise (E3/E5 and equivalents) — unlimited user count, more compliance and security features.
  • Exchange Online Plan 1 / Plan 2 — mail only, without Office.

Microsoft periodically changes the composition and names of plans (for example, in some regions, plans are sold in versions with or without Teams). Check prices and current lists on the Microsoft website and with a partner in Kazakhstan.

💡 Rates can be mixed: management and accounting — Business Premium, warehouse and sellers — Basic or Exchange Online Plan 1. Don't get the maximum for everyone.

Shared drawers (info@, buh@) do not need a license as long as the drawer is less than 50 GB and does not include them directly — access is granted to employees with the license.

Step 2. Creating the tenant and the first administrator#

  1. Sign up for a trial or purchase on the Microsoft website or through a partner.
  2. Come up with a prefix company → tenant company.onmicrosoft.com. It cannot be renamed; choose carefully.
  3. The first account is Global Administrator. Use a separate address like admin@company.onmicrosoft.comfor it, not the employee's personal mailbox.
  4. Immediately create a second Global Administrator account "in case of an emergency" (break-glass) with a long password in the vault/password manager and a separate MFA method.

Step 3. Connecting the domain#

Microsoft 365 admin center → Settings → Domains → Add domain:

  1. Proof of ownership — a TXT record of MS=ms12345678 on the domain root.
  2. The wizard will show the required records: MX, SPF (TXT), CNAME autodiscover, sometimes others.
  3. If mail already works on the old server — do not change MX immediately. First, create mailboxes and transfer emails (part 6: Corporate mail, part 6: moving between systems — imapsync, built-in wizards, and MX switching checklist, switch MX at the end).
  4. Set the domain as default so that new users receive @company.kzaddresses.
  5. Enable DKIM (see Corporate Mail, Part 2: Domain and DNS — MX, SPF, DKIM, DMARC, PTR, MTA-STS) and deliverability checking , then add DMARC.

Step 4. Users: manually or from AD#

No AD#

You create users in the admin center (individually or by importing CSV). Passwords are in the cloud, which is a normal option for small companies.

With local Active Directory#

To ensure that an employee has a single login and password for the computer and Microsoft 365, users are synchronized from AD to Entra ID. Two tools:

Microsoft Entra Cloud SyncMicrosoft Entra Connect Sync
Wherelightweight agent on the server runs, cloud settings,a full application on Windows Server with SQL
Multiple AD forests without connectionyesdifficult
Exchange hybrid, complex ruleslimited, check the capabilities matrixyes
Microsoft's positionthe recommended direction of developmentsupported (V2 only)

Microsoft directly recommends first checking if Cloud Sync is suitable, and only if not—installing Entra Connect Sync. The old Azure AD Connect V1 has long been unsupported and may stop working.

Preparing AD before synchronization:

  • Users' UPN matches the mailing address: ivanov@company.kz, not ivanov@company.local. Add the UPN suffix in the "Active Directory — Domains and Trust" snap-in and change the UPN for users
  • The attributes mail, first name, last name, department are filled in — they will go to the address book
  • No duplicates of proxyAddresses and mail — check out Microsoft's IdFix utility
  • Synchronize not the entire domain, but the required OUs: without service and disabled accounts
  • Sign-in method — Password Hash Synchronization (recommended for most): sign-in works even if your office is disconnected from the internet

About AD, OU, and Group Policies — the "Active Directory and Group Policies" series.

If there is Exchange on-prem#

For a smooth transition from Exchange SE, a hybrid configuration (Hybrid Configuration Wizard) is created: a shared address book, calendars see each other, mailboxes are moved one by one without reconfiguring Outlook. For this, you need Entra Connect Sync and a supported version of Exchange — currently Exchange Server SE. On Exchange 2016/2019, you no longer need to build a hybrid: they are without security updates.

Step 5. MFA and basic protection#

Email hacking is the most common incident: the password leaked → the attacker reads the correspondence, sets a forwarding rule, and sends the accounting department "new details."

  1. Security defaults — a free basic set (MFA for everyone via Microsoft Authenticator, a block of legacy protocols). Enabled by default in new tenants; check: Entra admin center → Identity → Overview → Properties → Manage security defaults.
  2. Conditional Access — flexible policies ("MFA always except office IP", "login only from managed devices"). Requires Entra ID P1 (included in Business Premium and E3/E5). If you enable conditional access — security defaults are disabled, and all protections must be reproduced by policies.
  3. Disable legacy authentication (POP/IMAP/SMTP with password) if it is not needed — MFA is bypassed through it.
  4. Prohibit automatic external forwarding: outgoing spam policy in Defender → Automatic forwarding = Off. Need forwarding to an individual — allow specific forwarding.
  5. Administrators — only with MFA and separate accounts without a mailbox for daily work. Microsoft is gradually making MFA mandatory for signing in to admin portals.

More about protection — in part 5: Corporate mail, part 5: security — phishing, MFA, DMARC reports, archiving, and backup are configured directly through autodiscover.

  • Phones — Outlook app or built-in mail with modern authentication.
  • Intune (included in Business Premium) allows you to request a PIN on your phone and erase corporate data from a lost device without touching your personal data.

Microsoft 365 Launch Checklist#

  • Tenant created, 2–4 Global Administrators, one break-glass
  • Domain confirmed and primary, MX/SPF/autodiscover by wizard
  • DKIM included, DMARC p=none and plan until reject
  • Users are created or synchronized from AD (Cloud Sync / Connect Sync), UPN = mail
  • Security defaults or conditional access policies with MFA for everyone
  • External auto-forwarding is prohibited, outdated protocols are disabled
  • The data storage location was checked and a decision was made regarding PD
  • Mail backup: Microsoft's built-in mechanisms are not a full backup (see part 5)

Don't want the cloud — we upgrade your server: Corporate Mail, part 4: your mail server on Ubuntu 24.04 — Mailcow, anti-spam, and backups.

Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.