KEMBAR78
Power Bi and Power Bi Embedded for .Net Developers | PDF
Power BI
for .NET
Developers
HEATHER SHAPIRO
TECHNICAL EVANGELIST, MICROSOFT
@microheather
Power BI at a Glance
Power BI is a suite of cloud-based business
analytics tools to analyze data and share
insights. Monitor your business and get
answers quickly with rich dashboards
available on every device.
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
5,000,000+
210+
200,000+
Power BI: experience your data
146.03K145.84K145.96K146.06K 40.08K38.84K39.99K40.33K
Live dashboards & reports
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Mobile Apps
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Pre-built solutions include dashboards,
reports, and data models available out-of-
the-box for SaaS services or built by your
organization
Get started quickly
Experience your data in new ways
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Seamless integration with O365
Why Power BI?
View all your data, whatever it is
Be informed: always in real time
Ask questions, get answers
End chaos: everyone on the same page
Make data –driven decisions, from anywhere
Share insights on websites or blogs
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Power BI Embedded
An easy way to embed Power BI reports in web
and mobile apps
No logins are required or o365 AD accounts
A new feature that has been announced in BUILD
2016
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Embedded Scenarios
Fully interactive reports that were authored
in the Power BI Desktop can be embedded
within your own application using a new
application token authentication model.
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Embedded Scenarios
Independent software vendors and
customers building customer facing
applications can use the Power BI
Embedded service, and the Power BI SDK,
to embed interactive reports.
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Embedded Scenarios
As a developer, you can use the Power BI
visualization framework to create custom
visualizations that can be used in your own
app.
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
How are they different?
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
What are the differences
Integrating Power BI requires the following:
 AAD app registration
 requires users to login with o365 credentials
 Blog post:
http://www.mostafaelzoghbi.com/2016/04/integrat
e-power-bi-report-into-app.html
Power BI Embedded:
 No login is needed for Users
 No AAD app registration
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
@microheather
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
HOW IT WORKS
Authenticating and Authorization
 The Power BI Embedded service uses Keys and App
Tokens for authentication and authorization, instead of
explicit end-user authentication.
 Two Ways to authenticate
 Keys: From Power BI Embedded in Azure Portal (Access Keys)
 App Token: are used for all embedding requests. They’re
designed to run client-side so they’re restricted to a single
report. App tokens are JWT (JSON Web Token) that is signed
by one of your keys.
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
Getting Started
 Azure subscription
 Provision a “Power BI Workspace Collection” from
Azure portal
 Create a workspace into Power BI workspace collection
 Import a (.pbix) report file into a workspace
 Embed a report with one html tag into your application
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
HOW TO CREATE A
WORKSPACE
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
aka.ms/powerBiEmbedExampleSteps
Example
Download link: aka.ms/PowerBiEmbedExample
Run ProvisionSample console app:
 Step #5: To create a workspace
 Step #6: To import pbix report file into a workspace
 Step #7: To update a connection string for imported
report
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
DEMO
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
RESOURCES
 Blog Posts by Coworkers:
 mostafaelzoghbi.com/2016/04/integrate-power-bi-report-into-app.html
 Power BI Embedded homepage:
 azure.microsoft.com/en-us/services/power-bi-embedded/
 Ch9 Video Series:
 channel9.msdn.com/Blogs/MostafaElzoghbi/Power-BI-Embedded-
Explained-Part-1
 Power BI Embedded Example Steps:
 aka.ms/powerBiEmbedExamplesteps
 Power BI Embedded Example Github:
 aka.ms/PowerBiEmbedExample
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
CONTACT ME
 Email: hshapiro@Microsoft.com
 Twitter @microheather
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT
@microheather
THANKS!

