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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.