# azuread/entraidgovernance architecture

> Architecture diagram of the GitHub repository azuread/entraidgovernance, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/azuread/entraidgovernance
- Repository: https://github.com/azuread/entraidgovernance

## Overview

This repository appears to be a collection of PowerShell utilities for cross-tenant synchronization, including correlated-user assignment, Cloud Sync source-of-authority policy checks and changes, and Connect Health queries. The Connect Health scripts cover tenants, services, service members, monitoring configurations, replication and forest summaries, and tenant certificate details. The repository text provided contains no source excerpts and documents no invocation or data-flow relationships, so the graph shows the evidenced capabilities without inferring links between scripts. The CSV is represented as access-package rules data; its consumer is not established.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_assign["User Assignment"]
  node_correlated_users["Assign Correlated Users"]
end

subgraph group_policy["Cloud Sync Policy"]
  node_check_policy["Check SOA Policy"]
  node_set_policy["Set SOA Policy"]
end

subgraph group_health["Connect Health"]
  node_select_tenant["Select Tenant"]
  node_get_tenant["Get Tenant<br/>[GetTenant.ps1]"]
  node_tenant_cert["Tenant Certificate Details"]
  node_get_services["Get Services<br/>[GetServices.ps1]"]
  node_get_service["Get Service<br/>[GetService.ps1]"]
  node_service_members["Service Members"]
  node_monitor_configs["Monitoring Configurations"]
  node_replication_summary["Replication Summary"]
  node_forest_summary["Forest Summary"]
end

node_access_rules["Access Package Rules"]

click node_correlated_users "https://github.com/azuread/entraidgovernance/blob/main/Assign-CorrelatedUsers.ps1"
click node_check_policy "https://github.com/azuread/entraidgovernance/blob/main/Check-CloudSyncSOAPolicy.ps1"
click node_set_policy "https://github.com/azuread/entraidgovernance/blob/main/Set-CloudSyncSOAPolicy.ps1"
click node_access_rules "https://github.com/azuread/entraidgovernance/blob/main/access-package-rules.csv"
click node_select_tenant "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/SelectConnectHealthTenant.ps1"
click node_get_tenant "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetTenant.ps1"
click node_tenant_cert "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetTenantPksCertificateDetails.ps1"
click node_get_services "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetServices.ps1"
click node_get_service "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetService.ps1"
click node_service_members "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetServiceMembers.ps1"
click node_monitor_configs "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetServiceMonitoringConfigurations.ps1"
click node_replication_summary "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetReplicationSummary.ps1"
click node_forest_summary "https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetForestSummary.ps1"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_correlated_users toneBlue
class node_check_policy,node_set_policy toneAmber
class node_select_tenant,node_get_tenant,node_tenant_cert,node_get_services,node_get_service,node_service_members,node_monitor_configs,node_replication_summary,node_forest_summary toneMint
class node_access_rules toneTeal
```

## Components

### User Assignment

- [Assign Correlated Users](https://github.com/azuread/entraidgovernance/blob/main/Assign-CorrelatedUsers.ps1): `Assign-CorrelatedUsers.ps1`

### Cloud Sync Policy

- [Check SOA Policy](https://github.com/azuread/entraidgovernance/blob/main/Check-CloudSyncSOAPolicy.ps1): `Check-CloudSyncSOAPolicy.ps1`
- [Set SOA Policy](https://github.com/azuread/entraidgovernance/blob/main/Set-CloudSyncSOAPolicy.ps1): `Set-CloudSyncSOAPolicy.ps1`

### Connect Health

- [Select Tenant](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/SelectConnectHealthTenant.ps1): `ConnectHealth/SelectConnectHealthTenant.ps1`
- [Get Tenant](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetTenant.ps1): `ConnectHealth/GetTenant.ps1`
- [Tenant Certificate Details](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetTenantPksCertificateDetails.ps1): `ConnectHealth/GetTenantPksCertificateDetails.ps1`
- [Get Services](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetServices.ps1): `ConnectHealth/GetServices.ps1`
- [Get Service](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetService.ps1): `ConnectHealth/GetService.ps1`
- [Service Members](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetServiceMembers.ps1): `ConnectHealth/GetServiceMembers.ps1`
- [Monitoring Configurations](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetServiceMonitoringConfigurations.ps1): `ConnectHealth/GetServiceMonitoringConfigurations.ps1`
- [Replication Summary](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetReplicationSummary.ps1): `ConnectHealth/GetReplicationSummary.ps1`
- [Forest Summary](https://github.com/azuread/entraidgovernance/blob/main/ConnectHealth/GetForestSummary.ps1): `ConnectHealth/GetForestSummary.ps1`

### Other components

- [Access Package Rules](https://github.com/azuread/entraidgovernance/blob/main/access-package-rules.csv): `access-package-rules.csv`
