Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17893

Power BI Embedded authentication error

$
0
0

Hi all,

 

I have been trying to run the samples from the following link: https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-dashboard/

 

I followed the steps, but I get an authentication error in both the 'App owns data' and 'User owns data' samples.

 

In the 'App owns data' sample I get the following error :

 

Operation returned an invalid status code 'Forbidden'

 

on the following line of code: 

var tokenResponse = await client.Reports.GenerateTokenInGroupAsync(GroupId, report.Id, generateTokenRequestParameters);

 

In the 'User owns data' dashboard sample, I get the following error:

 

As I clicked 'Sign in to Power BI' and entered details I received an authentication error 'System.FormatException: 'Index (zero based) must be greater than or equal to zero and less than the size of the argument list.' at AuthenticationResult AR = AC.AcquireTokenByAuthorizationCode(code, new Uri(redirectUri), cc); in redirect.aspx.cs

 

Any help on these would be great, thanks.

 


Viewing all articles
Browse latest Browse all 17893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>