Power Bi Admin
Power Bi Admin
In this session I’ll try to answer these questions, discovering how Power BI works «Behind
the scenes» and what you need to know for taking full control of Power BI releases in
your organization.
Agenda
• Licensing model
• Power BI Premium
• Power BI Administration
• Core concept: tenant
• Power BI admin portal
• Office 365 admin center
• Security
• Access control
• AAD Conditional Access Policy
• Apps & Content Packs
• Row Level Security
• Securing Data Sources
• Managing users and licenses
Power BI licensing model
Power BI licensing model
Power BI
Power BI Free Power BI Pro
Premium
A tenant is made of a directory within AAD which hosts the users in a company and the
information about them - their passwords, user profile data, permissions, and so on.
Basically a tenant is a container that stores all the data about user’s identity & security
for an app or an organization.
A Power BI tenant is created when the Power BI service is provisioned for the first time
and it’s owned by the domain administrator. The first user to sign up creates a new
auto-generated Power BI tenant for the organization based on the e-mail address that
was used.
Roles and users for Power BI are managed inside Office 365
admin center. For example, it is possible for the Office 365
Global Admin, to assign other users the Power BI Service
Administrator role, which grants administrative rights for
Power BI features only.
Three actors in play for administration
Audit logs give a full and detailed history of what’s happened on Power BI
Service and «who did what»
• Sign-in risk • Domain join device You can require the device you have used to
connect to Azure Active Directory to be a domain joined device. This policy applies to Windows
desktops, laptops, and enterprise tablets.
Access control
Once the development is finished, the whole set can be published into an App.
Users log into an app and view and consume the reports and dashboards, with
a read-only permission.
In the previous model, Groups were a Pro feature. Now, if you subscribe Power
BI Premium, you can spread up your App to users inside your organization.
Final users don’t need to access the App Workspace, only the published App.
Giving access to Apps and Contents Packs
Permissions for an App
Source: http://prologika.com/power-bi-group-security/
Giving access to Apps and Contents Packs
Demo
• App
• Content pack
Row Level Security
Row Level Security filters the data in a table based on the visibility rights
granted to user. For example sales data for different countries or region,
should be viewed by sales manager each for his/her specific area.
A_____________________
CEO – Visibility over the entire corporate B_____________________
C_____________________
D_____________________
Demo
- Manual RLS
- Mario Rossi is the Sales Manager for Europe
- Carlo Bianchi is the Sales Manager for North America
- Dynamic RLS
- Mario Rossi is the Product Manager for Clothes
- Carlo Bianchi is the Product Manager for Accessories
Securing Data Sources
When you connect to an Analysis Services database by Live Connection, you
have the same Row Level Security functionality as Power BI datasets, so you
can centralize the security model by applying restrictions directly to the data
source.
Analysis Services Tabular 2017 and Azure Analysis Services can also apply
security to entire tables and single columns within tables. This kind of security
cannot apply straight into Power BI.
Same when you connect to SQL Server in Direct Query mode; in this case you
can use the specific RLS feature from SQL Server (2016) to secure data source.
Profiling policies
How can you concretely manage security for users inside your organization?
By using the right mix of Apps and Row Level Security.
Figure out how you can create and delivery Apps targeted for a specific
population and limit visibility for single user based on RLS.
• Profiling by role: Apps & Content packs for VP, Executives, Managers,
Auditors, Salesforce, etc…
• Profiling by department: Apps & Content packs for HR, Retail, Corporate,
Finance, Production, Operations, etc …
• Profiling by team: Apps & Content packs specific for transverse workgroups
working on a shared project.
Profiling policies
He sees everything
• Power BI Free: suitable for read-only access free features or for access to
Apps in Power BI Premium
• Power BI Pro: suitable for create and share contents in Workspace Apps,
cooperative teamwork. After editing contents are to be published into Apps.
In both cases you should start with a tenant and an Office 365 subscription
active. Otherwhise a cloud read-only directory is created when first user signs
up and he/she has the chance to take over the domain as admin.
Managing Users and Licenses
Enabling/disabling users
As service administrator you can enable/disable automatic join to the tenant.
When the block is activated, new users in your organization cannot sign up for
Power BI.
You can also block existing users (i.e. already registered users) for using Power
BI.
To perform this tasks, you must use the Azure Active Directory Module for
Windows Powershell.
Managing Users and Licenses
If my company owns multiple domains, can users be forced to join the same
tenant?
For example, you work in a Corporate with many companies each with its own e-mail
domain, but there’s no convenience in having multiple tenants to administer.
Establish the main target tenant, and in Office 365 admin center add all the existing
domains to that tenant. Then all the users with e-mail addresses in those domains will
automatically join the target tenant when they sign up.
[email protected]
[email protected]
cosmogroup.com
[email protected]
[email protected]
Managing Users and Licenses
Demo
Office 365 admin center
Then select a user
Product licenses > Edit
Roles > Edit > Customized administrator
Demo
• Connecting to AD through Powershell*:
1. Connect-AzureAD –Confirm
2. Get-AzureADDirectoryRole
3. Get-AzureADUser [optional: -SearchString]
4. Add-AzureADDirectoryRoleMember -objectID xxxxxxxxx –RefObjectID xxxxxxxxxx
Demo
Verify if the block on the tenant is active
$msolcred = get-credential
connect-msolservice -credential $msolcred
Get-MsolCompanyInformation | fl allow*
Microsoft Whitepaper: How to plan capacity for embedded analytics with Power BI Premium