ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. Well-Architected
  4. V3 Security
  5. V3 Identity
  6. V3 Identity Implementation
  7. Application Roles

Application Roles

security
VersionV2V3
architecturev3

Application Roles

V3 uses stable Ion.* application roles, defined on the ION Platform API app (azsp-ontinue-rome-idm-ion-platform-{env}-01), for workload authorization to ION APIs and for user roles that Signet resolves into MFE capabilities. Azure RBAC and customer-tenant consent are separate authorization systems.

Prerequisites

  • An API or resource owner and a security reviewer.
  • A defined business resource, operation, callers, and enforcement points.
  • An inventory search proving whether an existing role already expresses the permission.
  • A migration and revocation plan if an older role overlaps.
  • Declarative app-registration and Microsoft Graph assignment automation for every environment.
  • For user roles: the Signet owner, because the capability mapping changes with the role.

Canonical vocabulary

Role values use:

Ion.<Resource>.<Operation>[.<Constraint>]

Examples of shape, not automatic grants, are Ion.SecurityIncidents.Read and Ion.RemediationAction.Execute.

  • Resource is a stable business capability in PascalCase. It is not a microservice, caller, team, environment, or project name.
  • Operation is one explicit API-contract capability such as Read, Create, Update, Execute, or a deliberately defined ReadWrite.
  • Constraint is optional and used only for a stable authorization distinction such as All or Shared; never an environment, customer, caller, or temporary project name.
  • ReadWrite grants only the operations documented by the API contract. It does not implicitly grant delete, administration, consent, or role management.
  • Dynamic customer, ownership, resource, and business constraints are enforced in the BFF and domain service rather than encoded as proliferating roles.

Select the member type

  • Applications for microservice UAMIs and other application-only callers.
  • Users/Groups for interactive assignments evaluated as user roles and mapped to capabilities by Signet.
  • Both only when exactly the same permission semantics and enforcement are valid for both caller classes.

Never assign any Ion.* role to the rome auth identity. It exists only for Easy Auth (App Service authentication).

Role and capability flow

Define and deploy a role

1

Propose the role

Owner: API owner

Write the proposed value, display name, precise allowed operations, excluded operations, member type, owning API, and business justification. Compare it with the inventory and reuse an exact semantic match; do not create caller-specific aliases.

2

Add the role to the Platform API app manifest

Owner: Platform identity

Add the role to the Platform API app’s version-controlled manifest for every required environment. Generate a new immutable role ID; never reuse one.

resource "random_uuid" "security_incidents_read" {}

resource "azuread_application_app_role" "security_incidents_read" {
  application_id       = azuread_application.ion_platform_api.id
  role_id              = random_uuid.security_incidents_read.id
  value                = "Ion.SecurityIncidents.Read"
  display_name         = "Read security incidents"
  description          = "Read security incidents through the documented incident API operations."
  allowed_member_types = ["Application"]
}

Do not publish fixed role or service-principal GUIDs in documentation.

3

Add enforcement

Owner: API owner and Service team

Add the route-level role check in APIM. Add customer and context enforcement in the BFF and caller, resource, tenant, operation, and business-rule enforcement in the domain service. Deploy the role definition before any assignment.

4

Update the Signet capability mapping for user roles

Owner: Signet owner

When an Ion.* user role is added, renamed through migration, or retired, update Signet’s RolePermissionsMap (role to DomainEntity.Read or DomainEntity.ReadWrite permissions) and RoleMfeAccessMap (role to MFEs the user may load) in the same change set. Unknown roles contribute nothing, so a role assigned before Signet knows it grants no capability; a role removed from the map stops granting capability as soon as Signet is deployed.

Deploy Signet before assigning a new user role, and verify the capability token for a test user contains the expected permissions and mfe_access. See Capabilities and the Signet design.

5

Assign the role

Owner: Platform identity, approved by the API owner

Assign the role to approved principals through declarative automation using Microsoft Graph appRoleAssignments or the azuread provider. Resolve principals, the resource service principal, and role IDs by stable declared names at deployment time. Microservice assignments follow Managed identity. User and group assignments go to groups, not individuals, wherever possible.

New-MgGroupAppRoleAssignment `
  -GroupId $group.Id `
  -PrincipalId $group.Id `
  -ResourceId $platformApi.Id `
  -AppRoleId $appRole.Id

Do not use AzureAD PowerShell. Do not make a production portal role or assignment the source of truth.

6

Update the catalogue

Owner: Platform identity

Update the role catalogue, caller-target matrix, Signet mapping reference, owner, review date, assignment justification, and revocation procedure.

Additive evolution

  • Add a new role when semantics expand beyond an existing role.
  • Keep the old role active during a measured migration window, mapped in Signet if it is a user role.
  • Update callers, enforcement, and Signet mappings, then verify old-role usage is zero.
  • Disable new assignment of the old role before removing existing assignments.
  • Never rename a published value in place, reuse its immutable identifier for different semantics, or broaden it silently.

Positive validation

  • Acquire a token using the intended principal for the Platform API audience and verify the expected roles claim server-side without storing the token.
  • Call each operation explicitly included in the role contract.
  • Confirm APIM accepts the route and the domain service permits only the intended customer and resource context.
  • For user roles, confirm the capability token contains the mapped permissions and MFEs and the MFE loads.
  • Confirm assignment automation is idempotent in each environment.

Negative validation

Verify denial for:

  • a caller without the role;
  • the correct role against the wrong audience or API;
  • the correct role attempting an excluded operation;
  • the correct role attempting another customer or unowned resource;
  • a user role not yet present in the Signet maps (no capability granted);
  • the rome auth identity or another microservice’s UAMI calling the route; and
  • the old role after its assignment is revoked.

Record correlation IDs and decisions, never token bodies.

Rollback and revocation

  1. If a new role is unsafe, stop assigning it and disable affected routes or callers.
  2. Remove new assignments through the same declarative path, and remove the role from Signet’s maps for user roles.
  3. Restore prior APIM and service authorization policy without repurposing either role.
  4. Verify the revoked principal fails and unaffected principals still succeed.
  5. Remove a role definition only after all assignments, callers, Signet mappings, and telemetry usage are gone.

Ownership and evidence

The API owner owns role semantics and domain enforcement. Platform identity owns the catalogue and assignment automation. The Signet owner owns capability mappings. Security approves broad or customer-impacting permissions. Retain the role proposal, member-type decision, manifest diff, Signet mapping diff, assignment approvals, deployment result, positive and negative tests, usage review, migration evidence, and revocation result.

Related pages

  • V3 Identity Standard
  • Applications and authorization
  • Capabilities
  • Identity workflows
  • Managed identity
  • Application registration

On this page

  • Prerequisites
  • Canonical vocabulary
  • Select the member type
  • Role and capability flow
  • Define and deploy a role
  • Additive evolution
  • Positive validation
  • Negative validation
  • Rollback and revocation
  • Ownership and evidence
  • Related pages
PreviousApplication Registration
NextCustomer Azure RBAC
Edit on GitHubSecurity