Power Bi and Power Bi Embedded for .Net Developers

  • 1.
    Power BI for .NET Developers HEATHERSHAPIRO TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 2.
    Power BI ata Glance Power BI is a suite of cloud-based business analytics tools to analyze data and share insights. Monitor your business and get answers quickly with rich dashboards available on every device. HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 3.
  • 4.
    146.03K145.84K145.96K146.06K 40.08K38.84K39.99K40.33K Live dashboards& reports HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 5.
    Mobile Apps HEATHER SHAPIRO| TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 6.
    Pre-built solutions includedashboards, reports, and data models available out-of- the-box for SaaS services or built by your organization Get started quickly
  • 7.
    Experience your datain new ways HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 8.
    HEATHER SHAPIRO |TECHNICAL EVANGELIST, MICROSOFT @microheather Seamless integration with O365
  • 9.
    Why Power BI? Viewall your data, whatever it is Be informed: always in real time Ask questions, get answers End chaos: everyone on the same page Make data –driven decisions, from anywhere Share insights on websites or blogs HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 10.
    Power BI Embedded Aneasy way to embed Power BI reports in web and mobile apps No logins are required or o365 AD accounts A new feature that has been announced in BUILD 2016 HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 11.
    Embedded Scenarios Fully interactivereports that were authored in the Power BI Desktop can be embedded within your own application using a new application token authentication model. HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 12.
    Embedded Scenarios Independent softwarevendors and customers building customer facing applications can use the Power BI Embedded service, and the Power BI SDK, to embed interactive reports. HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 13.
    Embedded Scenarios As adeveloper, you can use the Power BI visualization framework to create custom visualizations that can be used in your own app. HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 14.
    How are theydifferent? HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 15.
    What are thedifferences Integrating Power BI requires the following:  AAD app registration  requires users to login with o365 credentials  Blog post: http://www.mostafaelzoghbi.com/2016/04/integrat e-power-bi-report-into-app.html Power BI Embedded:  No login is needed for Users  No AAD app registration HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 16.
    @microheather HEATHER SHAPIRO |TECHNICAL EVANGELIST, MICROSOFT @microheather HOW IT WORKS
  • 17.
    Authenticating and Authorization The Power BI Embedded service uses Keys and App Tokens for authentication and authorization, instead of explicit end-user authentication.  Two Ways to authenticate  Keys: From Power BI Embedded in Azure Portal (Access Keys)  App Token: are used for all embedding requests. They’re designed to run client-side so they’re restricted to a single report. App tokens are JWT (JSON Web Token) that is signed by one of your keys. HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 18.
    Getting Started  Azuresubscription  Provision a “Power BI Workspace Collection” from Azure portal  Create a workspace into Power BI workspace collection  Import a (.pbix) report file into a workspace  Embed a report with one html tag into your application HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 19.
    HOW TO CREATEA WORKSPACE HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather aka.ms/powerBiEmbedExampleSteps
  • 20.
    Example Download link: aka.ms/PowerBiEmbedExample RunProvisionSample console app:  Step #5: To create a workspace  Step #6: To import pbix report file into a workspace  Step #7: To update a connection string for imported report HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 21.
    DEMO HEATHER SHAPIRO |TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 22.
    RESOURCES  Blog Postsby Coworkers:  mostafaelzoghbi.com/2016/04/integrate-power-bi-report-into-app.html  Power BI Embedded homepage:  azure.microsoft.com/en-us/services/power-bi-embedded/  Ch9 Video Series:  channel9.msdn.com/Blogs/MostafaElzoghbi/Power-BI-Embedded- Explained-Part-1  Power BI Embedded Example Steps:  aka.ms/powerBiEmbedExamplesteps  Power BI Embedded Example Github:  aka.ms/PowerBiEmbedExample HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 23.
    CONTACT ME  Email:hshapiro@Microsoft.com  Twitter @microheather HEATHER SHAPIRO | TECHNICAL EVANGELIST, MICROSOFT @microheather
  • 24.
    HEATHER SHAPIRO |TECHNICAL EVANGELIST, MICROSOFT @microheather THANKS!