# microsoft/entra-sms-voice-usage-analyzer architecture

> Architecture diagram of the GitHub repository microsoft/entra-sms-voice-usage-analyzer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/microsoft/entra-sms-voice-usage-analyzer
- Repository: https://github.com/microsoft/entra-sms-voice-usage-analyzer

## Overview

This is a small, read-only PowerShell scanner for Entra authentication-method policy scope. An administrator runs the script; it reports registration-campaign and SMS/Voice policy state, migration state, target scope, and retirement guidance, and can export policy targets to CSV. The README documents Graph policy reads and group-name resolution, but no source excerpts were provided, so internal implementation details and call sequencing are not shown.

Main entry points: [`Get-SmsVoicePolicyUsers.ps1`](https://github.com/microsoft/entra-sms-voice-usage-analyzer/blob/main/Get-SmsVoicePolicyUsers.ps1) (Policy scanner)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_admin(("Administrator"))
node_scanner["Policy scanner"]
node_auth_policy["Authentication policy"]
node_groups["Entra groups"]
node_csv["Targets CSV"]
node_report["Console report"]

node_admin -->|"runs"| node_scanner
node_scanner -->|"reads policy"| node_auth_policy
node_scanner -->|"resolves names"| node_groups
node_scanner -->|"exports targets"| node_csv
node_scanner -->|"displays findings"| node_report

click node_scanner "https://github.com/microsoft/entra-sms-voice-usage-analyzer/blob/main/Get-SmsVoicePolicyUsers.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_admin,node_auth_policy,node_groups,node_csv,node_report toneIndigo
class node_scanner toneTeal
```

## Components

### Other components

- **Administrator**
- [Policy scanner](https://github.com/microsoft/entra-sms-voice-usage-analyzer/blob/main/Get-SmsVoicePolicyUsers.ps1): `Get-SmsVoicePolicyUsers.ps1`
- **Authentication policy**
- **Entra groups**
- **Targets CSV**
- **Console report**

## Connections

- Administrator → Policy scanner: runs (evidence: `README.md`)
- Policy scanner → Authentication policy: reads policy (evidence: `README.md`)
- Policy scanner → Entra groups: resolves names (evidence: `README.md`)
- Policy scanner → Targets CSV: exports targets (evidence: `README.md`)
- Policy scanner → Console report: displays findings (evidence: `README.md`)
