OAuthMissingForThisService此服务的身份验证需要OAuth

And*_*din 2 office365

为什么我们不再能够查询office365 REST URL来获取消息?

上周,我能够将URL读取消息: https://outlook.office.com/api/v1.0/me/messages

现在我只能得到这样的答复:

{"error":{"code":"OAuthMissingForThisService","message":"Authentication for this service requires OAuth: outlook.office.com."}}
Run Code Online (Sandbox Code Playgroud)

谢谢

Ven*_*SFT 8

https://outlook.office.com/api/v1.0不支持基本身份验证,因为OAuth是推荐的身份验证机制,但您可以继续使用https://outlook.office365.com/api/v1.0如果你需要继续使用Basic auth.