Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am happily using powerbi node api for getting reports, datasets, for uploauding reports etc.
But seems like it doesn't work with RLS and powerbi-node?
I am trying to pass user and roles and get correct token, but visuals are not displayed at all, getting error like - visual can not be displayed.. Dashboards without RLS works perfect using this method.
Maybe I am doing something wrong, here is code snippet I am using:
app.get ('/jwt/:collection/:workspaceid/:report_id/:user/:role', function(req,res) { var param = req.params; var token = powerbi.PowerBIToken.createReportEmbedToken(param.collection, param.workspaceid, param.report_id, param.user, param.role); var jwt = token.generate('fubar'); res.send (jwt); })
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |