Coglizer
← All designs
architecture·Proposed·Draft v0.2·

Analytics Hub: Architecture Design

Target architecture for one governed, single sign-on portal that serves native BI embeds and sealed AI-agent-built reports side by side, with the hub, not the report, as the enforcement point for identity, data security, and egress.

AzureEntra IDAI AgentsDatabricksSnowflakePower BISecurity

01Purpose

This design describes the target architecture for an organization-wide Analytics Hub: one governed, single sign-on (SSO) web portal where every user goes to find analytics. The hub serves two kinds of content side by side:

  1. Native platform content embedded from tools the organization already owns (Power BI / Fabric, Databricks AI/BI, Snowflake-backed apps, Salesforce, and others).
  2. Agent-built HTML reports: custom, advanced analytics sites generated by AI agents and tailored to a person, team, or question.
The core problem is not building the reports. AI agents can already do that quickly. The core problem is security, control, and governance: who can see which data, where that data is allowed to flow, and what outbound requests generated code is allowed to make. The architecture solves this by making the hub, not the report, the enforcement point.

Design goals

GoalWhat it means in practice
One front doorUsers sign in once with Microsoft 365 / Entra ID and see every report and tool they are entitled to.
Identity everywhereThe signed-in user's identity is carried all the way to the data platform so row- and column-level security is enforced at the source, not reimplemented in the report.
Untrusted-by-default reportsAgent-generated HTML is treated like third-party code: isolated, unable to call the internet, and unable to hold credentials.
Pluggable platformsAdding Snowflake, Databricks, Fabric, Salesforce, or a new tool is a connector registration, not a new portal.
Evidence by defaultEvery view, query, build, and publish event is logged and attributable to a person.

Non-goals

  • Replacing the source platforms' security models. The hub defers to Unity Catalog, Snowflake roles and policies, OneLake security, and Power BI RLS rather than duplicating them.
  • Letting agents run arbitrary SQL from the browser at view time.
  • Serving anonymous or public users. An external-user variant is listed under Open Decisions but is out of scope for v1.

02Architecture at a Glance

Reference architecture: employees sign in through Entra ID and reach the hub via Front Door and WAF. Inside a private Azure virtual network are subnets for the hub application (hub shell, sealed report runtime, personalization, admin console), the data gateway (gateway, registry, Key Vault, bundle storage), the agent build plane (Build Studio, model gateway, validation pipeline, certification workflow), and egress (Azure Firewall, private endpoints). The gateway queries Databricks, Snowflake, Fabric / Power BI, and Salesforce as the user; audit logs flow to Sentinel and Log Analytics.
Click to open full size

The design has six layers:

  1. Identity and access: Entra ID, Conditional Access, groups
  2. Edge and network: Front Door, WAF, private endpoints, egress firewall
  3. Hub application: shell, catalog, viewer, personalization
  4. Data gateway: token broker, query allowlist, caching, masking fallback
  5. Agent build plane: studio, model gateway, validation pipeline, registry
  6. Platform connectors: Databricks, Snowflake, Fabric / Power BI, Salesforce, others

03Identity and Access Layer

Single sign-on

The hub is registered as an enterprise application in Microsoft Entra ID and uses OpenID Connect (authorization code with PKCE) for sign-in. Users never create a hub password; their Microsoft 365 identity is the hub identity.

Conditional Access sits in front of the hub. Microsoft describes Conditional Access as its Zero Trust policy engine, with policies that can require MFA, compliant devices, or approved locations before granting access. Because any Entra-registered application can be targeted by a policy, the hub gets the same posture as Microsoft 365 itself. Recommended baseline:

PolicyTargetControl
CA‑HUB‑01All hub usersRequire MFA
CA‑HUB‑02Users opening Confidential or Restricted reportsRequire compliant or hybrid-joined device (via authentication context)
CA‑HUB‑03Hub admins and report certifiersRequire phishing-resistant authentication strength
CA‑HUB‑04All usersBlock legacy authentication; block high sign-in risk

Authorization model: two keys

Two-keys access model: the user signs in with Entra ID, the hub catalog checks key 1 (hub entitlement from Entra groups), and the data gateway performs an OBO exchange so the data platform applies key 2 (source security). Only rows the user is allowed to see come back.
Click to open full size

Authorization is evaluated in two places, and both must allow access:

  1. Hub entitlement (can you see the tile?): The hub reads the user's Entra security group memberships and matches them against the Entitlement Registry. A report or tool appears in the catalog only if the user is in an allowed group.
  2. Source entitlement (can you see the rows?): When data is fetched, the user's identity is passed to the platform, which applies its own row filters, column masks, and object grants.

This "two keys" design means a misconfigured hub tile cannot leak data. If the hub shows a report to the wrong person, the platform still returns only the rows that person is allowed to see.

Groups follow a simple naming convention so that access is managed in Entra, not inside the hub:

AH-<Domain>-<Audience>-<Level>

e.g. AH-Finance-FPA-Viewer, AH-Finance-FPA-Builder, AH-Sales-NA-Viewer

Identity propagation: the token broker

Gateway token broker: the hub shell and Build Studio agent pass the user's token to the data gateway, which exchanges it via OBO, External OAuth, or scoped embed tokens for Databricks, Snowflake, Fabric / Power BI, and Salesforce, with a short-lived per-user token cache.
Click to open full size

The hub's data gateway is the only component that talks to data platforms. It never uses a shared "god" account for user-facing queries. Instead, it exchanges the user's hub token for a platform-specific token:

  • On-Behalf-Of (OBO): Microsoft's OBO flow lets a middle-tier API pass "a user's identity and permissions through the request chain" using delegated scopes. The gateway uses OBO for Entra-native targets (Fabric, Power BI REST, Azure Databricks, and Snowflake configured for Entra External OAuth).
  • Scoped service tokens: Where a platform's embed model requires a service principal (for example, Databricks embedding for external users), the gateway mints a short-lived, user-scoped token and stamps the viewer identity into it so the platform's audit log still shows who viewed what.
  • Vendor OAuth: For SaaS platforms outside Entra (for example, Salesforce APIs), the gateway uses that platform's OAuth with the user's federated identity.

Agents follow the same rule. Microsoft's Entra Agent ID guidance describes agents acquiring downstream tokens via OBO on behalf of the signed-in user. The design adopts this so that an agent building a report for Jane can only see data Jane can see.

04Edge and Network Layer

The network layer is where "control data flow and outbound requests" is enforced at the infrastructure level, independent of any code the agent writes.

Network boundary: users reach the hub only through Front Door Premium with WAF. The hub shell, data gateway, and isolated report origin run in private subnets. All egress is routed through Azure Firewall with an FQDN allowlist (Entra login, Snowflake private link, Databricks, Power BI / Fabric APIs, Salesforce, model gateway); anything else is denied and logged. Snowflake, Databricks, and Key Vault are reached over private endpoints.
Click to open full size

Inbound

  • Azure Front Door Premium with WAF terminates TLS and filters traffic. Front Door Premium can reach origins over Private Link so the origin is not publicly exposed, and Microsoft recommends restricting direct origin access so traffic only arrives via Front Door.
  • The hub shell, gateway, and report-hosting origin run in a private virtual network (Azure Container Apps or App Service with VNet integration).

Outbound (egress)

  • All outbound traffic from hub workloads routes through Azure Firewall using user-defined routes, the standard force-tunnel pattern for controlled egress.
  • The firewall uses an FQDN allowlist limited to: Entra login endpoints, the organization's Snowflake account URL, Databricks workspace URLs, Fabric / Power BI API endpoints, Salesforce My Domain, and the approved model endpoint. Everything else is denied and logged.
  • Private endpoints are used for Snowflake (Azure Private Link), Azure Databricks, Key Vault, and Storage wherever supported, with public network access disabled on those services.

Browser-level egress control

Network controls stop the server from calling the internet. Browser controls stop the generated HTML from doing so. This is covered in the Agent-Built Report Runtime section.

05Hub Application Layer

ComponentResponsibility
Hub ShellSingle-page app. Sign-in, catalog, search, favorites, report viewer frame, personalization settings.
Catalog ServiceBuilds the user's personal catalog by intersecting their Entra groups with the Entitlement Registry.
ViewerHosts each report or tool in an isolated iframe and brokers data to it (agent reports) or initializes vendor SDKs (native embeds).
Personalization ServiceStores per-user preferences (default filters, layout, pinned KPIs, theme) as JSON, separate from the report code.
Admin ConsoleConnector registration, entitlement mapping, report lifecycle actions, kill switch.

