Domain and Entra Security
xAssets checks the security settings of each Active Directory domain and each Microsoft Entra tenant. A domain or tenant is not an asset. It has its own checklist, score and findings. Open the lists from Endpoints > Endpoints Dashboard > Security > Domain Security or Entra Security.
A read uses read-only access. xAssets makes a change only when an administrator allows it, one domain or tenant at a time.
Requirements
- Enable/Disable Features > Endpoint Management is on. Domain Security and Entra Security are tabs of the Security area.
- For a domain: a running collection server on the domain's network, and a directory credential that can sign in to a domain controller. This is the same credential the directory actions use. The domain read only reads, over LDAP.
- The collection server reaches a domain controller on TCP 389 (LDAP), or TCP 636 for an
LDAPS://path. - The credential is chosen in this order. First, the Active Directory credentials setting (
DMPCDirectoryCredential): a collection server name, or a collection server and pack asCOLL$PACK. Next, a Windows credential pack for the domain on a running collection server, with the domain's NetBIOS name in Domain Name. Last, the account the only running collection server runs as. - The account needs no admin rights for the read. A member of Domain Users can read the domain policy, the accounts and the privileged groups.
- The DHCP check also needs the account in the DHCP Users group on each DHCP server. The collection server needs RPC access to those servers.
- The collection server reaches a domain controller on TCP 389 (LDAP), or TCP 636 for an
- For an Entra tenant: a credential pack named AzureAdminRead, on its own app registration. The read never uses the
Azurepack that Intune uses.- In the Microsoft Entra admin center, go to Microsoft Entra ID > App registrations and create the app registration.
- Under API permissions, add these Microsoft Graph permissions of type Application: Policy.Read.All, AuditLog.Read.All, UserAuthenticationMethod.Read.All, RoleManagement.Read.Directory, SecurityEvents.Read.All, Directory.Read.All and Device.Read.All.
- Click Grant admin consent for your organization. This needs the Privileged Role Administrator or Global Administrator role.
- Under Certificates & secrets, create a client secret and copy its Value at once. Entra shows it only once.
- In xAssets, create a Named Credentials pack on the Application Server named AzureAdminRead. Set Azure Tenant ID to the Directory (tenant) ID, Application ID to the Application (client) ID and Client Secret to the secret Value.
- The check EN-ID-01 reads the authentication methods report. That report needs Microsoft Entra ID P1. Without it, the check reads as Unknown.
- The application server needs outbound HTTPS (port 443) to
login.microsoftonline.comandgraph.microsoft.com.
- For fixes made by xAssets: a separate fix credential for each domain or tenant. See Trust levels.
Only administrators (the ADMINS and CONFIG user groups) can start a read, change trust, make a fix or exclude an account.
Reading a domain or tenant
A domain or tenant appears on its tab after its first read.
- Domain: schedule the transformation Domain Security Scan once for each domain. Put the domain name in its DomainName parameter, for example
CONTOSO.LOCAL. A blank name reads the domain of the directory credential. The read runs on the collection server and loads by itself when its results arrive. - Entra tenant: schedule the transformation Entra Security Integration. It reads the tenant with the AzureAdminRead pack. For a second tenant, add a second schedule and name that tenant's pack in its ApplicationServerCredentials parameter.
- Read now: click the Last complete read cell of a row, or Read now in the checklist header. Click Yes to confirm. The list refreshes when the results are loaded. A domain read usually takes under a minute.
Read again after any change made outside xAssets. xAssets reads the domain or tenant again by itself after each of its own fixes.
The Domain Security and Entra Security tabs
Each row is one domain or one tenant.


| Column | Meaning |
|---|---|
| Name | The domain name or tenant name. Click it to open the checklist. |
| Secure | Green when no check at the Exception posture level has an open finding. |
| Compliant | Green when no check mapped to a control of an enabled compliance framework has an open finding. |
| Score | 100, less 25 for each open High finding, 12 for each Medium and 5 for each Low. |
| Open findings | Failing checks. Click the number to open the checklist. |
| Last complete read | When every check was last read. Click it to read now. |
| Trust | Tell, Script or Fix. Click it to change it. |
| Read from | The collection server for a domain, or the credential pack for a tenant. |
| Excluded Accounts | The number of accounts excluded from fixes, for a domain. Click it to manage them. |
Secure, Compliant and Score are blank until the first complete read. A finding whose risk has been accepted counts for none of them. A finding that turns Unknown keeps its full penalty.
A domain or tenant can pass one verdict and fail the other. For example, a domain can meet Cyber Essentials and still have a krbtgt password that is 7 years old.
The checklist
The checklist lists every check for the domain or tenant, with failing checks first.

