-
IDE/code editor. We recommended using Visual Studio Code.
Follow the steps on aka.ms/EmbedForCustomer
-
Install Python 3 and add its installation path to the Path environment variable.
-
Run the following command in CMD/PowerShell in the path where requirements.txt file is located.
pip3 install -r requirements.txt
-
Open IDE.
-
Open Encryption sample folder.
-
Fill in the required parameters in the config.py file related to AAD app, Power BI report, workspace, and user account information.
-
Run the following command in CMD/PowerShell to start the application.
flask run -
Open http://localhost:5000 in browser or follow the direction in the output log.
Note:
- Whenever you update the config file you must restart the app.
- The Azure AD Service Principal which is used for authentication should have admin rights on the corresponding workspace.
- If Service Principal mode is used for authentication and on-premises gateway is used, then SP should be the gateway admin.
-
Google Chrome
-
Microsoft Edge
-
Mozilla Firefox
For security reasons, in a real world application, passwords and secrets should not be stored in config files. Instead, consider securing your credentials with an application such as Key Vault.