cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
apenaranda
Helper IV
Helper IV

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors