Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I'm trying to use power bi embedded but going through access issues.
I mananged to create the workspace and upload a sample report via powerbi-cli. I'm also generating the access token with 'powerbi create-embed-token'
The token seems to be valid. Below is the decoded version (from https://jwt.io/)
{
"ver": "0.2.0",
"aud": "https://analysis.windows.net/powerbi/api",
"iss": "Power BI Node SDK",
"type": "embed",
"wcn": "ProfilingOnline",
"wid": "0a29a0e2-5879-4be1-b11a-a1e16d0b7734",
"rid": "bc9204c4-52c3-40b0-b764-9cc54e2b16a7",
"nbf": 1496958040,
"exp": 1496961640
}
But when I test it on https://microsoft.github.io/PowerBI-JavaScript/demo/code-demo/index.html# I keep on getting not authorised.
Any ideas?
Thanks
Solved! Go to Solution.
Hi,
The problem was in the token, it was not signed correctly. It's working perfectly now.
Thanks a lot for your help
Regards
@ptrlv wrote:
Hi,
I'm trying to use power bi embedded but going through access issues.
I mananged to create the workspace and upload a sample report via powerbi-cli. I'm also generating the access token with 'powerbi create-embed-token'
The token seems to be valid. Below is the decoded version (from https://jwt.io/)
{
"ver": "0.2.0",
"aud": "https://analysis.windows.net/powerbi/api",
"iss": "Power BI Node SDK",
"type": "embed",
"wcn": "ProfilingOnline",
"wid": "0a29a0e2-5879-4be1-b11a-a1e16d0b7734",
"rid": "bc9204c4-52c3-40b0-b764-9cc54e2b16a7",
"nbf": 1496958040,
"exp": 1496961640
}
But when I test it on https://microsoft.github.io/PowerBI-JavaScript/demo/code-demo/index.html# I keep on getting not authorised.
Any ideas?
Thanks
The decoded token looks good and the demo site works fine when I testing my own reports. Two things to confirm.
Hi,
The problem was in the token, it was not signed correctly. It's working perfectly now.
Thanks a lot for your help
Regards
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |