Download presentation
Presentation is loading. Please wait.
Published byBrianne Murphy Modified over 5 years ago
1
Introduction into the Power BI REST API Jan Pieter Posthuma
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 – Holland
3
Evaluations Event http://www.sqlsaturday.com/434/eventeval.aspx
Sessions 26/09/2015 | SQL Saturday #434 – Holland
4
Agenda Who am I? Introduction Authentication Demo Resources Azure AD
Authorization Token Demo Resources 26/09/2015 | SQL Saturday #434 – Holland
5
Who am I? 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 26/09/2015 | SQL Saturday #434 – Holland
6
Introduction 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 26/09/2015 | SQL Saturday #434 – Holland
7
Authentication – Azure AD
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 26/09/2015 | SQL Saturday #434 – Holland
8
Authentication – Authorization Token
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. [ Authority Uri – The authority Uri is an Azure resource that takes a client id to get an access token. [ 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. 26/09/2015 | SQL Saturday #434 – Holland
9
Demo Walkthrough Power BI API Authentication with Azure AD
Simple web application Real-time poll website with Azure Stream Analytics PowerShell Demo 26/09/2015 | SQL Saturday #434 – Holland
10
26/09/2015 | SQL Saturday #434 – Holland
11
26/09/2015 | SQL Saturday #434 – Holland
12
Wrap up 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 26/09/2015 | SQL Saturday #434 – Holland
13
Questions 26/09/2015 | SQL Saturday #434 – Holland
14
Resources Power BI Developer Center Power BI REST API MSDN Library: Power BI API Power BI GitHub repository Azure Active Directory developer's guide 26/09/2015 | SQL Saturday #434 – Holland
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.