Justin Bird has a script for us:
I’ve been exploring Fabric APIs recently, and wanted to look into how to capture the tenant settings using simple APIs calls. This post will show how to use PowerShell to retrieve the tenant settings interactively.
Click through for the script and a breakdown of what it does and what it returns.