Catalog experience

Concept of the hub home screen: a sidebar with data libraries (Finance, Sales, Operations), tools (Databricks Genie, Snowflake apps, Power BI app, Salesforce), and My Work; the main area lists Finance reports as tiles showing tier badges (Certified, Team, Personal), sensitivity labels, source platforms, and owners.
Click to open full size

After sign-in, the user lands on a home page grouped by Data Libraries (Finance, Sales, Operations, and so on). Each library shows:

  • Certified reports (badged)
  • Team reports
  • Personal / sandbox reports (only visible to the owner and named collaborators)
  • Launch tiles for platform tools the user is entitled to (Databricks Genie space, Snowflake app, Power BI app, Salesforce dashboard)

Each tile displays owner, certification tier, sensitivity label, data sources, and last refresh. This makes governance visible to the user rather than hidden behind it.

Kill switch

Every report and connector has an enabled flag in the registry. Turning it off removes the tile from every catalog and causes the gateway to reject that report's data requests within one cache cycle. This is the incident-response lever.

06Agent-Built Report Runtime

This is the heart of the design. Agent-generated HTML is powerful, but it is code written by a model. The runtime therefore assumes the report could contain bugs, prompt-injected behavior, or attempts to send data somewhere it should not go.

The sealed-report pattern (default)

Sequence diagram of the sealed report runtime: the user opens a report; the hub shell checks entitlement with the data gateway and loads the static bundle into a sandboxed iframe with an opaque origin; the report posts a dataset request to the shell; the shell fetches it through the gateway, which runs an approved query as the user; RLS-filtered rows return as JSON with row limits and are posted back to the iframe, which renders charts. Direct fetch, XHR, and WebSocket calls from the iframe are blocked.
Click to open full size

Key properties:

  1. The report has no network access. It is served with a Content Security Policy whose connect-src is 'none'. MDN documents that connect-src governs fetch(), XMLHttpRequest, WebSocket, EventSource, and sendBeacon(), so blocking it removes the script-driven exfiltration paths.
  2. The report is sandboxed on a separate origin. It loads from a dedicated domain (for example reports.contoso-usercontent.net) inside an iframe with sandbox="allow-scripts" and without allow-same-origin. That gives it a unique opaque origin with no access to hub cookies, storage, or the parent DOM. The W3C describes sandboxing as forcing content into a unique origin and blocking forms, popups, and navigation unless explicitly allowed.
  3. The report holds no credentials. It only asks the shell for named datasets. The shell, which owns the user session, decides whether to fulfill the request.
  4. The report can only ask for what it declared. At certification, each report registers a data contract: the list of named datasets and allowed parameters. The gateway rejects anything not in the contract.
  5. Policies only get stricter. Per MDN, when multiple CSPs apply, additional policies can only further restrict the resource, so a report cannot loosen the hub's header with its own meta tag.
Reference header for report bundles
Content-Security-Policy:
  default-src 'none';
  script-src 'self';
  style-src 'self';
  img-src 'self' data: blob:;
  font-src 'self';
  connect-src 'none';
  form-action 'none';
  base-uri 'none';
  frame-ancestors https://hub.contoso.com;

Charting libraries (Chart.js, D3, ECharts, Plotly) are vendored into an approved, versioned library bundle served from 'self'. Agents may only reference libraries from that approved list.

The connected-report pattern (exception)

Some reports need live interactivity at scale (for example, drill-through on billions of rows). For those, a certified report may be granted connect-src https://gateway.contoso.com so it can call the gateway directly with a short-lived, audience-restricted token issued by the shell. This is an exception that requires Certified-tier review.

What the gateway enforces

ControlDescription
Entitlement checkUser must be in an allowed group for the report.
Data contractOnly registered dataset names and parameter shapes are served.
Parameterized queriesDatasets are defined as parameterized SQL or semantic-model queries; no string concatenation from the client.
Identity passthroughQueries execute under the user's identity (OBO or platform-native).
Row limitsPer-dataset maximum rows and payload size to prevent bulk extraction.
Export policyDownload/CSV is a gateway feature governed by sensitivity label, not something the report implements.
AuditEach call logs user, report, dataset, parameters, row count, platform query ID.

