activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Feb 19, 2026

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

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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.