尝试在Oracle Integration Cloud(OIC)Env中配置MS Outlook适配器。连接成功。但是,当测试完整的实现时,出现以下错误。
[https://outlook.office.com/api/v2.0/me/sendmail返回的响应状态为403禁止访问
"error":{"code":"ErrorAccessDenied","message":"Access is denied. Check credentials and try again."
<genericRestFault><errorCode>403</errorCode><errorPath><![CDATA[POST https://outlook.office.com/api/v2.0/me/sendmail returned a response status of 403 Forbidden]]></errorPath><instance><![CDATA[{"error":{"code":"ErrorAccessDenied","message":"Access is denied. Check credentials and try again."}}]]></instance></genericRestFault>
:Application Error
我可以成功测试OIC Microsoft Outlook适配器以发送带有附件的电子邮件。配置适配器时,请确保已正确设置以下设置。
客户ID:客户机密:范围:https://outlook.office.com/mail.send offline_access