07Agent Build Plane

The build plane is where agents create and customize reports. It is separate from the runtime so that a compromised build session cannot change what is live in production.

Agent build plane flow: a builder request goes to an agent that plans the report, reads metadata, runs sample queries as the requesting user, and generates a bundle (HTML/JS, manifest, data contract). Automated validation either fails back for regeneration or passes; Personal reports go straight to the registry while Team and Certified reports require human review. Model calls go through a model gateway (APIM with prompt logging) to a private LLM, governed by label-based classification rules.
Click to open full size

Model gateway

All agent calls to large language models go through an internal model gateway (for example Azure API Management in front of Azure OpenAI / Foundry, deployed in the private network). The model gateway:

  • Logs prompts and responses for audit.
  • Applies data classification rules: Restricted data never goes to the model; Confidential data goes only as aggregated samples or schema.
  • Blocks the agent from calling arbitrary tools or URLs; the agent's toolset is limited to "read metadata," "run approved sample query," "write bundle files," and "run validation."

Microsoft Fabric's information protection settings include an option to allow Microsoft Purview to secure AI interactions for audit, DLP-style classification, and eDiscovery, which can be used where Fabric Copilot is part of the stack.

Automated validation checks

Before any bundle can publish, the pipeline runs:

  1. Static scan: reject any absolute URL, eval, new Function, dynamic import() from a non-self source, inline event handlers, or references to unapproved libraries.
  2. Manifest check: the bundle must include manifest.json with owner, purpose, data contract, sensitivity label, intended audience group, and refresh expectations.
  3. Contract check: every dataset the code requests must exist in the contract, and every contract dataset must map to an approved query in the semantic layer.
  4. Headless run: load the bundle in a headless browser under the production CSP; fail on any CSP violation report.
  5. Accessibility and render check: basic contrast, keyboard navigation, no console errors.
  6. Data-quality assertion: compare a few headline numbers against the certified semantic model (for example, total revenue matches the Finance-certified measure within tolerance).

Personalization without re-certification

Three layers from most freedom to tightest governance: preferences (any viewer, no re-certification), report code (builder via agent, re-certify for Team and Certified), and data contract (data product owner, always re-certify).
Click to open full size

Users often want "the same report, my way." The design separates three layers so that customization does not reopen governance:

LayerWho can change itRequires re-certification?
Data contract (which datasets, which filters are allowed)Data product owner, via agent + reviewYes
Report code (charts, layout, calculations on returned data)Builder via agentYes for Team/Certified; no for Personal
Preferences (default filters within contract, pinned KPIs, theme, column order)Any viewerNo

An agent can, for example, generate a personal variant of a certified report that rearranges visuals and adds a commentary panel. Because it uses the same data contract, it inherits the source security automatically and only needs Personal-tier validation.

Report registry

The registry is the system of record for everything published:

Example registry record
{
  "report_id": "fin-fpa-margin-weekly",
  "version": "1.4.0",
  "tier": "certified",
  "owner": "jane.doe@contoso.com",
  "data_product_owner": "fpa-data-owners@contoso.com",
  "audience_groups": ["AH-Finance-FPA-Viewer"],
  "sensitivity_label": "Confidential",
  "connectors": ["snowflake-prod", "fabric-finance"],
  "data_contract": [
    { "dataset": "margin_by_product_week",
      "params": { "fiscal_year": "int", "region": "string" } }
  ],
  "egress_mode": "sealed",
  "certified_by": "fin-certifiers@contoso.com",
  "certified_on": "2026-11-14",
  "review_due": "2027-05-14",
  "enabled": true
}

08Platform Integration Examples

Each platform plugs into the hub through a connector registered in the Admin Console. A connector declares: the auth pattern, the identity mapping, where row-level security lives, embed options, and egress endpoints to allowlist. There are three integration patterns:

Three integration patterns. Pattern A, native embed: the vendor's embed iframe renders inside the hub with an OBO token and RLS is enforced by the platform's semantic model. Pattern B, data source for agent reports: the gateway queries Snowflake, Databricks, or Fabric as the user and feeds a sealed HTML report through the data contract. Pattern C, launch tile: the hub links to the platform UI with SAML or OIDC SSO.
Click to open full size
Pattern A: Native embed
The platform's own dashboard renders inside the hub using its SDK. Security is fully enforced by the platform.
Pattern B: Data source for agent reports
The gateway queries the platform under the user's identity and feeds results to sealed HTML reports.
Pattern C: Launch tile
The hub links to the tool with SSO for power users (notebooks, SQL editors, Genie spaces). No data passes through the hub.

Databricks (Unity Catalog, AI/BI Dashboards, Genie)

Databricks integration: AI/BI dashboards are embedded in the hub using the viewer identity or a scoped token (Pattern A), and the data gateway queries a SQL warehouse with an Entra token as the user (Pattern B). Unity Catalog enforces ABAC row filters and column masks on both paths.
Click to open full size

Pattern A: Embed AI/BI dashboards. Databricks supports two embedding modes:

  • Basic embedding for users who have Databricks identities. Workspace admins must enable embedding and maintain an approved-domain list; the hub domain goes on that list. Databricks notes this mode requires third-party cookies.
  • Embedding for external users, where the application authenticates with a service principal and mints user-scoped tokens carrying external_viewer_id and external_value. Despite its name, Databricks' own guidance shows this working for internal groups too: the backend can sign a scope such as finance_all derived from the viewer's Entra or Okta group, which dashboard SQL reads as __aibi_external_value.
SettingValue
Embed modeBasic embedding for users with Databricks identities (default for internal staff); external-user mode only where cookies or licensing make basic embedding impractical
Publish settingIndividual data permissions, which Databricks recommends so queries do not run with the publisher's permissions
Service principalRestricted to the exact tables the dashboard needs, per Databricks best practice
Viewer IDStable non-PII ID (Entra object ID), since Databricks warns external_viewer_id lands in audit logs
Recommended hub configuration

Microsoft also notes that Azure Databricks dashboards can be shared with any Entra user or group through automatic identity management, which reduces provisioning overhead for the hub's user base.

Pattern B: Data source for agent reports.

  • The gateway calls a Databricks SQL warehouse using the user's Entra token (Azure Databricks) so Unity Catalog evaluates the real user.
  • Row and column security is defined once in Unity Catalog. Databricks recommends ABAC policies for consistent row filters and column masks across many tables, applied centrally through governed tags so that table owners cannot remove them.
  • Agent reports inherit this automatically. A report requesting margin_by_product_week for a regional manager gets only that region's rows because Unity Catalog filtered them.

Pattern C: launch tile for notebooks and Genie spaces, with SSO through Entra.

Snowflake

Snowflake integration: Entra ID acts as the External OAuth server; the data gateway connects as the user and Snowflake opens a session under the user's role, with row access and masking policies enforced. Streamlit or native apps appear as SSO launch tiles.
Click to open full size

Pattern B (primary): Data source with Entra External OAuth. Snowflake supports Microsoft Entra ID as an External OAuth authorization server. The setup registers a "Snowflake OAuth Resource" app in Entra with scopes that map to Snowflake roles, then creates a security integration in Snowflake:

Snowflake security integration
CREATE SECURITY INTEGRATION ah_entra_oauth
  TYPE = EXTERNAL_OAUTH
  ENABLED = TRUE
  EXTERNAL_OAUTH_TYPE = AZURE
  EXTERNAL_OAUTH_ISSUER = '<entra issuer>'
  EXTERNAL_OAUTH_JWS_KEYS_URL = '<entra jwks uri>'
  EXTERNAL_OAUTH_AUDIENCE_LIST = ('<application id uri>')
  EXTERNAL_OAUTH_TOKEN_USER_MAPPING_CLAIM = 'upn'
  EXTERNAL_OAUTH_SNOWFLAKE_USER_MAPPING_ATTRIBUTE = 'login_name';

