How pbi-guy/blog works
This is a collection of Power BI blog examples and sample assets, not one integrated application. The clearest executable workflows shown are checking and removing unused Power BI licenses, saving activity logs, and checking dataset refresh status before triggering a refresh. Other major capabilities are represented by notebooks, reports, templates, and data files in the tree; their internal wiring was not sampled, so they are shown as standalone examples. Relationships below are limited to those visible in the sampled Python source.
Main entry points: Check User with PBI License.py License audit script · Power BI Dataset Refresh.py Dataset refresh checker · Save Log Files.py Activity log exporter
Components 16
License governance
- License audit script
Save cost by removing unused licenses/Check User with PBI License.py - Microsoft Graph
- Activity log files
- Inactive license users
Save cost by removing unused licenses/Check User with PBI License.py
API operations
- Activity log exporter
Power BI and Activity Logs with Python/Save Log Files.py - Power BI REST API
- Daily CSV log
Power BI and Activity Logs with Python/Save Log Files.py - Dataset refresh checker
Power BI Dataset Refresh with Python/Power BI Dataset Refresh.py - Refresh status
Power BI Dataset Refresh with Python/Power BI Dataset Refresh.py
Power BI examples
- Workspace capacity assignment
Assign Power BI workspaces to a capacity automatically/Power BI Assign Workspaces to Capacity.ipynb - PDF report export
Export Power BI reports as PDF via REST API/Export Power BI Reports as PDF.ipynb - Fabric metrics extraction
Extract data from the Fabric Metrics App/Save Fabric Metrics App Operations into OneLake.ipynb - Tenant settings reports
Tenant Settings Notification - Security demonstrations
Row Level Security - Championship reports
Power BI Championship/2022 - Report feature demos
Power BI and Paginated Reports
Connections 9
- License audit script → Microsoft Graph: queries users
Save cost by removing unused licenses/Check User with PBI License.py - License audit script → Activity log files: reads logs
Save cost by removing unused licenses/Check User with PBI License.py - License audit script → Inactive license users: filters inactive users
Save cost by removing unused licenses/Check User with PBI License.py - License audit script → Microsoft Graph: removes licenses
Save cost by removing unused licenses/Check User with PBI License.py - Activity log exporter → Power BI REST API: fetches activities
Power BI and Activity Logs with Python/Save Log Files.py - Activity log exporter → Daily CSV log: writes daily CSV
Power BI and Activity Logs with Python/Save Log Files.py - Dataset refresh checker → Power BI REST API: checks refreshes
Power BI Dataset Refresh with Python/Power BI Dataset Refresh.py - Dataset refresh checker → Refresh status: checks status
Power BI Dataset Refresh with Python/Power BI Dataset Refresh.py - Dataset refresh checker → Power BI REST API: triggers refresh
Power BI Dataset Refresh with Python/Power BI Dataset Refresh.py