This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello, Power BI admins!
We would like to announce some exciting enhancements that will help you more easily and effectively manage your Power BI tenant settings. On May 23rd 2023, we unveiled Microsoft Fabric, an end-to-end unified SaaS analytics platform that brings together all the data and analytics tools that your organization needs under a single framework. With the introduction of Fabric, we centralized administration of these analytical capabilities in the Fabric Admin portal (previously known as the Power BI admin portal). With the advent of Fabric, we want to make it easier for you to manage the growing number of settings in the Admin Portal as new workloads onboard to the platform. To this end, we are implementing two important enhancements to help you identify newly-introduced tenant settings as well as programmatically manage the growing body of tenant settings.
What are tenant settings?
Tenant settings are the configuration options that apply to the whole Fabric tenant. They control various aspects of Fabric features and behaviors, such as security, data protection, licensing and more. You can view and modify tenant settings in the Fabric admin portal, under Tenant settings.
Why use an API to read tenant settings?
Fabric admins require access to tenant settings for multiple scenarios, including:
How does the new API work?
The GetTenantSettings API returns all tenant settings in a single JSON response. You can use any HTTP client or tool to call the API, such as Postman, PowerShell, or curl. You can also use the Power BI .NET SDK to call the API from your .NET applications.
To call the API, you need to have administrator rights (such as Office 365 Global Administrator or Power BI Administrator) or authenticate using a service principal. You also need to have the Tenant.Read.All or Tenant.ReadWrite.All scope.
The API endpoint is:
https://api.powerbi.com/v1/admin/tenantsettings
The API response is a JSON object that contains a list of tenant settings, each with a name, value, and description. For example:
{
"tenantSettings": [
{
"settingName": "Printing",
"title": "Print dashboards and reports",
"enabled": true,
"canSpecifySecurityGroups": true,
"enabledSecurityGroups": [
{
"graphId": "b43118fd-a43e-4046-80c4-afbeb965852a",
"name": "DigitalTeam"
}
],
"tenantSettingGroup": "Export and sharing settings"
},
{
"settingName": "CertifyDatasets",
"title": "Certification",
"enabled": false,
"canSpecifySecurityGroups": true,
"tenantSettingGroup": "Export and sharing settings",
"properties": [
{
"name": "CertificationDocumentationUrl",
"type": "Url",
"value": "https://learn.microsoft.com/en-US"
}
]
}
]
}
What are some use cases for the new API?
Here are some examples of how you can use the new API to enhance your Power BI administration experience:
You can find more details about the new API in the official documentation:
https://learn.microsoft.com/en-us/rest/api/fabric/admin/tenants/get-tenant-settings
We hope you find these exciting enhancements useful and look forward to hearing your feedback and suggestions. Please let us know what you think in the comments below or in the Power BI community forums.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.