cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
apenaranda
Helper V
Helper V

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.