Power BI reply URL does not match reply URLs configured for the application
Clash Royale CLAN TAG#URR8PPP
Power BI reply URL does not match reply URLs configured for the application
There are many similar questions asked in Stack Overflow but so far as I'm aware, none provide the information that solves this issue.
Anyone in my organization (but not outside of it) must be able to view a Power BI report. Not all users in my organization have Power BI Pro accounts, so sharing the report in SharePoint is not an option, as I understand it.
In past years I embedded a Power BI report in an Azure web app using a Power BI workspace collection and secured it with Azure Active Directory. This worked fine. Recently Microsoft retired Power BI workspace collections. I need to find another way to embed the report in an Azure web app.
I tried using Microsoft's onboarding/migration tool but it was too confusing. (I am not a professional developer.) Sample Power BI and Azure code provided by Microsoft on GitHub are also confusing to me.
An Angular solution on Medium successfully walked me through the steps to accomplish my goal, but placed the responsibility of creating a solution that can fetch access tokens on the reader, a skill I don't have.
A Visual Studio solution in GitHub embeds a report in an Azure web app if the following are provided:
"AzureAd": {
"Instance": "https://login.microsoftonline.com/common",
"ClientId": "redacted",
"ClientSecret": "redacted",
"CallbackPath": "/signin-oidc",
"Resource": "https://analysis.windows.net/powerbi/api",
"EmbedUrlBase": "https://app.powerbi.com/*"
"AzureAd": {
"Instance": "https://login.microsoftonline.com/common",
"ClientId": "redacted",
"ClientSecret": "redacted",
"CallbackPath": "/signin-oidc",
"Resource": "https://analysis.windows.net/powerbi/api",
"EmbedUrlBase": "https://app.powerbi.com/*"
I collected the ClientId
from Azure > Azure Active Directory > Application ID.
ClientId
I collected the ClientSecret
from Azure > Azure Active Directory > Keys > added key called "secret", saved, and copied the value.
ClientSecret
Reply URLs I've tried (based on suggestions on the web) include:
In addition, I have a Report ID
, Workspace ID
, Group ID
from the onboarding/migration tool.
Report ID
Workspace ID
Group ID
I continue to encounter the AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application
error. (No reply URL is specified in the error message.)
AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application
How do I successfully provide a reply URL and callback path? An answer that would be helpful would direct me how to find exactly what to type in.
I can provide additional information if needed. Thank you for any advice.
1 Answer
1
You have no value specified for the Reply URL in your config. This needs to be there as well. In your App Registration and in your config you need to list the same URL as your Reply URL. This is where you want the user to be directed after he or she has signed in. Try listing your main homepage URL (https://hccanalytics.azurewebsites.net/) in both.
See my blog post and video to see if this helps.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Appreciate your help Marilee Turscak!
– hcdocs
Aug 21 at 3:22