Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
apenaranda
Post Patron
Post Patron

Error embedded AADSTS7000218: The request body must contain the following parameter: 'client_asserti

 

Does anyone know why this error appears when trying to embed the power bi report?
I am using the method AUTHENTICATION_MODE = 'MasterUser'
If I use an application registered in AD it works fine for me, saying that the user has a power bi pro license.

 

apenaranda_0-1684751032076.png

 

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi  @apenaranda ,

The following ones are the threads which have the similar problem as yours, please check if the solution can help you solve the problem.

ERROR:" Test Connection failed. "AADSTS7000218: The request body must contain the following paramete...

Solution
​To resolve this issue, ensure that the application uses the Native App and then do the test connection again. This needs to be checked by PowerBI Admin.

Solved: The request body must contain the following parame... - Microsoft Fabric Community

What type is the AAD registered Application in your case? If the clientId is from a "Server-side Web app", then specify an extra option -clientsercet. Otherwise register a "Native app" and use the clientid alone.

 

See Register with the Power BI App Registration Tool

Azure AD returns AADSTS7000218 error | Azure Active Directory Developer Support Team (aaddevsup.xyz)

Best Regards

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

View solution in original post

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi  @apenaranda ,

The following ones are the threads which have the similar problem as yours, please check if the solution can help you solve the problem.

ERROR:" Test Connection failed. "AADSTS7000218: The request body must contain the following paramete...

Solution
​To resolve this issue, ensure that the application uses the Native App and then do the test connection again. This needs to be checked by PowerBI Admin.

Solved: The request body must contain the following parame... - Microsoft Fabric Community

What type is the AAD registered Application in your case? If the clientId is from a "Server-side Web app", then specify an extra option -clientsercet. Otherwise register a "Native app" and use the clientid alone.

 

See Register with the Power BI App Registration Tool

Azure AD returns AADSTS7000218 error | Azure Active Directory Developer Support Team (aaddevsup.xyz)

Best Regards

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

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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