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
RickPiovesan
New Member

'embed for customers' app fails to obtain access token

App fails to obtain access token - error 200 but text "Operation returned an invalid status code 'NotFound"

Have Az web site (app service). Created an app registration for it. Created a security group, put that app registration into it. Have a power bi pro subscription. Created report. Added security group into 'allowed to access'. According to the many (and sometimes conflicting) MS doc pages and 'guy in cube' videos, this is all that is needed. But doesn't work (above error).

Tried the famous Developer-Samples | .NET Core | Embed for your customers  - gets same error.

Been a day of frustration and stack overflowing, nothing works, have nothing left to try, Hate to admit defeat and tell client "forget PowerBI, we can't get it to work."

Last ditch attempt - any help or working example would be greatly appreciated.

Rick.

 

3 REPLIES 3
RickPiovesan
New Member

Thanks for your response. I would have liked to cancel this question and save you time, the client is going with an alternative service.

HI @RickPiovesan,

OK, thank you for choosing power bi products.  I hope the above links can be helpful if you or others meet similar requirements to work with power bi embedded.🙂

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
v-shex-msft
Community Support
Community Support

Hi @RickPiovesan,

Have you checked the permissions of the rest api usages? Did you confirm the corresponding id of the report and groups which you sued in API? Please share some more detailed info about the operations and configuration which you operate in the embed to help us clarify ou operations and testing to troubleshoot:

How to Get Your Question Answered Quickly  

In addition, you can also try these operations at the following testing environment:

Power BI Embedded Playground

You can take a look at the below link about the prerequisite operations before embedding if helps:

Register an app to embed Power BI content in a Power BI embedded analytics application - Power BI | ...

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help 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.