Hello,
All users have the correct send on behalf permissions to the shared email box. However, one user is receiving the following error message when sending the email from the shared email box in Business Central.
LicenseServiceNonTransientException: Service resource is gone. Exception details : Status code returned: 'Gone', HTTP request error: Unknown, Message: "[AuthenticationHandler.AcquireTokenSilentWithLoginHintAsync with certificate] threw MsalClaimsChallengeException with errorCode: invalid_grant, correlationId: e15a907c-37bc-4815-850b-e2fc05cb486a, details: AADSTS53009: Application needs to enforce Intune protection policies. For additional info on how to handle claims related to multifactor authentication, Conditional Access, and incremental consent, see https://aka.ms/msal-conditional-access-claims. If you are using the On-Behalf-Of flow, see https://aka.ms/msal-conditional-access-claims-obo for details.".
The users have exchange license and MFA enabled, but the shared email does not have MFA.