Forum Discussion

saivina2920's avatar
saivina2920
Post Prodigy
3 years ago
Solved

Embed Power Bi with other app settings callbackpath issue

I am trying to config the power bi embed with other app.

I am downloaded the code in GitHub through microsoft guidance.

When i am running the application i am getting below error.

AADSTS50011: The redirect URI 'https://localhost:19200/signin-oidc' specified in the request does not match the redirect URIs configured for the application 'dgh6e4-dfgh-5644-df57-dfgd45463434r'.

I am not admin guy in azure portal. but, my AD app name created and the Web Redirect URI is below

"https://localhost:19300/" ===> We cannot change this path.

But, how could change the callbackpath like the above Redirect URI path.

{
"AzureAd": {
"Instance": "",
"AuthorityUrl": "https://login.microsoftonline.com/",
"Domain": "",
"TenantId": "81-a629-672sfgsfdgloe-sfgfd-sdfo4948",
"Scopes": [ "https://analysis.windows.net/powerbi/api/Report.Read.All https://analysis.windows.net/powerbi/api/Dashboard.Read.All https://analysis.windows.net/powerbi/api/Workspace.Read.All" ],
"ClientId": "dgh6e4-dfgh-5644-df57-dfgd45463434r",
"ClientSecret": "fgierk4-grlt-4535-d1r9-dsgflsfdg9sdf8",
"CallbackPath": "/signin-oidc" ==> It is not there in the Redirect URI in Azure portal.

 

},
//"PowerBiHostname": "https://app.powerbi.com",
"PowerBiHostname": "https://app.powerbi.com",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

 

What would be the alternate settings in the callbackpath.

Pls. help this is very urgent..

  • Hi saivina2920 ,

     

    I can't reproduce this problem at the moment, is it possible that the problem is caused by the following function or browser default settings?


    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


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

3 Replies

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Community Support

    Hi saivina2920 ,

     

    I can't reproduce this problem at the moment, is it possible that the problem is caused by the following function or browser default settings?


    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


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

    • saivina2920's avatar
      saivina2920
      Post Prodigy

      Thanks for your help..It is solved with proper permission given.