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.
Hi All,
I am new to PowerBI .We have developed Dashboards using PowerBI Desktop.Now we are in the process of Integrating those into our application (Apps owns data).We have downloaded Apps own data solution and replaced our Application Key ,PBI username and password.Through .net Code if we execute the solution the reports are rendering properly.We build the solution and deploy in our development machine and checking we are not getting token response.The status code is OK but in body we are not getting any value its [] response.
// Authenticate using created credentials
var authenticationContext = new AuthenticationContext(AuthorityUrl); //https://login.windows.net/common/oauth2/authorize/
var authenticationResult = await authenticationContext.AcquireTokenAsync(ResourceUrl, clientId, credentials);
https://docs.microsoft.com/en-us/power-bi/power-bi-whitelist-urls we have referring the whitelisting of URL from the link.We have handled our local proxy settings in our code.
Is the development server/machine need full internet enabled machine?.
Need help to overcome the above while integration.
Regards
Siva
Hi Siva,
I would suggest you debug it using a network packet capture tool. I used the Fiddler. You can choose one according to the policy.
How did you add the whitelist? The domain name with wildcard or the whole URLs?
Just refer to get a token, I captured the hosts that the getting token process could use. Please refer to the snapshot below.
Best Regards,
Dale
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |