Skip to main content
Version: 0.4.1

KQ065 — a role sits in a server workload identity

Error · permission-in-server · Workload identity

App roles and scopes are declared in a server workload identity, never a client one.

An app-role or a scope is written in a client workload identity. Roles belong to the API that declares them: move it into the server workload identity, and grant it to the client with grant.

Examples​

An app-role in a client workload identity raises KQ065:

platform banking { component cards "Cards" : backend { workload cards-id "Cards" : client in iam/entra { app-role read "Cards.Read" } } }

In a server workload identity, it raises nothing:

platform banking { component cards "Cards" : backend { workload cards-id "Cards" : server in iam/entra { app-role read "Cards.Read" } } }

© 2026 Extenza Works. All rights reserved.