UiPath Documentation
activities
latest
false
Productivity activities

AADSTS7000218: The request body must contain the following parameter: client_assertion or client_secret

Solutions for AADSTS7000218 (the request body must contain the following parameter clientassertion or clientsecret) errors when using Microsoft 365 activities.

Issue​

When using the username and password authentication, you may encounter the following error: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. For details, check See https://aka.ms/msal-net-invalid-client. Original exception: AADSTS7000218: The request body must contain the following parameter: client_assertion or client_secret.

Solution​

  1. In Azure, go to App registrations, select your application, then navigate to the Authentication tab.
  2. Go to Advanced Settings and enable the Allow public client flow setting.
  • Issue​
  • Solution​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated