Forum Discussion
Power BI Developer in a day course
Has anyone worked their way through this course - https://docs.microsoft.com/en-us/power-bi/learning-catalog/developer-online-course Unfortunately the comments are turned off for this so there's no help. Instead it refers me to the community site.
Having almost completed Module 4 - https://www.youtube.com/watch?v=BxxjpCk5z-s&list=PL1N57mwBHtN1AGWHnJMhtvJCIG_IlC07D&index=13&t=2s - I have got an error when running the app in a local web page. I re-tried everything but got the same result.
The error on the webpage output was:
Unable to resolve service for type 'PowerBiEmbed.Services.PowerBiApiService' while attempting to activate 'SalesReporting.Controllers.HomeController'.
If anyone had this issue and knows the solution I'd be most grateful! Thanks!😀
2 Replies
- AnonymousNot applicable
Hi belvoir99 ,
You seems to learn how to embed Power BI content. There are two way app owns data(Embed for customer) or user owns data(Embed for organization) in Power BI Embed.
Here are some offical blog may help you.
For reference:
What is Power BI embedded analytics?
Tutorial: Embed Power BI content using a sample embed for your organization application
Tutorial: Embed Power BI content using a sample embed for your customers application
There are two authentication methods in app owns data, if you use service principal, you may refer to this blog.
Embed Power BI content with service principal and an application secret
You can download Power BI developer samples as a sample, you may have test by this and refer to code in it.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- belvoir99Resolver III
Thanks Anonymous for the extra resources. I'll have a look.
If anyone has an answer to the question or has worked through the course, I'd be most grateful for a bit of help! Thanks!