cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cyclist007
Resolver III
Resolver III

Which website URL needs to be provided during app registration or for 'Get Report'

For Embedding using the "User Owns Data" I am struggling to understand the URL which should be provided while registering the app (and the concept or redirect URL - i chose the default option .

 

When I tried to deploy and preview the embedded report on the below screen 

 

image.png

 

On clicking 'Get Report' it only loads the following error page:

 

image.png

 

 

 

 

Please can someone advice what I am doing incorrect or not following? Thanks

3 REPLIES 3
TedPattison
Microsoft
Microsoft

The Reply URL is a URL from which your application must be served. When authenticating the current user with the authorization code flow, Azure AD will only redirect the user in the browser to a registered reply URL to provide your application with an authorization code that is used to redeem an access token. It will not work correctly if your application has not registered the reply URL for the application itself. When testing and debugging in Visual Studio, make sure to use SSL so you have a reply URL such as https://localhost:44300.

 

How are you implementing the authorization code flow with Azure AD? The recommended approach  is to use ADAL.NET and the OWIN components for Cookies and OpenIdConnect. Is this what you are using?

 

 

Thanks @TedPattison - I am basically authenticating using Office 365 Power BI Pro license. I am new to Embed concepts - do I absolutely need to have Azure AD? My use case involves trying to embed Power BI reports in a .Net application web page, with the organization users using their Office 365 Power Pro accounts for authenticating and viewing the embedded reports.

 

In the sample solution I did put http://localhost:13526 as my default redirect URL, still I see the error. Is SSL required in development/testing?

 

Please let me know if I am misundrstanding something or need to do any additional step. Thanks

Anonymous
Not applicable

I too facing this issue while registering the Power BI in AzureAD for embedding it in an application.

 

I have a Power BI Pro Licence and I am accessing my Power BI home page(reports/dashboards etc.) using the Power BI Services launched at https://app.powerbi.com/home in my browser.

 

Can someone please let me understand the reply URL in my context?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors