PowerBIDevIAD Lab03A
PowerBIDevIAD Lab03A
Developer in a Day
Lab 03A – June 2022 release
Set up permissions
In this lab, using the Azure portal, you will create a security group, register an app, create an app client
secret, and then add the app to the security group. Using the Power BI service, you will enable the
setting to allow service principals to use Power BI APIs and then grant admin access to the members of
the security group.
2. In the home page, in the Manage Azure Active Directory section, select View.
5. Paste the value into the MySettings.txt file, besides Tenant ID.
Important: You must enter the name exactly as written, other the automation script you will run in
Lab 07A will fail.
5. When the app is registered, hover the cursor over the Application (Client) ID unique identifier
value.
7. Paste the value into the MySettings.txt file, besides Client ID.
2. To create a client secret, in the Client Secrets section, select New Client Secret.
Important: After adding the client secret, the value of the client secret is displayed. You must
immediately copy the key value because it’s not possible to retrieve it later. Your app will use the key
value with the application ID to sign in as the application.
4. To copy the client secret value (not the secret ID) select the copy-to-clipboard icon to the right of
the value.
5. Paste the value into the MySettings.txt file, besides Client Secret.
Now all the settings needed to embed Power BI content have been recorded in this file.
7. In the Azure portal, at the top-right, to close the groups interface, select X.
5. In the Add Members pane, inside the Search box, commencing typing the word Sales.
2. At the top-right, select the Settings (cog) icon, and then select Admin Portal.
4. In the list of tenant settings, scroll down to locate the Developer Settings section.
5. Expand open the Allow Service Principals to Use Power BI APIs setting.
8. Select Apply.
1. To open the workspace, in the Navigation pane, select the Sales Reports workspace.
2. If prompted that there unapplied tenant settings changes, select Apply All.
4. In the Access pane, inside the first box, commence typing Sales, and then select the
Sales Reporting service principal.
COPYING OR REPRODUCTION OF THE HANDS-ON LAB (OR ANY PORTION OF IT) TO ANY OTHER
SERVER OR LOCATION FOR FURTHER REPRODUCTION OR REDISTRIBUTION WITHOUT WRITTEN
PERMISSION IS EXPRESSLY PROHIBITED.
FEEDBACK If you give feedback about the technology features, functionality and/or concepts
described in this hands-on lab to Microsoft, you give to Microsoft, without charge, the right to use,
share and commercialize your feedback in any way and for any purpose. You also give to third parties,
without charge, any patent rights needed for their products, technologies and services to use or
interface with any specific parts of a Microsoft software or service that includes the feedback. You will
not give feedback that is subject to a license that requires Microsoft to license its software or
documentation to third parties because we include your feedback in them. These rights survive this
agreement.
MICROSOFT CORPORATION HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS WITH REGARD
TO THE HANDS-ON LAB, INCLUDING ALL WARRANTIES AND CONDITIONS OF MERCHANTABILITY,
WHETHER EXPRESS, IMPLIED OR STATUTORY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
NON-INFRINGEMENT. MICROSOFT DOES NOT MAKE ANY ASSURANCES OR REPRESENTATIONS WITH
REGARD TO THE ACCURACY OF THE RESULTS, OUTPUT THAT DERIVES FROM USE OF THE VIRTUAL
LAB, OR SUITABILITY OF THE INFORMATION CONTAINED IN THE VIRTUAL LAB FOR ANY PURPOSE.
DISCLAIMER This lab contains only a portion of new features and enhancements in Microsoft Power
BI. Some of the features might change in future releases of the product.