Hi all,
Does anyone knows how to write the code for "Generate Token" for Power BI report in Dynamics 365 F&O ?
I got this video link, but it is too general, not specific to F&O.
https://www.youtube.com/watch?v=5OF0s2t0N3w&t=2470s
Reason to use this, because my Power BI report has Roles in it. I mean so far what I did are:
1. Create Power BI report using Power BI Desktop
2. In Visual Studio, create AxResource and link to that PBIX
3. Create a Workspace form to call that AxResource
4. Create Menuitem Display
5. Build
At this part, the report is running. However if I added Role in PBIX, it causing me error.
There is also this reference :docs.microsoft.com/.../embed-sample-for-customers
but it is again too general and it is more for JavaScript, with no clue how to apply it in F&O code.
Can I get some help regarding this ?
Thanks,