Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Problems with usage of powerbi-client-reac

I have a problem with trying to use https://www.npmjs.com/package/powerbi-client-react - pocket.

We use power bi integration with iframe in our project, by using embedUrl. But now we need to use this package, and here I meet some problem.

I try to install the package then, and then use the PowerBIEmbed component with all default params as in the example, by using our data:

1. id - an id which I copy from a part of URL - reportId = ....
2. embedUrl: the same embed URL as we use for an iframe usage.
3. accessToken: - for a test, I just used a copy command in the console, to copy an AccessToken which should be able for usage about 1 hour

But when I run a project - a don't get a report

Maybe I use something wrong? Please send me an email if it is possible

Status: Needs Info

Hi @Anonymous 

There is nothing in the webpage you shared . What is the package you want to use ? Where and how did you run your project ?

Ailsamsft_0-1658392030256.png

Best Regards,
Community Support Team _ Ailsa Tao

 

Comments
v-yetao1-msft
Community Support
Status changed to: Needs Info

Hi @Anonymous 

There is nothing in the webpage you shared . What is the package you want to use ? Where and how did you run your project ?

Ailsamsft_0-1658392030256.png

Best Regards,
Community Support Team _ Ailsa Tao

 

Anonymous
Not applicable

https://github.com/microsoft/powerbi-client-react#readme - ok bro, actually we can use this link if it makes any sense. I'm talking about npm  - powerbi-client-react