In short.
Audit Tenant Settings is an assistant skill for Fabric and Power BI administrators who want governance reports, but its scripts do not complete the audit described in its instructions. The Markdown generator compares live tenant settings with editable recommendations and tracks configuration changes. The PDF adds a briefing format and override counts. Detailed override classification and Microsoft Entra group investigation remain separate tasks. The supplied code also exposes misleading treatment of missing settings, incomplete handling of very high risk labels, a shared-snapshot sequencing problem and a PDF failure path involving saved group identifiers. Authentication, live API compatibility, report generation and operating costs were not tested.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is plugins/fabric-admin/skills/audit-tenant-settings at commit aa13b20b014242513a2ae9efa1eca53e29e31e9a: SKILL.md, three reference files and two Python scripts. The repository-root LICENSE is the related notice outside that folder. The broader plugin, sibling fabric-cli skill, CLI implementations, assistant-host behavior and external Microsoft documentation are outside the supplied contents. No code was executed, and live tenant behavior, report rendering, API compatibility, performance and costs remain unassessed.
The overview
What the resource is
Audit Tenant Settings is the audit-tenant-settings skill inside the fabric-admin plugin in data-goblin/power-bi-agentic-development. It combines assistant instructions, three reference files and two Python scripts. Its purpose is to help an administrator interpret tenant configuration, exceptions and security-group scoping.
The original source location is [https://github.com/data-goblin/power-bi-agentic-development/tree/main/plugins/fabric-admin/skills/audit-tenant-settings]. The supplied version is pinned to commit aa13b20b014242513a2ae9efa1eca53e29e31e9a at [https://github.com/data-goblin/power-bi-agentic-development/tree/aa13b20b014242513a2ae9efa1eca53e29e31e9a/plugins/fabric-admin/skills/audit-tenant-settings].
Where it fits
The resource offers a useful structure for an administrator-led configuration review. It places current state, recommended posture, documented defaults and explanatory context together, while its instructions recognize that local exceptions and group membership can change the interpretation.
Its suitability depends on completing the separate investigations and examining the generated results critically. The baseline is explicitly opinionated, and matching it establishes agreement with those recommendations only. The source-visible reporting defects make unattended reliance on headline counts difficult to justify without corrections and validation.
Who can use it
The primary users are Fabric and Power BI administrators, governance engineers and developers building internal administration automation. Beginners can use its explanations to understand settings and reporting terminology, but obtaining tenant-wide results requires administrative access. Stakeholders can consume the PDF briefing while an administrator handles the underlying review.
It is particularly relevant when an organization needs to explain configuration changes, identify intentional exceptions or review which groups control sensitive capabilities. It does not establish regulatory compliance or replace setting-specific decisions by the organization.
What it provides
The Markdown script retrieves tenant settings, joins them to the YAML baseline, groups the report by portal section and displays configuration differences. Snapshot comparison detects added or removed settings, enabled-state changes, changes to referenced group identifiers and property changes. A name-based heuristic flags entries that resemble individual email addresses.
The PDF generator reuses the comparison logic and adds a stakeholder briefing with counts, change tables, up to 40 drift rows and an optional override-count summary. The references explain how to investigate capacity, domain and workspace overrides and resolve Entra groups, owners, members and role assignments. Those detailed investigations are not automated by the Markdown script, and the PDF does not classify individual overrides.
Using it
Access and dependencies
The instructions require the separate fabric-cli plugin and an authenticated ms-fabric-cli installation using a Fabric or Power BI administrator account. Security-group investigation additionally calls for Azure CLI and Graph permissions including Group.Read.All, User.Read.All, Directory.Read.All and RoleManagement.Read.Directory. The group reference also lists PrivilegedAccess.Read.AzureAD for PIM queries; sufficiency for a particular tenant is unassessed.
The PDF script declares Python 3.10 or newer, ReportLab 4.0 or newer and PyYAML 6.0 or newer. The Markdown script imports PyYAML but has no inline dependency declaration. The instructions use a Claude-style plugin layout and CLAUDE_PLUGIN_ROOT; compatibility with other assistant hosts and exact host versions is unknown. Skipping PDF override enumeration still leaves its tenant-settings admin API call in place.
How the comparison works
The reporting code invokes fab api admin/tenantsettings and reads a particular JSON response envelope. It matches each metadata entry to its API settingName. Baseline recommendations accepted by the loader are on, off, on:sg or null. The comparison uses the enabled flag and whether either the allowed-group or excluded-group list contains entries.
Consequently, on:sg means that some group scoping exists; it does not establish that access is narrowly restricted or that the referenced groups are appropriate. Property values are tracked between snapshots, but the baseline status calculation does not assess their meaning. Snapshots sort group identifiers and properties to reduce ordering noise and use group IDs so renaming a group does not appear as a scope change.
The two reporting scripts read Fabric configuration and write local reports and snapshots. Capacity-override update and delete commands appear in a reference guide, with instructions to obtain confirmation before using them; neither reporting script performs those changes.
Preparing an audit
Obtain the complete skill folder with its scripts and references, retain the repository licence and provide the required fabric-cli integration. The selected files do not contain a complete plugin installation procedure. Authenticate the Microsoft CLIs separately and establish the required administrative access before requesting tenant-wide results.
The documented Markdown invocation is uv run ${CLAUDE_PLUGIN_ROOT}/skills/audit-tenant-settings/scripts/audit-tenant-settings.py -o /tmp/tenant-audit.md. Its PyYAML dependency must be available. The PDF command uses the sibling generate_audit_pdf.py script with an output path; that script supplies inline dependency declarations.
Use an explicit --snapshot path for each tenant. The default is ~/.cache/fabric-admin-audit/last-snapshot.json, and --no-snapshot disables both snapshot reading and writing. Although the instructions describe .claude/fabric-admin.local.md configuration, neither script reads that file. Scheduling, thresholds and notification delivery are not implemented by these scripts.
An illustrative use
An administrator could ask the assistant to review Publish to web, identify delegated exceptions and explain whether the configuration supports an approved public-reporting scenario. The supplied metadata recommends off for PublishToWeb and labels it very high risk, while acknowledging deliberate public-distribution uses. A useful answer would combine the actual tenant state, applicable overrides and the sensitivity of the intended content. No tenant response is supplied, so this example establishes neither an observed configuration nor an audit finding.
Assessment & evidence
Source-visible limitations
Missing settings can receive misleading statuses. The merge function creates records for every metadata entry, even when the API does not return it, and defaults its enabled state to false. An absent entry can therefore appear as compliant with an off recommendation or as drift against an on recommendation. New live settings without metadata are listed separately and excluded from detailed scoring. The PDF does not display the collected metadata-gap lists.
Risk prioritization does not handle the baseline's very high label. PublishToWeb and AllowServicePrincipalsUseWriteAdminAPIs carry that label, but both report sort orders recognize only high, medium and low. Such entries fall behind low-risk entries. The PDF's high-risk drift count also counts high only, excluding very high entries. Preview counts include metadata entries marked preview regardless of whether the feature is enabled.
Override coverage is incomplete in the automation. The Markdown script does not fetch overrides. The PDF makes one fab call per scope, reads the first response data envelope and contains no continuation-token handling. Complete pagination therefore depends on CLI behavior not established by the supplied evidence. It presents returned-item counts without per-setting comparison or classification.
Saved group data creates a PDF failure path. Snapshots store group IDs as strings, while the previous-state renderer expects group dictionaries and calls .get() on each entry. A changed or removed setting with saved group entries reaches this incompatible representation. This is a source-derived finding; no exception was reproduced.
Generating the two formats sequentially can lose the intended change comparison. Each script saves the latest snapshot after generating its report. If the Markdown audit runs first using the shared path, the PDF then compares against that newly saved state and can report no changes. Separate copies of the same previous snapshot are needed for matching comparisons.
Security-group findings require additional investigation. The scripts do not resolve group membership, ownership, nested groups or role assignments through Graph. An email-like group name is only a heuristic. The references also acknowledge that some staleness judgments depend on assumptions; those signals do not establish inappropriate access by themselves.
Design tradeoffs
Keeping recommendations in YAML makes the baseline inspectable and lets the Markdown script accept an alternative metadata file through --metadata. The baseline distinguishes recommended posture from documented factory defaults, which helps explain intentional differences. However, recommendations and risk labels remain editorial judgments requiring organization-specific interpretation.
Snapshot differences establish configuration changes only. Understanding their effect requires checking delegated settings, interpreting allowed and excluded groups and considering how people use the affected capabilities. The broader assistant instructions recognize these dependencies, but the report generators implement only part of that interpretation.
Other approaches
The supplied references support direct inspection through the Fabric admin portal or fab API calls, with setting context from [https://learn.microsoft.com/en-us/fabric/admin/tenant-settings-index]. These approaches leave baseline comparison, historical tracking and presentation to the administrator. The separate fabric-cli skill is described as providing lower-level command and API guidance, but its contents are outside the supplied scope. No comparative performance, coverage or cost evidence for other governance tools is available.
Evidence and confidence
The evidence contains the skill instructions, delegated-override reference, security-group reference, baseline YAML, Markdown script, PDF script and repository-root licence. The metadata describes itself as covering 159 settings; completeness against a live tenant or the current Microsoft catalogue is unassessed.
Neither script was executed. No tenant responses, generated reports, authentication receipts, benchmarks or test results are supplied. Findings about implementation behavior come from the supplied code. External Microsoft pages and the underlying fab and az implementations are not included as independent evidence.
Access & freshness
Costs
No resource-specific price or measured operating cost is supplied. The Python scripts specify no AI model and make no direct model-provider calls, so assistant subscription or token charges depend on the host and remain unknown. Microsoft account entitlements and any infrastructure costs for scheduled execution are not quantified. No evidence establishes a cost per audit.
Licence and redistribution
The supplied repository-root LICENSE contains GNU General Public License version 3. Its terms permit use, modification and redistribution subject to conditions. Unchanged source distribution requires preserving applicable copyright, licensing and warranty notices and supplying the licence. Distribution of modified covered source adds requirements including identifying modifications and licensing the covered work under the GPL.
No narrower licence notice appears in the supplied skill files. The licence appendix contains example later-version wording, but that example alone does not establish a project-specific later-version grant. Dependency and Microsoft service terms are separate and are not established by the repository licence.
Version and freshness
The supplied sources were captured on 16 November 2026 at 13:42:46 UTC and identify commit aa13b20b014242513a2ae9efa1eca53e29e31e9a. No semantic release version or commit date is supplied. Later fixes, current endpoint behavior and current Microsoft setting descriptions are unknown. The pinned source preserves a specific version; the main-branch address can change independently.
Practical next steps
Before depending on the reports, address missing-setting classification, very high risk handling and the PDF's saved-group representation. Establish how override pagination is completed, retain tenant-specific historical snapshots and give both report generators equivalent previous-state inputs. Validate these paths in an authorized environment before using their totals to support administrative decisions.
Complete the separate override and Graph investigations, review baseline recommendations against current Microsoft documentation and document intentional exceptions. Decide what tenant and identity information may be stored in local reports, snapshots and the assistant host; the host's model processing and retention are unknown. Recurring execution and alerts require a separately configured service. Configuration changes should follow the resource's explicit confirmation and piloting guidance.