This follows Snowflake's documented Entra example. The upn claim must match each user's Snowflake LOGIN_NAME, and the audience must exactly match the Entra Application ID URI, a common setup pitfall that third-party vendors also call out.

  1. 1
    User signs into hub
  2. 2
    Gateway performs OBO
    to the Snowflake resource scope
  3. 3
    Gateway connects
    with the OAuth token
  4. 4
    Snowflake validates
    and opens a session under the user's role
  • Row-level security lives in Snowflake row access policies, which can use mapping tables to decide which rows each role sees and can be applied to many tables from one policy. Column protection uses masking policies. Note that row access policies are an Enterprise Edition feature.
  • Network: use Snowflake on Azure Private Link and add only the private account URL to the firewall allowlist.
  • Pattern A / C: Streamlit in Snowflake or Snowflake-native apps appear as launch tiles; Snowflake data surfaced in Power BI or Databricks dashboards is embedded through those platforms' patterns.

Microsoft Fabric and Power BI

Fabric and Power BI integration: Power BI reports are embedded as "embed for your organization" (user owns data) using the JavaScript SDK and an Entra token (Pattern A); the data gateway uses an Entra OBO token against the SQL analytics endpoint in user identity mode (Pattern B). OneLake security and semantic-model RLS and CLS are enforced on both paths.
Click to open full size

Pattern A: Embed Power BI reports ("embed for your organization"). For internal users, the user-owns-data model has users authenticate against Entra with their own credentials, so existing workspace permissions and RLS apply unchanged. The hub obtains the embed token through OBO and renders with the Power BI JavaScript SDK.

Licensing is a real design constraint. In this model, only F64-or-higher Fabric or P capacities let free-licensed users view content; smaller F SKUs and A SKUs require each viewer to have Pro or PPU, and "embed for your organization" is not supported on A-SKU capacities. This is one reason agent-built reports on top of Fabric data (Pattern B) can be attractive: they avoid per-viewer Power BI licensing for many consumption scenarios, while still respecting OneLake security.

Pattern B: Data source via OneLake / SQL analytics endpoint.

  • OneLake uses Entra ID for authentication and maps user identity to Fabric permissions.
  • Set the Lakehouse SQL analytics endpoint to user identity mode, where the signed-in user's identity passes through to OneLake and OneLake roles govern reads, including RLS and CLS. This capability is in preview and, in user identity mode, dynamic and multi-table RLS are not yet available, so complex entitlement logic may still belong in delegated mode with SQL security policies.
  • The gateway connects to the SQL endpoint with the user's OBO token; agent reports receive pre-filtered results.

Sensitivity labels. Purview sensitivity labels can be applied to semantic models, reports, dashboards, and dataflows, and follow data on export. The hub reads the label of the source item and stamps it onto any agent report built from it, and the gateway uses the label to decide export and model-sharing rules.

Salesforce (CRM and CRM Analytics / Tableau Next)

Salesforce integration: single sign-on through the Entra gallery SAML app; dashboards appear as launch tiles or embeds; the data gateway reads Salesforce APIs through a connected app using OAuth on behalf of the user, so sharing rules and profiles enforce record-level access.
Click to open full size
  • SSO: Salesforce is configured as a SAML service provider with Entra as the identity provider, using the Entra gallery Salesforce app. Users clicking a Salesforce tile in the hub go straight in without a second login.
  • Pattern A: Salesforce dashboards appear as launch tiles or embedded views where Salesforce allows framing of the hub domain.
  • Pattern B: The gateway reads Salesforce data through a connected app using OAuth on behalf of the user, so Salesforce sharing rules apply. For heavy analytics, the preferred route is to land Salesforce data in Snowflake, Databricks, or Fabric and govern it there, which keeps all row-level logic in one place.

Other platforms (pattern template)

Any additional tool (Tableau, Looker, Sigma, ThoughtSpot, Qlik, internal APIs) is onboarded with the same checklist:

QuestionRequired answer before go-live
Does it support Entra SSO (SAML or OIDC)?Yes, or it is limited to launch-tile only.
Can it receive a user-delegated token (OBO, External OAuth, or signed embed token with user claims)?Yes for Pattern A or B.
Where does row-level security live?Named, and documented in the connector record.
Which FQDNs must the gateway reach?Listed and added to the firewall allowlist.
What does the platform log, and can it be correlated to the hub user?Audit field mapping documented.
Can the embed domain be allowlisted on the vendor side?Yes, hub domain registered.
Confirm specifics against each vendor's current documentation, since embed and OAuth options change frequently.