| Column | Meaning |
|---|---|
| Check | The check's reference, for example EN-ID-01 |
| What is checked | The check's name |
| Result | Pass, Fail or Unknown. Not read yet before the first read. |
| What was found | The value read, for example "4 of 7 users idle" or "minimum length 7" |
| Severity | High, Medium, Low or Info |
| Pathways | Tell, Script and Fix, as far as the check supports them. Confirm marks a check a person checks by hand. |
| How to fix | What is wrong and the steps to fix it by hand |
| Script | Opens the Domain Fix tool steps for this check, when there are some |
| Read | When the check was last read |
| Fix | Fix it makes the change. It shows on a failing check that supports Fix, and works only when trust is Fix. |
The header above the list shows the score and tiles for Security, Compliance, Open findings, Last read, Trust and Excluded accounts. Its buttons are Read now, Trust, Excluded Accounts and Fix history. In a narrow window, the menu icon at the top left of the checklist opens the header.
Unknown means the read did not get the value. The text names the cause, for example a Graph permission the app registration lacks. An unknown check is never counted as a pass.
Only a complete read changes a result. A finding closes when the next complete read finds the check passing, whoever made the change.
Trust levels
The trust level of each domain or tenant sets how far xAssets goes. New domains and tenants start at Tell.
| Trust | Effect |
|---|---|
| Tell | The checklist explains each problem and the steps to fix it by hand. |
| Script | Also gives the steps to fix a domain check with the xAssets Domain Fix tool. Your administrator runs it. |
| Fix | Also lets an administrator make the change from the checklist. xAssets signs in with the fix credential. |
To change trust, click the Trust cell or the Trust button. The Options to fix dialog has a Trust list and, for Fix, a Fix credential pack list.

The fix credential pack is:
- Domain: a domain account allowed to make the change, for example to disable accounts and edit the Default Domain Policy.
- Entra: a pack named AzureAdminWrite by default, with the Graph permission Policy.ReadWrite.Authorization. Keep it separate from the AzureAdminRead pack. The read pack is never used for a fix.
Lowering trust keeps the fix credential. Raising trust again does not ask for it.
Domain Fix tool
The Script column opens the steps to fix this check yourself with the xAssets Domain Fix tool. The steps name the domain, the fix number and the excluded accounts. The tool covers domain checks only. An Entra check has no script. Fix it with Fix it where it is offered, or by hand using How to fix.

How to run the Domain Fix tool
- Copy
DomainFixAgent.exefrom the Sockets folder of an xAssets collection server. Put it on a computer in the domain. - Sign in to that computer as a domain administrator. Run
DomainFixAgent.exe. It opens a console window and asks three questions. - At Domain, type the domain name. Press Enter to use the domain the computer is in.
- At Which fix, type the number of the fix. The tool lists the seven fixes:
| Number | Checks | Change |
|---|---|---|
| 1 | CE-UA-01, CE-UA-02 | Sets the password length to 12 and locks an account after 10 wrong passwords |
| 2 | CE-UA-04 | Disables user accounts nobody has signed in to for 90 days |
| 3 | CE-SC-01 | Disables computer accounts idle for 90 days. A domain controller is never disabled. |
| 4 | DH-GST-01 | Disables the Guest account |
| 5 | DH-PNR-01 | Makes every enabled account need a password |
| 6 | DH-ASR-01 | Turns Kerberos pre-authentication back on for every enabled account |
| 7 | DH-KRB-01 | Resets the krbtgt password. This is one of two resets, a day apart. |
- At Accounts to leave alone, type the excluded account names, separated by commas. The Script steps list the accounts excluded for this domain. Press Enter for none.
- The tool reads the domain and lists what it would change. Nothing is changed yet.
- To make the changes, type
APPLYin capitals. Press Enter alone to stop with nothing changed.
The tool makes its changes as the signed-in administrator. Press Enter at any question to stop.
- The tool writes what it changed, and how to undo it, to an
xassets-undofolder beside the program. Each run makes a new file. - A second run finds nothing to change.
- Reset the krbtgt password twice, 24 hours apart. Choose fix 7 again the next day.
- xAssets confirms the fix on its next read of the domain. Until then the check stays as it is.
Fixes made by xAssets
On a failing check that supports Fix, click Fix it. A confirmation names the change. xAssets then queues the fix and reads the domain or tenant again when it ends. Fix history lists each fix: when it was asked for, the check, what it did, its status, who asked, when it finished and the result.

