Getting below exception in 90 to 100 minutes after initiating the connection with office365.
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. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Actual problem is, application is loosing connection with mail server (office365) in 90 to 100 minutes from the time of initiating the connection. And I have to provide credentials again to continue. And this is because of Azure setting "Allow Public Client flows" is set to NO.
After setting the option "Allow Public Client Flows" set to yes, there is no problem, mail server is not disconnecting.
My doubt is why is it happening with default azure setting "allow public client flows = No".?
What are the cons/ side effects will happen if I set the "Allow Public Client flows = yes", Is is safe or not?.
Thanks& regards,
Varaprasad.