The request body must contain the following parameter: 'client_assertion' or 'client_secret' with Office 365

I’m getting the below error when trying to read emails using get mail activity inside the Microsoft Office 365 Scope.

Microsoft.Identity.Client.MsalServiceException: 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 Azure AD authentication & authorization error codes - Microsoft Entra | Microsoft Learn for details. Original exception: AADSTS7000218: The request body must contain the following parameter: ‘client_assertion’ or ‘client_secret’.

Anyone has any idea about this error?

@dilii

Did you pass Client ID and secret to Microsoft Office 365 Scope activity. If not please setup account in Microsoft Azure and provide Graph API access etc.

1 Like

Yes I passed according to above documents