Sample express server to demonstrate building REST API for embedding reports.
Clone the repository:
git clone https://github.com/Azure-Samples/powerbi-node-server-express.git
Set environment variables:
(If you are using VS Code you can set them in
launch.json to use F5 for debugging)
set POWERBI_ACCESS_KEY=[The access key for the workspace collection] set POWERBI_WORKSPACE_COLLECTION=[The name of the workspace collection] set POWERBI_WORKSPACE_ID=[The GUID of workspace]
(VS Code: Press F5)