Integration summary

PlatformPrimary patternHub → platform authWhere RLS livesNotable constraint
DatabricksA + BEntra token / service principal with scoped viewer tokenUnity Catalog ABAC row filters and column masksApproved embed domains; basic embed needs third-party cookies
SnowflakeBEntra External OAuth (OBO)Row access policies + masking policiesUPN must equal LOGIN_NAME; Enterprise Edition for RAP
Fabric / Power BIA + BEntra (OBO), user owns dataOneLake security roles, semantic model RLSViewer licensing below F64
SalesforceC + BSAML SSO; OAuth connected appSalesforce sharing rulesPrefer landing data in a governed platform for analytics

09Observability and Audit

Observability: event sources (hub shell, data gateway, validation pipeline, browser CSP reports, platform logs) feed Log Analytics, joined by correlation ID, and Microsoft Sentinel detections for bulk extraction, off-hours access, repeated denials, CSP violations from certified reports, and expired exceptions. The response is the kill switch.
Click to open full size
  • Hub events: sign-in, catalog view, report open, dataset request, export, build, publish, certification, kill-switch action. All events carry the Entra object ID, report ID and version, and correlation ID.
  • Platform correlation: the gateway records each platform's query ID (Databricks query history and external_viewer_id, Snowflake query ID, Fabric activity log) next to the hub event so investigators can trace a number on screen back to the exact query.
  • CSP violation reporting: browsers report blocked requests to a hub endpoint; any violation from a certified report is an alert.
  • Destination: Log Analytics workspace feeding Microsoft Sentinel, with detections for unusual extraction volume, access outside normal hours, and repeated entitlement denials.

10Deployment Reference (Azure)

Azure deployment reference grid of recommended managed services per concern: identity, edge, compute, egress, secrets, registry, bundles, models, governance, monitoring, CI/CD, and platforms.
Click to open full size
ConcernRecommended service
IdentityMicrosoft Entra ID, Conditional Access, Entra groups, Privileged Identity Management for admins
EdgeAzure Front Door Premium + WAF
ComputeAzure Container Apps (workload profiles, internal environment) or App Service with VNet integration
EgressAzure Firewall (Standard for FQDN rules; Premium if TLS inspection required)
SecretsAzure Key Vault with managed identities
Registry and metadataAzure SQL or Cosmos DB
Report bundle storageAzure Storage (private endpoint) served via isolated origin
Model accessAzure OpenAI / Foundry behind API Management, private networking
Governance metadataMicrosoft Purview (labels, catalog, lineage)
MonitoringLog Analytics, Application Insights, Microsoft Sentinel
CI/CDGitHub Actions or Azure DevOps running the validation pipeline

11Key Risks and Mitigations

RiskMitigation
Agent-generated code exfiltrates dataSealed-report pattern: CSP connect-src 'none', sandboxed opaque origin, no credentials, egress firewall.
Agent sees more data than requesterAgent tokens obtained via OBO for the requesting user; Restricted data never sent to model.
Wrong numbers in a polished reportData-contract binding to certified semantic models; automated headline reconciliation; certification tiers.
Report sprawlTiered lifecycle with review dates, auto-expiry for Personal reports, usage-based retirement.
Hub becomes a single point of failureMulti-region Front Door, stateless shell and gateway, platform tools still reachable directly via SSO.
Hub entitlement misconfigurationTwo-keys model: source platform RLS still applies.
Licensing surprises (Power BI)Capacity sizing review (see Fabric and Power BI); route broad consumption through Pattern B where appropriate.
Preview features changeTrack preview dependencies (OneLake security for SQL endpoint, Databricks external embedding) in the risk register and revalidate each quarter.

12Open Decisions

  1. Hosting: Azure Container Apps versus App Service for the shell and gateway.
  2. Semantic layer of record: Power BI semantic models, Databricks metric views, Snowflake semantic views, or a combination by domain.
  3. Connected-report mode: whether it is allowed in v1 or deferred.
  4. Model provider and data-classification thresholds for agent prompts.
  5. External users: whether partners are in scope for a later phase, which would shift Databricks and Power BI to app-owns-data embedding.