Azure platform services
This page gives a broad view of the emulator's Azure platform services. They model local control-plane resources and selected data-plane behavior for API gateways, configuration, search, device integration, event delivery, email capture, network resources, monitoring, policy, cross-resource queries, role assignments, and real-time connections. The Azure AI Search, Azure IoT Hub, Azure SignalR Service, Azure Policy Service, Azure Policy Insights, Azure Resource Graph, and Azure Authorization RBAC pages describe the deeper flows.
Service roles
Each service models one platform concern. The services share the emulator's request and storage boundaries, but their state and data flows remain separate.
| Service | Primary role | Main local behavior |
|---|---|---|
| API Management | API gateway and API resource control plane | Resolves APIs and operations, applies supported policies, and forwards or mocks backend calls |
| App Configuration | Versioned key-value configuration | Stores labeled values, revisions, snapshots, filters, pages, and sync tokens |
| Azure AI Search | Search resource and query surface | Provides search resources and document query behavior for local search flows |
| Event Grid | Event routing and delivery | Matches subscriptions and sends events to webhooks with validation, retry, and dead-letter behavior |
| Local email capture | Accepts send requests and exposes captured messages and operation status without external delivery | |
| IoT Hub | Device and message integration | Models hub resources and local device-to-service and service-to-device flows |
| Network | Network and DNS resource model | Manages virtual network resources, DNS records, private endpoints, and synthesized child state |
| Monitor | Log and activity collection and query | Ingests records, exposes management activity, and returns filtered results from query subsets |
| SignalR | Real-time client and application-server relay | Negotiates clients, checks access tokens, and routes WebSocket messages through connected servers |
| Policy | Policy resource control plane and request evaluation | Stores policy resources, evaluates selected resource writes, applies append or deny effects, and records audit events |
| Policy Insights | Local policy compliance view | Stores policy states from evaluated resources and supports compliance scans and policy-state queries |
| Resource Graph | Cross-resource inventory query | Builds a query view over emulator resources and evaluates supported resource queries |
| Authorization | Role definition and assignment control plane | Serves built-in role definitions and stores role assignments without enforcing permissions |
References: src/…/ApiManagementHandler.java• L33-71 src/…/AppConfigHandler.java src/…/EventGridHandler.java• L48-119 src/…/EmailHandler.java• L118-175 src/…/NetworkHandler.java src/…/MonitorHandler.java• L148-229 src/…/SignalRHandler.java src/…/PolicyHandler.java src/…/PolicyInsightsHandler.java src/…/ResourceGraphHandler.java src/…/RbacHandler.java• L45-60
Control-plane resources
The control plane represents Azure resource management. It lets local clients create and inspect service resources before they use the related data plane.
API Management exposes gateway services and their API definitions, operations, products, subscriptions, named values, backends, and policies. Network exposes common virtual network resources together with DNS zones, records, private DNS links, and private endpoint resources. Monitor exposes workspaces, collection endpoints and rules, diagnostic settings, and the subscription Activity Log. Event Grid exposes topics and event subscriptions through its ARM provider path. Email exposes communication services, email services, and domains. Policy exposes definitions, policy set definitions called initiatives, assignments, and exemptions at supported ARM scopes. Policy Insights exposes local policy-state and compliance views. Resource Graph exposes shared-query resources and cross-resource query operations. Authorization exposes built-in role definitions and role assignments at tenant, management-group, subscription, resource-group, and resource scopes.
These resource models support setup work for SDKs, Terraform, and application clients. SignalR differs from the other services: its REST management path returns NotImplemented, while its enabled behavior is the WebSocket path used by application servers and clients. Policy resource management feeds request-time evaluation. Policy Insights reads the results of that evaluation. Authorization stores role assignments for clients to inspect, but does not grant or deny access.
References: src/…/ApiManagementService.java• L76-125 src/…/ApiManagementService.java• L255-357 src/…/EventGridService.java• L79-127 src/…/EmailHandler.java• L142-175 src/…/EmailHandler.java• L297-353 src/…/NetworkArmSurface.java• L49-88 src/…/MonitorArmSurface.java• L33-40 src/…/MonitorHandler.java• L194-229 src/…/AuthorizationArmSurface.java• L15-59 src/…/RbacHandler.java• L163-287
API Management gateway
API Management turns a local request into an API operation call. It also models the service resource and its API definitions, operations, products, subscriptions, named values, backends, and policies. The service supports soft deletion and restore, so a deleted service can retain its name and children until it is restored, purged, or expires.
The gateway selects the longest matching API path, then matches the request method and operation template. It checks a subscription key when the API belongs to a subscription-required product. Policies run from service scope to API scope and then operation scope. Supported changes can set the backend, rewrite the URI, change headers or query values, or end the request with a configured response. Named values and backends provide shared policy inputs. OpenAPI imports create operation resources so a definition can become an addressable gateway surface. A request with no backend and no response policy fails as a server-side configuration error. A configured backend failure returns a gateway error instead of a fabricated success.
The API Management lifecycle is shown below.
flowchart LR
A[Create or update service] --> B[Create API or import OpenAPI]
B --> C[Create operations and gateway resources]
C --> D[Receive gateway request]
D --> E[Match API and operation]
E --> F[Check product subscription]
F --> G[Apply service, API, and operation policies]
G --> H{Return response policy?}
H -->|Yes| I[Return local response]
H -->|No| J[Call configured backend]
References: src/…/ApiManagementHandler.java• L53-71 src/…/ApiManagementService.java• L95-164 src/…/ApiManagementService.java• L354-448 src/…/ApiManagementService.java• L451-547 src/…/ApiManagementService.java• L598-633 src/…/ApiManagementGateway.java• L43-89 src/…/ApiManagementGateway.java• L92-179 src/…/ApiManagementModels.java• L24-77
Policy control plane
The Policy service models the management side of Azure Policy. It stores custom policy definitions, initiatives, assignments, and exemptions at management group, subscription, resource group, or resource scopes where the resource type allows it.
Assignments must refer to an existing custom definition or initiative. Exemptions must refer to an existing assignment and use supported exemption categories. These resources are inputs to request-time evaluation. They do not create compliance state or run remediation. For scope rules, resource relationships, and management behavior, see Azure Policy Service.
References: src/…/PolicyHandler.java• L35-45 src/…/PolicyHandler.java• L129-215 src/…/PolicyHandler.java• L218-315 src/…/PolicyHandler.java• L318-439 src/…/PolicyHandler.java• L495-577
Policy evaluation
Policy evaluation is a request gate between ARM request handling and the resource service. When enforcement is enabled, it evaluates matching assignments before a resource PUT or PATCH reaches its handler. It can change the request, reject it, or let it continue.
The evaluation flow is shown below.
flowchart LR
A[Resource PUT or PATCH] --> B[Collect assignments by scope]
B --> C[Apply exclusions and exemptions]
C --> D[Evaluate definitions and expressions]
D --> E[Append changes]
E --> F{Deny match?}
F -->|Yes| G[403 policy response]
F -->|No| H[Resource handler]
H --> I[Record audit effects after success]
E --> J[Record append effect]
The engine supports conditions over resource fields, aliases, tags, arrays, counts, request facts, scope facts, and policy parameters. It resolves common ARM expression functions. An evaluation error becomes a deny when the assignment is enforced. append runs before deny and audit, so later conditions can see the amended content. A conflicting append also becomes a deny. DoNotEnforce still evaluates a match but does not apply its effect.
The gate evaluates top-level provider resources and resource groups. It uses the stored resource when it can read one for a PATCH, then merges the patch before evaluation. A successful audit is recorded after the resource handler returns a successful response. Denials return 403 RequestDisallowedByPolicy with policy identifiers and evaluated expressions. Policy effects remain available through the local evaluation inspection endpoint. For scope rules, expression support, append behavior, and denial details, see Azure Policy Service.
References: src/…/PolicyEvaluationRule.java• L30-37 src/…/PolicyEngine.java• L20-35 src/…/PolicyEngine.java• L112-179 src/…/PolicyRuleEvaluator.java• L16-20 src/…/ArmExpressions.java• L29-37 src/…/PatchMerge.java• L9-13 src/…/ContentWriter.java• L10-15 src/…/PolicyDenial.java• L13-17 src/…/PolicyEvaluationAdmin.java• L15-19 src/…/PolicyEvaluationLog.java• L12-16
Policy compliance
Policy Insights provides the compliance view of policy evaluation. It records the latest policy state for each resource, assignment, and definition. It is separate from the Policy control plane and does not decide whether a resource write is allowed.
An on-demand compliance scan reads resources in a subscription or resource group and evaluates them against the assignments that apply. The scan replaces the stored state for each resource. It runs synchronously, but returns the long-running operation shape expected by clients. Query operations return policy states or grouped summaries. They support scope filters, selected fields, ordering, bounded pages, and continuation links. For tenant scope, scan behavior, state storage, and query rules, see Azure Policy Insights.
References: src/…/PolicyInsightsHandler.java• L29-35 src/…/PolicyInsightsHandler.java• L132-197 src/…/PolicyInsightsHandler.java• L200-258 src/…/ComplianceScanner.java• L30-36 src/…/ComplianceScanner.java• L65-95 src/…/ComplianceStore.java• L16-20 src/…/ComplianceStore.java• L26-71
Authorization and role assignments
Authorization models the Azure RBAC management surface. It serves read-only built-in role definitions and stores client-created role assignments at scopes from the tenant root to individual resources. It provides ARM-shaped data for setup and inspection, but it does not evaluate permissions or enforce the assignments.
Role definitions expose assignable scopes and permission sets. Custom role definition writes are not supported. Role assignments require a known built-in role definition and a principal id. The service preserves assignment identity and rejects conflicts when a name or an equivalent principal, role, and scope combination is already in use. Assignment listings follow the scope hierarchy and support scope and principal filters. Principal types can be inferred from the local directory when the request does not provide one. For the full RBAC contract, see Azure Authorization RBAC.
The role-assignment flow is shown below.
flowchart LR
A[Role definition or assignment request] --> B[Parse authorization scope]
B --> C{Role definition?}
C -->|Yes| D[Read built-in catalog]
C -->|No| E[Validate role and principal]
E --> F[Check scope and assignment conflicts]
F --> G[Store or return assignment]
G --> H[Scope-aware listing and inspection]
References: src/…/AuthorizationArmSurface.java• L15-59 src/…/RbacPath.java• L7-19 src/…/RbacHandler.java• L163-207 src/…/RbacHandler.java• L269-387 src/…/RbacHandler.java• L450-489 src/…/RoleAssignmentStore.java• L18-81
App Configuration state
App Configuration provides a configuration store with labels and history. A value can be read as it exists now or as it existed at a requested time. This lets clients reproduce an earlier configuration view.
The service also supports filtered listing, continuation-based paging, per-account sync tokens, and snapshots. A snapshot captures a selected view and moves through a small provisioning flow before it becomes ready. Clients can then archive or restore a ready snapshot within the allowed state changes.
References: src/…/AppConfigHandler.java src/…/KvFilters.java src/…/Paginator.java src/…/SyncTokens.java
Event Grid eventing
Event Grid separates resource setup from event publishing. A client creates a topic and subscription through the ARM control-plane path. It then posts events to the topic's data endpoint.
The event path accepts the Event Grid schema and CloudEvents. It normalizes each input to a common event shape. Subscription filters select events by type and subject. The service renders each selected event in the subscriber's requested schema. Webhook setup runs a schema-specific validation check, but a failed check does not block local subscription creation. Failed delivery uses scheduled retries. After the attempt limit, the event is written to a configured Storage Blob dead-letter destination or dropped when no usable destination exists. Reset cancels queued and in-flight local delivery work.
The event path is shown below.
flowchart LR
A[Publisher] --> B[Topic data endpoint]
B --> C[Event normalization]
C --> D[Subscription filters]
D --> E[Subscriber schema]
E --> F[Webhook delivery]
F --> G{Delivery succeeds?}
G -->|Yes| H[Event received]
G -->|No| I[Retry schedule]
I --> F
I --> J{Dead-letter destination?}
J -->|Yes| K[Storage Blob dead letter]
J -->|No| L[Drop after attempt limit]
Topics and subscriptions use canonical ARM resource identity. Deleting a topic also removes its child subscriptions. The data plane resolves a topic for the local topic endpoint and uses the same subscription state for delivery. Topic management exposes generated access keys and key regeneration. Subscription setup accepts webhook delivery settings, subject and event-type filters, retry limits, time-to-live, and dead-letter destinations. Only webhook destinations are delivered locally.
References: src/…/EventGridHandler.java• L19-29 src/…/EventGridService.java• L34-77 src/…/EventGridService.java• L79-127 src/…/EventGridService.java• L128-180 src/…/EventGridService.java• L182-248 src/…/EventGridDelivery.java• L38-50 src/…/EventGridDelivery.java• L126-234
Email capture
Email models the send and inspection experience without sending mail to an external service. A send request stores a captured message immediately and returns the asynchronous operation shape expected by clients. Polling the operation reports success.
Captured messages and Communication resources use the configured email storage backend and share its load, flush, and reset lifecycle. The service exposes inspection operations for listing, reading, and deleting captured messages. Management setup includes communication services, email services, and domains. Communication service names also claim their local global host name, so name availability applies across subscriptions.
References: src/…/EmailHandler.java• L91-110 src/…/EmailHandler.java• L142-175 src/…/EmailHandler.java• L183-247 src/…/EmailHandler.java• L249-293 src/…/EmailHandler.java• L295-429 src/…/EmailHandler.java• L435-475 src/…/EmailHandler.java• L500-507 src/…/EmailHandler.java• L545-548
Network and DNS resources
Network provides the resource relationships that applications and infrastructure tools expect from Azure networking. It manages virtual networks and related resources through resource-group and subscription-scoped views. Its resource model keeps child resources aligned with the parent representation and supplies Azure-like default properties where clients expect them.
DNS support covers public and private zones with typed record sets and virtual network links. Zone creation supplies default authority records. Record updates honor match conditions and keep zone counts aligned with their children. Virtual network subnets, load balancer backend pools, and network security group rules are exposed through child paths that update parent arrays. Private endpoints normalize their service connections and maintain a stable synthesized network interface across updates. The interface is removed when the endpoint is deleted.
The network control-plane flow keeps parent and child resources consistent.
flowchart LR
A[Network resource request] --> B{Resource family}
B --> C[Virtual network or resource]
B --> D[Public or private DNS zone]
B --> E[Private endpoint]
C --> F[Parent resource and child collections]
D --> G[Record sets and virtual network links]
E --> H[Stable network interface and DNS groups]
References: src/…/NetworkArmSurface.java• L49-88 src/…/NetworkService.java• L71-143 src/…/NetworkService.java• L188-320 src/…/NetworkService.java• L353-442 src/…/NetworkService.java• L692-925 src/…/NetworkService.java• L998-1056
Monitor logs and queries
Monitor links diagnostic data collection to workspace queries. Its management resources establish a workspace, a data collection endpoint, a data collection rule, and diagnostic settings. Workspaces keep a stable customer identity, rules keep a stable ingestion identity, and endpoints expose the local ingestion address used by clients.
Ingested records are stored under the workspace identity and stream. The query endpoint resolves the workspace by customer identity or name, applies the requested time span, and runs a focused KQL subset that can filter records, select columns, and limit results. It returns a typed result table. Diagnostic settings act as extension resources on other resources and preserve selected log destinations and categories. Log ingestion accepts gzip content and applies the body-size limit after decompression. A normal workspace delete keeps the workspace recoverable for a limited period, while a forced delete removes it without that recovery path.
The log flow is shown below.
flowchart LR
A[Workspace and collection resources] --> B[Ingestion endpoint]
B --> C[Decode and store records by workspace and stream]
C --> D[Workspace query]
D --> E[Time filter and supported KQL]
E --> F[Typed result table]
References: src/…/MonitorArmSurface.java• L33-40 src/…/MonitorHandler.java• L194-240 src/…/MonitorHandler.java• L332-447 src/…/MonitorHandler.java• L463-547 src/…/MonitorHandler.java• L549-708 src/…/MonitorHandler.java• L715-792 src/…/MonitorHandler.java• L842-973 src/…/MonitorModels.java• L15-41 src/…/KqlEngine.java
Monitor activity logs
The Monitor Activity Log provides a local view of management operations and policy effects. It records mutation and action requests as begin and end events. It keeps caller and request facts. The subscription Activity Log list operation returns the result.
The list operation requires a start-time filter. It supports scope, resource, operation, status, category, caller, and text filters. It also supports selected-field projection and stable page links. The log is bounded. Older entries leave the local view as new entries arrive. Read and list operations do not create administrative entries.
The Activity Log flow is shown below.
flowchart LR
A[ARM mutation or action] --> B[BeginRequest entry]
B --> C[ARM rules and service handler]
C --> D[EndRequest entry with outcome]
E[Policy effect] --> F[Policy Activity Log entry]
B --> G[Bounded Activity Log]
D --> G
F --> G
G --> H[Filtered paged list]
References: src/…/ActivityLogRule.java• L21-109 src/…/ActivityLog.java• L20-87 src/…/ActivityLogEndpoint.java• L20-91 src/…/ActivityLogFilter.java• L17-83 src/…/MonitorHandler.java• L194-212
Resource Graph queries
Resource Graph provides a query view over resources known to the emulator. Clients use it to inspect cross-service inventory instead of calling each provider separately. The view includes ARM-indexed resources, subscriptions, resource groups, and stored Policy resources. It also supports shared queries stored as resource-group resources.
Clients submit KQL queries with optional subscription scope. They receive object-array or table results. The service supports bounded page sizes, $skip, and continuation through $skipToken. Query failures return structured error details. The supported KQL engine covers common filters, projections, computed fields, ordering, distinct values, summaries, joins, unions, and related expressions rather than the full Azure query language. For table assembly, shared-query resources, and query behavior, see Azure Resource Graph.
References: src/…/ResourceGraphHandler.java• L30-145 src/…/GraphTables.java• L23-75 src/…/SharedQueries.java• L24-35 src/…/SharedQueries.java• L82-173 src/…/KqlEngine.java• L45-91 docs/azure-resource-graph.md
SignalR connection behavior
SignalR provides the real-time data path between application servers and clients. The service accepts server and client WebSocket connections for a hub. It checks a signed access token against the request audience. It keeps connection state only for the current emulator process. REST management requests return NotImplemented. The supported mode is the WebSocket data path.
Clients can use a negotiation request to obtain a connection id and short-lived connection token. The emulator requires an available application server before negotiation succeeds. After the client WebSocket opens, it selects the JSON or MessagePack hub protocol. The service relays framed client data to the selected server.
Application servers register through the SignalR service protocol. They receive client data. They can send data to one client, a user, a group, or a set of connection targets. Group membership is held for each live connection. Server selection supports round-robin assignment and the service's preferred or required server stickiness claims.
The main connection flow is shown below.
sequenceDiagram
participant C as Client
participant S as SignalR service
participant A as Application server
C->>S: Negotiate with access token
S->>A: Check available hub server
S-->>C: Connection id and connection token
C->>S: WebSocket upgrade
S->>A: Open client connection
C->>S: Hub protocol handshake and data
S->>A: Relay client frame
A->>S: Targeted or group message
S-->>C: Relay server frame
For connection limits, handshake rules, message targets, token claims, and the server protocol, see Azure SignalR Service.
References: src/…/SignalRHandler.java• L13-35 src/…/SignalRWebSockets.java src/…/SignalRConnections.java src/…/SignalRTokens.java src/…/SignalRProtocol.java docs/azure-signalr-service.md
Change checklist
When these files or sections are changed, remember to consider these:
- If a service's control-plane resource shape changes, check the matching data-plane lookup. A resource that can be created but cannot be found by its runtime endpoint breaks client setup.
- If API Management proxy behavior changes, keep API import, API and operation matching, backend URL construction, forwarded request data, response status mapping, subscription checks, soft-delete and restore behavior, and no-backend errors consistent with gateway policy results.
- If Event Grid control-plane routing or event normalization changes, keep the ARM provider path, topic data endpoint, generated topic keys, data-plane topic lookup, delivery schema selection, validation behavior, webhook headers, retry state, and dead-letter payloads aligned with the same topic and subscription model.
- If App Configuration key, revision, snapshot, or continuation behavior changes, preserve the relationships between current values, historical reads, and snapshot state.
- If Monitor workspace identity, DCR destination, diagnostic settings, ingestion decoding, or stream keying changes, update the record write path and the workspace/table query path together.
- If Monitor workspace recovery, shared keys, or immutable rule identifiers change, keep deleted-resource listings, indexes, ingestion URLs, and query lookup behavior aligned.
- If Monitor Activity Log entry shape, filter grammar, capacity, or cursor behavior changes, keep administrative and policy event creation aligned with the list response and stable page links.
- If a service moves to the scoped store index contract, keep its resource index entries consistent for both resource-group and subscription scopes. The shared
StoreIndexSourcedefaults derive both views from the same scoped read. - If SignalR negotiation, access-token claims, or hub naming changes, keep the WebSocket route, audience check, and live connection lookup consistent. See Azure SignalR Service.
- If Network routing or subscription-scoped listing changes, keep the early dispatch path and the enabled-service guard aligned.
- If Network child identifiers, inline child arrays, synthesized defaults, DNS counts, or private endpoint links change, verify that parent reads and child operations still describe the same resource relationship.
- If Policy scope parsing, evaluation ordering, expression support, or resource references change, keep definition, initiative, assignment, exemption, append, deny, audit, and deletion dependencies aligned. See Azure Policy Service.
- If Policy evaluation or compliance-state recording changes, keep the evaluation result, Policy Insights state, compliance scan, and policy-state query aligned. See Azure Policy Insights.
- If Resource Graph table assembly or KQL paging changes, keep resource indexes, shared-query resources, query results, and continuation tokens aligned. See Azure Resource Graph.
- If Authorization role-definition data, assignment scope parsing, principal lookup, conflict rules, or tenant hierarchy changes, keep role IDs, assignment listings, scope validation, and resource-group cleanup aligned. See Azure Authorization RBAC.
- If Email storage, ARM resource identity, or operation identifiers change, keep send responses, operation polling, inspection lookups, management resources, global name availability, and reset behavior aligned.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| API Management receives unsupported or malformed policy XML | The policy is ignored, so routing or response changes may not occur | Use supported policy behavior and inspect gateway results |
| API Management has no backend and no return-response policy | The gateway returns BackendNotConfigured instead of a successful response | Configure a backend or use a supported response policy |
| API Management backend cannot be reached | The gateway returns a 502 backend error | Keep the configured backend reachable |
| API Management service is soft-deleted and a client tries to recreate the same name without restore or purge | The create is rejected while the deleted name remains held | Restore the matching service or purge it before reuse |
| Event Grid webhook fails every delivery attempt and no usable dead-letter destination exists | The event is dropped after retries with no durable local copy | Keep the webhook reachable or configure an existing Storage Blob container |
| Event Grid validation cannot reach the webhook | The subscription is stored but is marked as not validated | Make the local endpoint reachable when validation status matters |
| Event Grid subscription uses a non-webhook destination | The subscription request is rejected as unsupported | Use the supported WebHook destination type |
| SignalR has no ready application server for a hub | Negotiation fails or a client WebSocket closes without a server connection | Complete the application-server handshake before client negotiation |
| SignalR access token has a wrong audience, signature, or lifetime | The request is rejected as unauthorized | Create the token for the exact local SignalR endpoint and hub |
| SignalR client uses REST management instead of WebSocket mode | The request returns NotImplemented | Use the WebSocket connection and application-server protocol |
| Email storage is unavailable during inspection or resource access | A send operation, captured message, or Communication resource can appear missing | Keep the configured email storage backend available for its full lifecycle |
| Email communication service name is already held in another subscription | Name availability reports a conflict and the resource cannot claim that host name | Use a globally available communication service name |
| Monitor ingestion cannot resolve the DCR, workspace, destination, or stream | Records are rejected or cannot be found by later queries | Create the linked Monitor resources and preserve their workspace and stream identities |
| Monitor query uses syntax outside the supported KQL subset | The query returns an error instead of the intended result | Limit queries to supported filter, projection, and row-limit operations |
| Monitor compressed input expands beyond the decoded body limit | Ingestion returns a payload-too-large error | Keep compressed uploads within the decoded request limit |
| A workspace is deleted without force and a client expects immediate permanent removal | The workspace remains recoverable and may retain its identity until retention ends | Use force deletion when the workflow requires immediate removal |
| Activity Log query omits the required start-time filter or uses invalid filter syntax | The list request returns a flat BadRequest response | Send a supported eventTimestamp ge filter and supported equality clauses |
| Activity Log capacity is exhausted | Older management or policy entries are no longer queryable | Set a capacity that covers the inspection window and export entries before rollover |
| Network child identifiers do not match the parent resource | Infrastructure tools can fail to map or update the child resource | Preserve Azure-style parent and child resource paths |
| A private endpoint update replaces its network interface unexpectedly | Earlier interface state can remain stale and downstream references can point to the wrong interface | Keep the endpoint's synthesized interface stable unless its custom name changes |
| A policy assignment or exemption refers to a missing resource | The management request is rejected and the dependent resource is not stored | Create referenced definitions and assignments before their dependents |
| A matching enforced policy has a deny effect or an append conflict | The resource write returns 403 RequestDisallowedByPolicy | Inspect policy violation details and adjust the resource or assignment |
| A policy expression cannot be evaluated | The matching enforced request is denied rather than silently admitted | Use supported expressions and inspect policy evaluation details |
| A policy evaluation result cannot be recorded for Policy Insights | Compliance queries do not show the expected policy state | Keep policy-state storage and the evaluation identity available |
| Authorization assigns an unknown role definition or uses a conflicting assignment identity | The assignment is rejected and no role grant is stored | Use a built-in role id and preserve unique assignment names and grants |
| Authorization is expected to enforce a stored role assignment | The request remains allowed or denied based on other controls because RBAC is not evaluated | Use the service for role-resource setup and inspection only |
| Resource Graph query syntax or a table or column name is outside the supported KQL surface | The query returns a structured BadRequest error | Use tables, columns, functions, and operators supported by the local query engine |
Resource Graph $skipToken is malformed or $skip is outside its valid range | The query returns an invalid paging option error | Pass the continuation token returned by the previous page and keep $skip non-negative and bounded |
Key files
| File | Why to read it |
|---|---|
| src/…/ApiManagementHandler.java | Shows the API Management gateway and ARM provider boundary |
| src/…/ApiManagementService.java | Shows API Management service setup, OpenAPI operation import, name ownership, soft deletion, restore, and child-resource relationships |
| src/…/ApiManagementGateway.java | Shows API selection, subscription checks, and policy-driven routing |
| src/…/ApiManagementModels.java | Shows live and soft-deleted API Management service resource shapes |
| src/…/AppConfigHandler.java | Shows configuration values, revisions, snapshots, and sync behavior |
| src/…/EventGridHandler.java | Shows the Event Grid control-plane and topic data-plane split |
| src/…/EventGridService.java | Shows canonical topic and subscription state, generated keys, supported destination settings, and data-plane lookup |
| src/…/EventGridDelivery.java | Shows webhook validation, retry, dead-letter, and reset behavior |
| src/…/EmailHandler.java | Shows email capture, shared storage lifecycle, inspection, operation status, Communication resources, global name availability, and scoped resource indexing |
| src/…/NetworkArmSurface.java | Shows the Network resource families and scope rules |
| src/…/NetworkService.java | Shows network, DNS, private endpoint, and parent-child resource relationships |
| src/…/MonitorArmSurface.java | Shows the Monitor resource families and workspace name boundary |
| src/…/MonitorHandler.java | Shows workspace recovery, collection resources, ingestion, diagnostic settings, decoded body limits, query entry points, persistent resource identity indexes, and scoped resource indexing |
| src/…/MonitorModels.java | Shows the shared ARM-shaped model for Monitor resources and recoverable deleted workspaces |
| src/…/ActivityLogRule.java | Shows which ARM mutations create administrative entries and how outcomes are recorded |
| src/…/KqlEngine.java | Shows the supported query behavior over stored records |
| src/…/PolicyHandler.java | Shows policy resource scopes, references, assignments, and exemptions |
| src/…/PolicyEvaluationRule.java | Shows the request gate, effect timing, denial response, and evaluation log |
| src/…/PolicyEngine.java | Shows assignment matching, effect ordering, exemptions, and resource-write scope |
| src/…/PolicyInsightsHandler.java | Shows policy-state and compliance query entry points |
| src/…/AuthorizationArmSurface.java | Shows Authorization resource types and name and scope rules |
| src/…/RbacHandler.java | Shows built-in role reads, assignment writes, scope listings, and conflict behavior |
| src/…/RoleAssignmentStore.java | Shows assignment persistence and resource-group cleanup |
| src/…/RoleDefinitionCatalog.java | Shows the built-in role catalog and permission data |
| src/…/SignalRWebSockets.java | Shows SignalR routes, negotiation, token checks, and WebSocket admission |
| src/…/SignalRConnections.java | Shows live server ownership, client routing, groups, and fan-out |
| src/…/ResourceGraphHandler.java | Shows Resource Graph query and shared-query control-plane entry points |
| src/…/GraphTables.java | Shows how emulator resources become graph tables |
| src/…/KqlEngine.java | Shows the supported local KQL surface |
| docs/azure-ai-search.md | Explains Azure AI Search resource and query behavior |
| docs/azure-iot-hub.md | Explains IoT Hub device and message behavior |
| docs/azure-signalr-service.md | Explains SignalR connection and server protocol behavior |
| docs/azure-policy-service.md | Explains Policy resource management and evaluation behavior |
| docs/azure-policy-insights.md | Explains Policy Insights compliance scans and policy-state queries |
| docs/azure-resource-graph.md | Explains Resource Graph query and shared-query behavior |
| docs/azure-authorization-rbac.md | Explains Authorization role definitions and role-assignment behavior |