Reply
apenaranda
Post Partisan
Post Partisan

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
avatar user
Anonymous
Not applicable

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

View solution in original post

1 REPLY 1
avatar user
Anonymous
Not applicable

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

avatar user

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)