A domain fix runs on the collection server with the fix credential. If that credential is missing, the fix stops. It never uses another account. The domain fixes are:
- Set the password length and the lockout policy, in the Default Domain Policy and on the domain.
- Disable idle user accounts and stale computer accounts. Built-in accounts and domain controllers are never disabled.
- Disable the Guest account.
- Turn on "password required" and Kerberos pre-authentication on every account.
- Reset the krbtgt password. A second reset is refused within 24 hours.
An Entra fix changes the tenant's authorization policy. It covers user consent to apps, guest invitations, app registration and tenant creation, and self-service sign-up.
Excluded accounts
Some accounts must stay as they are, for example a service account that never signs in. Click the Excluded Accounts cell or button to manage them. The dialog lists the excluded accounts, with who excluded each one, when and why.

| Action | Effect |
|---|---|
| Exclude | Fixes and scripts leave the account alone. A reason is required. |
| Include again | Removes the exclusion. |
| Re-enable | Turns a disabled account back on. Needs trust Fix. |
| Re-enable and exclude | Turns the account back on and excludes it. |
The read lists an excluded account as excluded. It does not fail the idle account, stale computer, password required or pre-authentication checks.
Re-enable never turns a built-in account back on, so it cannot re-enable Guest.
Reset User Password
Reset User Password sets a new password on a person's domain or Entra account. Open it from People, or from Endpoints > Change > Security Policy for the computer's last signed-in user.
- The person must have a linked domain or Entra account. When they have both, the domain account is reset.
- The domain or tenant must have trust Fix and a fix credential.
- Require a new password at next sign-in and Unlock the account (domain only) are selected when the dialog opens.
- xAssets makes a 16-character password and shows it once. Pass it to the person.
Domain checks
| Check | Severity | Pathways |
|---|---|---|
| Domain passwords are long enough | High | Tell, Script, Fix |
| Accounts lock after repeated wrong passwords | High | Tell, Script, Fix |
| Every account uses Kerberos pre-authentication | High | Tell, Script, Fix |
| Guest account disabled | High | Tell, Script, Fix |
| Every account needs a password | High | Tell, Script, Fix |
| No idle user accounts | Medium | Tell, Script, Fix |
| Kerberos master key changed recently | Medium | Tell, Script, Fix |
| Small Domain Admins group | Medium | Tell, Confirm |
| Built-in Administrator not in use | Medium | Tell |
| DHCP gives internal DNS only | Medium | Tell |
| No stale computer accounts | Low | Tell, Script, Fix |
| Domain functional level is current | Low | Tell |
| Fine-grained password policies listed | Info | Tell, Confirm |
| Passwords set never to expire listed | Info | Tell, Confirm |
| Administrator accounts listed | Info | Tell, Confirm |
An idle user account has not signed in for 90 days. A stale computer account has not signed in for 90 days.
Entra checks
| Check | Severity | Pathways |
|---|---|---|
| Every user has multi-factor sign-in registered | High | Tell, Confirm |
| Multi-factor sign-in is required for everyone | High | Tell |
| Legacy sign-in is blocked | High | Tell |
| No mail forwarded outside the company | High | Tell, Confirm |
| Two to four Global Administrators | Medium | Tell, Confirm |
| Administrators use separate accounts | Medium | Tell, Confirm |
| Users cannot consent to apps | Medium | Tell, Fix |
| Device code sign-in is blocked | Medium | Tell |
| Multi-factor sign-in to register or join devices | Medium | Tell |
| High-risk sign-ins are blocked | Medium | Tell |
| Break-glass accounts are excluded from every policy | Medium | Tell, Confirm |
| No idle user accounts in Entra | Medium | Tell |
| No stale devices in Entra | Medium | Tell |
| Only admins invite guests | Low | Tell, Fix |
| Users cannot register apps or create tenants | Low | Tell, Fix |
| Self-service sign-up is off | Low | Tell, Fix |
| No idle guest accounts | Low | Tell |
| Microsoft Secure Score recorded | Info | Tell |
Mail forwarding is set in Exchange Online. xAssets cannot read it. The check shows Check by hand.
Other screens
Domain and tenant findings also appear beside computer findings:
- Findings and Accepted Risks name the domain or tenant in a Domain or tenant column. Click it to open the checklist.
- Overview lists Domain hardening and Entra hardening as finding categories.
- Compliance counts each domain and tenant against the controls its checks map to.
- The asset page of a domain controller shows the domain and its open findings.