Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
We recommend using the Setup Guide instead of following these instructions. In case you're interested in the details or try to skip some steps you can find the information on how to configure the repository manually in this article.
Create the configuration files
The repository takes the configuration values from the .env.{ENVIROMENT} files in the repository. For this you first need to copy the .env.template file to .env.dev, .env.test, and .env.prod in the same directory and populate the values. The values in those files are used in creating the Manifest. For local development only the .env.dev file is normally needed.
Decide on a WorkloadName and fill it out in .env.dev file.
Register a front end Microsoft Entra application
You can use the CreateDevAADApp.ps1 to create a new Microsoft Entra app or you can follow the steps.
- Navigate to App registrations in the Microsoft Entra IDmin Portal.
- Create a new Multitenant application.
- Add the following SPA redirectURIs to the application manifest:
- https://app.fabric.microsoft.com/workloadSignIn/{TENANT_ID}/{WORKLOAD_NAME}
- https://app.powerbi.com/workloadSignIn/{TENANT_ID}/{WORKLOAD_NAME}
- https://msit.fabric.microsoft.com/workloadSignIn/{TENANT_ID}/{WORKLOAD_NAME}
- https://msit.powerbi.com/workloadSignIn/{TENANT_ID}/{WORKLOAD_NAME}
Choose the {WORKLOAD_NAME} in the setup process. Take a look at the Project Structure in the repository.
Looking for your {TENANT_ID}? Follow these steps:
- Open Microsoft Fabric and select on your profile picture in the top right corner.
- Select About from the dropdown menu.
- In the About dialog, you find your Tenant ID and Tenant Region.
After the App is created, open the “Workload/.env.dev” file and insert your Workload name in the “WORKLOAD_NAME” and your frontend application client ID in the “FRONTEND_APPID” configuration property.
DevGateway
The repository required more software that needs to be downloaded. For this you need to download the DevGateway and unzip it into the tools directory.
To start the DevGateway, a configuration file named workload-dev-mode.json needs to be available it in the build/DevGateway/ directory. This file tells the DevGateway how to locate and serve your workload.
Sample configuration:
{
"WorkspaceGuid": "your-workspace-guid-here",
"ManifestPackageFilePath": "path/to/Your/Repo/build/Manifest/[WorkloadName].[Version].nupkg",
"WorkloadEndpointURL": "http://127.0.0.1:5000/workload"
}
Field explanations:
WorkspaceGuid: The GUID of your Fabric workspace where the workload is available.ManifestPackageFilePath: Path to your compiled workload manifest package (.nupkg file).WorkloadEndpointURL: URL where your workload backend is hosted (typically your local dev server).