How to fixed it?
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. Original exception: AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'. Trace ID: 524a9fb45d-e29b791c1d01 Correlation ID: 03d5484cf-c07a7ee7ac31 Timestamp: 2023-03-02 12:24:16Z