Security and access
Lattice uses the standard role-based security of Finance and Operations. Lattice adds roles, duties and privileges but assigns them to nobody, so until you assign a role, no person and no integration client can use Lattice. This page says who needs which role and where each step is described; the full model is in the Security model.
Before you start: the System administrator role, which the standard security pages need, and Lattice deployed (Install and deploy).
The roles Lattice adds
| Role | Give it to | What it allows |
|---|---|---|
| Integration operator | Most integration clients, and the people who monitor and fix integrations day to day | Posting and acting on documents, status queries, monitoring, recovery of failed work (retry, hold and release dead letters; activate or repair recurring data jobs), and reading and writing the Lattice data entities except the cross-reference entities (read only). No high-risk operations. Of the setup pages: Sample payloads (change), External systems and Setup status (read) |
| Integration read-only | Reporting clients and auditors | Status queries, the sales price inquiry, monitoring and reading the Lattice data entities. Nothing that posts or changes data |
| Integration administrator | You, and a client that must cancel, reverse or post across legal entities | Everything in Lattice except database access and the AI agent write tools: the setup pages, the high-risk operations, the Service test console and the recovery actions |
| Integration developer | People who build integrations, in development and test environments only | The metadata explorers, the Service test console, the Liquid template tester, posting previews, and reading service contracts, call logs and the dead-letter queue (without payloads). The test console runs real operations, so never assign it in production |
| Lattice AI agent write tools | Only the user an AI agent runs as, and only when it should change data | Lets AI agents run the Lattice operations that change data through the Dynamics 365 ERP MCP server or Copilot Studio, limited to the operations the user's integration role grants. It ships unassigned |
| Database access administrator | Named people who need temporary direct access to the database, and only while they need it | Just-in-time database access. It ships unassigned; never give it to an integration user |
| Magicite license administrator (from the licensing module) | Whoever looks after the license | License parameters, License refresh and Documentation help under System administration > Setup > Magicite. The Lattice roles do not include them |
Only the Integration administrator sees a dead letter's payload (View payload on the operations console,
Download dead-letter payload on the inbound message inquiry, and the LatticeIntegrationDeadLetterPayloads
entity). The other roles see the dead-letter rows, their status and the failure, never the payload.
Pick the narrowest role that does the job: I want to choose which Lattice role to assign. For a narrower set than a shipped role, build a custom role from the Lattice duties (Principle of least privilege).
Steps
- Give yourself Integration administrator. On System administration > Security > Assign users to roles, select Integration administrator, then Manually assign / exclude users, and assign your user. Keep System administrator, or ask someone who has it, for the standard pages in the table below.
- Register each integration client with its own Microsoft Entra application and its own Finance and Operations user: I want to register an integration client. Set the user's Company to the legal entity the client works in.
- Assign each client user and each person a role from the table above.
- Review who holds the high-risk operations, which cancel, reverse and replay real transactions: I want to review which operations are high-risk and who can run them.
- Give the license to someone. Assign Magicite license administrator to the person who will act on a license warning, or leave it with System administrator.
- Leave Database access administrator unassigned unless a named person needs it. When they do: I want to grant temporary database access.
Result: each person and each client user is listed under exactly one Lattice role on Assign users to roles, and Database access administrator has no users or only named people.
Standard pages the Lattice roles do not open
Setting up Lattice also uses standard pages. Their access comes from standard roles, usually System administrator, not from the Lattice roles:
| Page | Used for |
|---|---|
| Users, Assign users to roles, Security configuration | Client users, role assignment, custom roles |
| Microsoft Entra ID applications | Mapping an integration client to its user |
| Process automations, Initialize process automations | Checking and changing the Lattice background processes |
| Feature management, Monitoring and telemetry parameters | The features in Prerequisites |
| Business events catalog (the standard one) | Endpoints and event activation |
| The module parameters pages, for example Accounts receivable parameters | The Cross references tab for cross-reference keys |
| Framework parameters in the Data management workspace | Refreshing the entity list after a deployment |
| Batch jobs | Checking scheduled jobs, and the license check-in log under Batch job history |
| Key Vault parameters | The app registration and the secret references that file ingestion connections read from Azure Key Vault. Edit access to it, which System administrator and Information technology manager have, is also needed to set a connection's Key Vault parameters secret names (Use the Key Vault parameters page) |
Accounts that run Lattice work in the background
- Background processes run as their owner. The owner is the user that first registered the process: the account the deployment ran as, or you if you ran Initialize process automations first. The Lattice dead-letter retry replays failed operations as that user, so the owner needs access to them. Check the owner in Edit background process on Process automations (I want to check that the Lattice background processes are running).
- Jobs you schedule run as you. Schedule Run file ingestion, Process file ingestion segments and Inbound order policy evaluation with an account that has Integration administrator and stays enabled: the batch framework does not run the jobs of a disabled user. A job runs as its Run by user, by default the user who created it, and keeps that user when the user later loses a role.
- Connections that read the Key Vault parameters page. The user Run file ingestion and the APIM bundle
bulk export run as, and whoever selects Test connection, must be able to read the client secret of the Key
Vault parameters record. The Integration administrator role includes this through the standard duty
KeyVaultClientSecretKey; System administrator and Information technology manager have it too. - The license check-in runs as
Admin. It needs no Lattice role.
Secrets and credentials
- Integration clients. The client secret or certificate stays in Microsoft Entra ID and in the client's own vault. Finance and Operations stores only the client ID and the user it maps to (Credential security).
- File ingestion connections. The Authentication field is write-only: nobody can read a stored secret back. Store it encrypted on the connection, as a secret on the standard Key Vault parameters page (every environment), or as an Azure Key Vault reference where the servers run in your own Azure subscription (Key Vault and secrets). An Integration administrator can replace a stored secret and run the connection with it, so keep that role to trusted people.
- Key Vault parameters secret names. Any Manual secret of a legal entity's Key Vault parameters page can be named on a connection, so setting or changing a secret name, or the Key Vault parameters company of a connection that uses one, needs edit access to the Key Vault parameters page as well as Integration administrator. So does changing Endpoint, Container or share or Storage type of a connection whose authentication secret is read from that page. Otherwise the save is refused with "Connection ...: only a user who can edit the Key Vault parameters page can set a Key Vault parameters secret name or its company, or change the endpoint, container or storage type of a connection whose authentication secret is read from that page."
- PGP private keys and passphrases are read from Azure Key Vault only: a Key Vault parameters secret or a Key Vault secret URI, never a value stored on the connection.
- The APIM backend client secret takes only an Azure Key Vault secret URI, which API Management resolves itself.
Licensing and security are separate
The license never grants or removes access. Roles decide who may do what; the license decides whether Lattice processing runs at all on a production environment (License behavior). A user without a Lattice role cannot use Lattice whatever the license says, and a user with a role keeps the setup pages, inquiries and safety actions while the license blocks processing.
Related
- Security model, with every duty and privilege.
- Additional predefined roles.
- The high-risk duty.
- Security best practices for integration.
- Journal posting delegated rights.
- Environment isolation.
- Next step: Configure Lattice.