SlideShare a Scribd company logo
8
Most read
12
Most read
Power BI API
Introduction into the Power BI REST API
Jan Pieter Posthuma
26/09/2015 | SQL Saturday #434 – Holland
Thanks to our sponsors
26/09/2015 | SQL Saturday #434 – Holland2 |
Evaluations
 Event
 http://www.sqlsaturday.com/434/
eventeval.aspx
 Sessions
 http://www.sqlsaturday.com/434/
sessions/sessionevaluation.aspx
26/09/2015 | SQL Saturday #434 – Holland3 |
 Who am I?
 Introduction
 Authentication
 Azure AD
 Authorization Token
 Demo
 Resources
Agenda
26/09/2015 | SQL Saturday #434 – Holland4 |
 Jan Pieter Posthuma – Microsoft Data Consultant
 Rubicon, local consultancy firm in the Netherlands
 Architect role at multiple projects
 Analysis Service, Reporting Service, Big Data,
HDInsight (Hadoop), Cloud BI, Power BI
 jp.posthuma@rubicon.nl
 http://twitter.com/jppp
 http://linkedin.com/jpposthuma
 https://docs.com/liprec
Who am I?
26/09/2015 | SQL Saturday #434 – Holland5 |
 Introduced with the new Power BI service
 API (application programming interface): programmatically access
to certain Power BI resources
 Ability to push data ‘real-time’
 Build on open REST API standards
Introduction
26/09/2015 | SQL Saturday #434 – Holland6 |
 Power BI uses OAuth2.0 and Azure Active Directory (Azure AD)
 Azure AD handles
 User Authentication
 Permissions
 View all Datasets
 Read and Write all Datasets
 View users Groups
 Returns an Authorization Token
 Azure AD works best with corporate accounts
Authentication – Azure AD
26/09/2015 | SQL Saturday #434 – Holland7 |
 Information needed for an Authorization Token
 Client ID – Client ID is used by the application to identify themselves to
the users that they are requesting permissions from.
 Client Key – The client secret key is sent along with a Client ID when
authenticating to Azure AD to call a web API.
 Resource Uri – The resource Uri to the Power BI resource to be
