We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello everybody,
I have followed the documentation: https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html
and used this package to embedded Power BI at my website: https://github.com/microsoft/PowerBI-JavaScriptÂ
but i have a lot of problems like the image. It's works about one hour and after show me this error:
I have to generate other Access Token from Power Shell each time..
There is a way to make my website make a "transparent Sign In", sending user, password parameters to any service, api, route, etc?
I'm use Laravel.
My code is:
<html>
<div id="embedContainer"></div>
</html>
<script>
var EmbedUrlReport ='https://app.powerbi.com/reportEmbed?reportId=xxxxx';
var EmbedReportId= 'xxxxx';
var accessToken = 'xxxxzz';
var tokenTypeReport = 1;
var models = window['powerbi-client'].models;
var permissions = models.Permissions.All;
var config ={
type: 'report',
tokenType: tokenTypeReport == '1' ? models.TokenType.Aad :models.TokenType.Embed,
accessToken: accessToken,
embedUrl: EmbedUrlReport,
id:EmbedReportId,
permissions: permissions,
settings: {
filterPaneEnabled: true,
navContentPaneEnabled: true
}
var embedContainer = $('#embedContainer')[0];
var report =powerbi.embed(embedContainer, config);
</script>I didn't understand the purpose of azure's service.
Why is complicated make a simple security embedded? Why don't to make a simple API sending user and password of Power BI and returning OK or Error?
Hi @Anonymous / @marciofornari ,
There are two models in Embedding a Report
Refer this Code sample : https://github.com/microsoft/PowerBI-Developer-Samples
This code is written using C# (Dotnet SDK), but you can implement this using the REST API also.
Your problem is my problem too ![]()
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |