Using the Power BI REST API, you can create a Power BI app in any platform that supports calling REST operations. However, before you get started creating a Power BI app, you need an Azure Active Directory, an organizational user, and a Power BI service account.
Power BI apps are integrated with Azure Active Directory (Azure AD) to provide secure sign in and authorization for your app. To integrate a Power BI app with Azure AD, you register the details about your application with Azure AD by using the Azure Management Portal.
Important To sign up for the Power BI service, your Azure Active Directory must have at least one organizational user. Use your organizational user to sign up for the Power BI service.
Before you get started creating a Power BI app, you need Azure Active Directory and an organizational user. Here's how to setup Azure Active Directory:
Click ACTIVE DIRECTORY management icon in the left pane.
Click NEW button at the bottom of the page.
Choose APP SERVICES > ACTIVE DIRECTORY > DIRECTORY > CUSTOM CREATE
In the Add directory page, enter a name and domain name. For country or region choose United States or the country were Power BI is available.
Choose OK icon. An Azure Active Directory is created.
You need an organizational user from your Azure AD to sign up for the Power BI service. Once you login to the Power BI service for the first time, you’ll see the Power BI service added to your Azure AD which will allow you to create Power BI apps with the right permissions. Here's how to add a user to your Azure Active Directory:
In your Azure Active Directory, click USERS.
At the bottom of the page, click ADD USER. A user account is used to register a Power BI app.
In the Tell us about this user page:
In the user profile page, enter your DISPLAY NAME. Display name is a required field.
Click Next. For ROLE, you can use User.
Click Create to create a temporary password. The new user is assigned a temporary password that must be changed on first sign in.
In the Get temporary password page, copy the temporary password, and click Complete icon. You use the temporary password when you first login to your AAD.
After you click the Complete icon, a new Azure AD user is created.
Once you have an Azure Active Directory tenant, and an organizational user, you sign up for Power BI.
Note When you sign up for the Power BI service, use your organizational user. Once you login to the Power BI service for the first time, you will see the Power BI service added to your Azure AD.