authorized. [https://analysis.windows.net/powerbi/api]
 Authority Uri – The authority Uri is an Azure resource that takes a client
id to get an access token.
[https://login.windows.net/common/oauth2/authorize/]
 Redirect Url – A Redirect Url for the web app url. The Azure AD service
redirects back to the web app url with an authentication code.
Authentication – Authorization Token
26/09/2015 | SQL Saturday #434 – Holland8 |
DEMO
• Walkthrough Power BI API
• Authentication with Azure AD
• Simple web application
• Real-time poll website with Azure Stream Analytics
• PowerShell
26/09/2015 | SQL Saturday #434 – Holland9 |
26/09/2015 | SQL Saturday #434 – Holland10 |
26/09/2015 | SQL Saturday #434 – Holland11 |
 Power BI API provides ‘real-time’ dashboarding
 Power BI API uses Azure AD for authentication
 Power BI API is build on open standards (REST, OAuth2.0)
 Power BI API works for both subscriptions
Wrap up
26/09/2015 | SQL Saturday #434 – Holland12 |
QUESTIONS
26/09/2015 | SQL Saturday #434 – Holland13 |
 Power BI Developer Center
https://powerbi.microsoft.com/developers
 Power BI REST API
http://docs.powerbi.apiary.io/
 MSDN Library: Power BI API
https://msdn.microsoft.com/en-us/library/mt267603.aspx
 Power BI GitHub repository
https://github.com/PowerBI
 Azure Active Directory developer's guide
https://azure.microsoft.com/en-us/documentation/articles/active-
directory-developers-guide/
Resources
26/09/2015 | SQL Saturday #434 – Holland14 |

More Related Content

PPTX
Azure integration services from the IT Professional perspective
PDF
apidays LIVE New York 2021 - How to productify your data with a GraphQL APIs ...
PPTX
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
PDF
Digital Transformation for Karnataka Bank Through API-led Integration
PPTX
Apigee Insights: Data & Context-Driven Actions
PPTX
Hybrid integration with self hosted azure api gateways - published v1.0
PDF
Power Bi and Power Bi Embedded for .Net Developers
PPTX
Power Friday - Introduction to Azure Integration services
Azure integration services from the IT Professional perspective
apidays LIVE New York 2021 - How to productify your data with a GraphQL APIs ...
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
Digital Transformation for Karnataka Bank Through API-led Integration
Apigee Insights: Data & Context-Driven Actions
Hybrid integration with self hosted azure api gateways - published v1.0
Power Bi and Power Bi Embedded for .Net Developers
Power Friday - Introduction to Azure Integration services

What's hot (20)

PPTX
API Management and Hybrid Integration
PPTX
Microservices in action: How to actually build them
PPTX
Application Insights for Integration Developers
PDF
Webcast: Apigee Edge Product Demo
PPTX
Smartone v1.0
PPTX
Apigee Product Roadmap Part 2
PPTX
Azure API Apps
PPTX
apidays LIVE New York 2021 - Event driven design and serverless by Omid Eidiv...
PPTX
Logic apps and PowerApps - Integrate across your APIs
PPTX
API Management and Kubernetes
PPTX
Convert your sketches to code with microsoft ai
PPTX
Android chatbot grievance-reporting-solution
PPTX
What is APIGEE? What are the benefits of APIGEE?
PDF
Customer testimonal API Program Lessons learned
PPTX
Serverless CQRS in Azure!
PPTX
Managing global ecommerce at hyperscale with Azure
PPTX
The citizen integrator
PPTX
MN Enterprise Mobile User Group April 2015 Meeting
 
PPTX
We built this city: Behind the scenes of Apigee Edge
PPTX
Serverless integration - Logic Apps the most comprehensive integration service
API Management and Hybrid Integration
Microservices in action: How to actually build them
Application Insights for Integration Developers
Webcast: Apigee Edge Product Demo
Smartone v1.0
Apigee Product Roadmap Part 2
Azure API Apps
apidays LIVE New York 2021 - Event driven design and serverless by Omid Eidiv...
Logic apps and PowerApps - Integrate across your APIs
API Management and Kubernetes
Convert your sketches to code with microsoft ai
Android chatbot grievance-reporting-solution
What is APIGEE? What are the benefits of APIGEE?
Customer testimonal API Program Lessons learned
Serverless CQRS in Azure!
Managing global ecommerce at hyperscale with Azure
The citizen integrator
MN Enterprise Mobile User Group April 2015 Meeting
 
We built this city: Behind the scenes of Apigee Edge
Serverless integration - Logic Apps the most comprehensive integration service
Ad

Similar to Power BI API (20)

PPTX
SQLSaturday 551 - Extending Power BI
PPTX
SQLSaturday 541 - Extending Power BI
PPTX
Power BI for Developers @ SQLSaturday #420 (Paris)
PDF
Embed Interactive Reports in Your Apps
PPTX
O365 saturday: How to (remote) control office 365 with windows azure-slideshare
PPTX
Leveraging Microsoft Power BI To Support Enterprise Business Intelligence
PDF
Tuga IT - Power BI for Developers
PDF
.NET Fest 2019. Евгений Полоничко. Power BI embedded
PDF
Full Stack Aadhaar eKYC Solution
PPTX
Power BI Summit 2023 - Embedding PowerBI reports in .NET MAUI mobile apps.pptx
PDF
Building Agentic AI with Multi-Agent Orchestrator Framework
PDF
Building Business Applications in Office 365 SharePoint Online Using Logic Apps
PPT
Power BI API Connectors - Best Practices for Scalable Data Connections
PPTX
best Power Bi course in techcadd jalandhar
PPTX
Real Time Power BI
PPTX
Real-Time PowerBI
PPTX
My slides from SharePoint Saturday Oslo
PDF
Pbi iot data viz
PPTX
Build Interactive Analytics using Power BI
PPTX
Get started azure- Azure Mobile Services
SQLSaturday 551 - Extending Power BI
SQLSaturday 541 - Extending Power BI
Power BI for Developers @ SQLSaturday #420 (Paris)
Embed Interactive Reports in Your Apps
O365 saturday: How to (remote) control office 365 with windows azure-slideshare
Leveraging Microsoft Power BI To Support Enterprise Business Intelligence
Tuga IT - Power BI for Developers
.NET Fest 2019. Евгений Полоничко. Power BI embedded
Full Stack Aadhaar eKYC Solution
Power BI Summit 2023 - Embedding PowerBI reports in .NET MAUI mobile apps.pptx
Building Agentic AI with Multi-Agent Orchestrator Framework
Building Business Applications in Office 365 SharePoint Online Using Logic Apps
Power BI API Connectors - Best Practices for Scalable Data Connections
best Power Bi course in techcadd jalandhar
Real Time Power BI
Real-Time PowerBI
My slides from SharePoint Saturday Oslo
Pbi iot data viz
Build Interactive Analytics using Power BI
Get started azure- Azure Mobile Services
Ad

More from Jan Pieter Posthuma (11)

PPTX
Power BI for Developers
PPTX
Extending Power BI with your own custom visual
PPTX
Extending Power BI with your own custom visual
PPTX
Azure Global Bootcamp - CIS Handson
PPTX
Extending Power BI With Your Own Custom Visual
PPTX
PBIG - Power BI en R visuals
PPTX
SQLServer Days - Power BI Custom Visuals
PPTX
TechDays - Power BI Custom Visuals
PPTX
Hadoop from Hive with Stinger to Tez
PPTX
SQLRally Amsterdam 2013 - Hadoop
PPTX
SQLBits XI - ETL with Hadoop
Power BI for Developers
Extending Power BI with your own custom visual
Extending Power BI with your own custom visual
Azure Global Bootcamp - CIS Handson
Extending Power BI With Your Own Custom Visual
PBIG - Power BI en R visuals
SQLServer Days - Power BI Custom Visuals
TechDays - Power BI Custom Visuals
Hadoop from Hive with Stinger to Tez
SQLRally Amsterdam 2013 - Hadoop
SQLBits XI - ETL with Hadoop

Recently uploaded (20)

PDF
Architecture types and enterprise applications.pdf
PPTX
The various Industrial Revolutions .pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PPT
What is a Computer? Input Devices /output devices
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
August Patch Tuesday
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
project resource management chapter-09.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
A novel scalable deep ensemble learning framework for big data classification...
Architecture types and enterprise applications.pdf
The various Industrial Revolutions .pptx
Hindi spoken digit analysis for native and non-native speakers
What is a Computer? Input Devices /output devices
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
August Patch Tuesday
Assigned Numbers - 2025 - Bluetooth® Document
O2C Customer Invoices to Receipt V15A.pptx
project resource management chapter-09.pdf
A comparative study of natural language inference in Swahili using monolingua...
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
OMC Textile Division Presentation 2021.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
1 - Historical Antecedents, Social Consideration.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Final SEM Unit 1 for mit wpu at pune .pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A novel scalable deep ensemble learning framework for big data classification...

Power BI API

  • 1. Power BI API Introduction into the Power BI REST API Jan Pieter Posthuma 26/09/2015 | SQL Saturday #434 – Holland
  • 2. Thanks to our sponsors 26/09/2015 | SQL Saturday #434 – Holland2 |
  • 3. Evaluations  Event  http://www.sqlsaturday.com/434/ eventeval.aspx  Sessions  http://www.sqlsaturday.com/434/ sessions/sessionevaluation.aspx 26/09/2015 | SQL Saturday #434 – Holland3 |
  • 4.  Who am I?  Introduction  Authentication  Azure AD  Authorization Token  Demo  Resources Agenda 26/09/2015 | SQL Saturday #434 – Holland4 |
  • 5.  Jan Pieter Posthuma – Microsoft Data Consultant  Rubicon, local consultancy firm in the Netherlands  Architect role at multiple projects  Analysis Service, Reporting Service, Big Data, HDInsight (Hadoop), Cloud BI, Power BI  jp.posthuma@rubicon.nl  http://twitter.com/jppp  http://linkedin.com/jpposthuma  https://docs.com/liprec Who am I? 26/09/2015 | SQL Saturday #434 – Holland5 |
  • 6.  Introduced with the new Power BI service  API (application programming interface): programmatically access to certain Power BI resources  Ability to push data ‘real-time’  Build on open REST API standards Introduction 26/09/2015 | SQL Saturday #434 – Holland6 |
  • 7.  Power BI uses OAuth2.0 and Azure Active Directory (Azure AD)  Azure AD handles  User Authentication  Permissions  View all Datasets  Read and Write all Datasets  View users Groups  Returns an Authorization Token  Azure AD works best with corporate accounts Authentication – Azure AD 26/09/2015 | SQL Saturday #434 – Holland7 |
  • 8.  Information needed for an Authorization Token  Client ID – Client ID is used by the application to identify themselves to the users that they are requesting permissions from.  Client Key – The client secret key is sent along with a Client ID when authenticating to Azure AD to call a web API.  Resource Uri – The resource Uri to the Power BI resource to be authorized. [https://analysis.windows.net/powerbi/api]  Authority Uri – The authority Uri is an Azure resource that takes a client id to get an access token. [https://login.windows.net/common/oauth2/authorize/]  Redirect Url – A Redirect Url for the web app url. The Azure AD service redirects back to the web app url with an authentication code. Authentication – Authorization Token 26/09/2015 | SQL Saturday #434 – Holland8 |
  • 9. DEMO • Walkthrough Power BI API • Authentication with Azure AD • Simple web application • Real-time poll website with Azure Stream Analytics • PowerShell 26/09/2015 | SQL Saturday #434 – Holland9 |
  • 10. 26/09/2015 | SQL Saturday #434 – Holland10 |
  • 11. 26/09/2015 | SQL Saturday #434 – Holland11 |
  • 12.  Power BI API provides ‘real-time’ dashboarding  Power BI API uses Azure AD for authentication  Power BI API is build on open standards (REST, OAuth2.0)  Power BI API works for both subscriptions Wrap up 26/09/2015 | SQL Saturday #434 – Holland12 |
  • 13. QUESTIONS 26/09/2015 | SQL Saturday #434 – Holland13 |
  • 14.  Power BI Developer Center https://powerbi.microsoft.com/developers  Power BI REST API http://docs.powerbi.apiary.io/  MSDN Library: Power BI API https://msdn.microsoft.com/en-us/library/mt267603.aspx  Power BI GitHub repository https://github.com/PowerBI  Azure Active Directory developer's guide https://azure.microsoft.com/en-us/documentation/articles/active- directory-developers-guide/ Resources 26/09/2015 | SQL Saturday #434 – Holland14 |