If you plan to begin developing on the Microsoft Power BI platform, your first task is to get up to speed with programming the Power BI Service API. This deep-dive session explains how to use the Azure Active Directory Authentication Library (ADAL) to authenticate users, acquire access tokens and make authenticated calls to the Power BI Service API. After that, we will demonstrate common tasks which can be automated with the Power BI Service API including uploading PBIX files, patching datasource credentials, redirecting database connection strings and triggering the refreshing of datasets. Attendees will learn how the Power Service API can be used in custom application development to embed reports and dashboards and to create streaming datasets which can be used to build real-time dashboards. The session concludes by examining how the Power BI Service API can be used to automate Application Lifecycle Management (ALM) tasks such as creating new app workspaces and copying datasets and reports from one app workspace to another.