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.

Reply
gsrk1982
Frequent Visitor

PowerBI ISV development and integration

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

 

 

1 REPLY 1
v-jiascu-msft
Employee
Employee

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.

Power-BI-ISV-development-and-integration

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors