Admin in A Day - Basic Module - Instructor
Admin in A Day - Basic Module - Instructor
Power BI Advanced
Doaa Eltahan
• Day 1
• Understanding the Power BI Administrator Role
• Providing Governance in a Power BI Environment
• Establishing a Power BI Environment
• Tenant Settings walkthrough
• Day 2
• Facilitating Collaboration and Sharing
• Usage Monitoring and Auditing
• Establishing a Data Access Infrastructure
• Gateway
• Broadening the reach of Power BI
• Automating Power BI Administration
Introduction to Power BI
• Power BI Desktop
• Query Editor
• Data Modeling
• Visualization
• Power BI Service
• Datasets
• Reports
• Dashboards
• Workspaces (V2)
• Apps
• Dataflows
© 2021 Microsoft. All rights reserved.
Power BI
Admin in a Day
Global Admin
• Assigning licenses
• Audit logging
Power BI Administrator
• Controlling access
• Controlling Power BI tenant features
• Manage Gateways
• Activity Log
• Monitoring usage © 2021 Microsoft. All rights reserved.
Typical Admin Tools
Providing Governance in a
Power BI Environment
© 2021 Microsoft. All rights reserved.
Role of Administration and Governance
Central IT
Training and Education
Data Governance
Analysis Services engine events are about Power What is contributing to query/refresh slowness?
BI datasets and are very useful in understanding What queries/refreshes spend the most time waiting for
engine load, query performance and refresh data from external sources?
behavior. What DQ queries is Power BI sending to external data
sources?
Power BI
Admin in a Day
Establishing a Power BI
Environment
© 2021 Microsoft. All rights reserved.
The Tenant/Your Organization
Power BI
User Accounts
• Exist within the organization
• Can create and consume content based on access and license
• Mobile app can be used
Guest Accounts
• External to the organization
• Part of Azure AD B2B & B2C
• Can consume, edit and manage content
• Must have direct URL to shared content
• Can be consumer accounts (@outlook.com, @Hotmail.com, @gmail.com)
• Mobile app can be used
© 2021 Microsoft. All rights reserved.
Licensing
Tenant settings that control the availability of features in the Power BI user
interface can help to establish governance policies. It can take up to 15
minutes for a setting change to take effect for everyone in your organization.
How to get to the tenant settings
• Learn
• Community
• Licensing upgrades
• Get help
Help and support tenant settings
Receive email notifications for service outages or incidents
Download Reports
Export and Sharing
2. Select Enabled.
4. Select Apply.
Organizational visuals
R & Python visuals
• Day 1
• Understanding the Power BI Administrator Role
• Providing Governance in a Power BI Environment
• Establishing a Power BI Environment
• Tenant Settings walkthrough
• Day 2
• Facilitating Collaboration and Sharing
• Usage Monitoring and Auditing
• Establishing a Data Access Infrastructure
• Gateway
• Broadening the reach of Power BI
• Automating Power BI Administration
Admin APIs
• Need to be Power BI Service Admin / Global Admin
Regular APIs
• Can be used to enumerate / operate and perform activities on the Power BI
Entities programmatically. Operations are grouped under – Dashboards,
Reports, Datasets and so on.
• Can be scripted through PowerShell, Python or any other means of calling
the REST API.
• Usual flow includes – Getting the token and using the token to perform
activities.
Sample Operations
Steps:
• Register a server-side web
application in AAD to use with
Power BI.
• Enable the admin toggle in the
Admin portal
Scanner APIs
• Tenant-level metadata
• Dataset Tables and Columns
• Measures
• DAX Expressions
• Mashup Queries
Scanner APIs – How does it work
Caching Mechanism
Workspace https://powerbi.microsoft.com/en-
• Workspace used for collaboration us/blog/duplicating-workspaces-by-
• Can be specific to a team or subject area using-power-bi-cmdlets/
• When in doubt, use this!
• Pro feature
Apps
• Based on the workspace, packaged content and publishes/shares
• Used for broad distribution of consumable content (View only)
• May require Pro license if not backed with Premium
• Apps can be pushed to groups © 2021 Microsoft. All rights reserved.
Application Life Cycle Management
Scenario 1: Using Workspace as Dev and App as Prod.
Application Life Cycle Management
Scenario 2: Different Workspaces / Apps for Dev/Test/Prod. (Manual)
Application Life Cycle Management
Scenario 3: Different Workspaces / Apps for Dev/Test/Prod. (Custom Automation)
Application Life Cycle Management
Scenario 3: Different Workspaces / Apps for Dev/Test/Prod. (OOTB Automation through Deployment
Pipelines)
Deployment Pipelines
Deployment Pipelines
Multiple Approaches
• Dev Workspace to Prod Workspace – CloneReport and RebindReport.
• Using Parameter – Data source is defined as a parameter. So we can use
CloneReport and UpdateParameters.
Permissions in Workspaces v2
Role Definition
Admin Can change and delete workspaces
Add Admins
Everything a Member can do
Member “Reshare” – add new users to be Members or
lower permissions
Publish and update Apps
Everything a Contributor can do
Contributor Add/edit/delete content within the workspace
Everything a Viewer can do
• Disabled by default
• Can use data to
understand usage in
Power BI Tenant
• Users assigned E5: 1
year retention can be
extended to up 10
years
• In-Region Auditing
• PowerShell access
Includes events from SharePoint Online, Exchange Online, Only includes the Power BI auditing events.
Dynamics 365, and other services in addition to the Power BI
auditing events.
Only users with View-Only Audit Logs or Audit Logs Global admins and Power BI service admins have access.
permissions have access, such as global admins and auditors.
Global admins and auditors can search the unified audit log by There’s no user interface to search the activity log yet.
using Office 365 Security & Compliance Center, the Microsoft
365 Security Center, and the Microsoft 365 Compliance Center.
Global admins and auditors can download audit log entries by Global admins and Power BI service admins can download
using Office 365 Management APIs and cmdlets. activity log entries by using a Power BI REST API and
management cmdlet.
© 2021 Microsoft. All rights reserved.