Office 365 API或Azure AD Graph API-获取其他人的日历 [英] Office 365 API or Azure AD Graph API - Get Someone Elses Calendar

查看:94
本文介绍了Office 365 API或Azure AD Graph API-获取其他人的日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取Office 365日历,不是为了我",而是为了联系.也就是说,在我工作的公司(具有全球地址列表)中,我希望访问Dave的日历,就像在Outlook中一样.

I am trying to get an office 365 calendar, not for "me", but of a contact. i.e. in the company I work for (which has a global address list), I want to access Dave's calendar, as I would in outlook.

我在这里 ,StackOverflow(例如,此处

I have been through the documentation here, StackOverflow (e.g. here and here), plus Office 365 samples and Graph API samples (I believe Graph API is required for global address lists), but cannot find a way to do it.

我有3个问题:

  1. 这可能吗?
  2. 如果是,请如何?
  3. 如果无法使用全局地址列表,则可以通过Office 365创建联系人吗?如果可以,怎么办?

非常感谢您的帮助.

推荐答案

如果我正确理解您的情况,目前无法实现.如果您以自己的身份登录,则只能访问您的邮箱.即使其他人已将您的访问权限委派给您,您也无法访问.这是我们希望改进的事情,但是现在您无法做到.

It isn't currently possible if I understand your scenario correctly. If you are signing in as you, you only get access to your mailbox. You don't get access to other people, even if they've delegated access to you. This is something we're looking to improve upon, but for now you cannot do it.

您可以创建一个使用客户端凭据身份验证流的应用程序,管理员可以向所有用户授予访问权限,但是我不认为这是您要使用的方案.

You can create an app that uses the client credential auth flow, and an admin can grant access to all users, but I don't think that's the scenario you're going for.

这篇关于Office 365 API或Azure AD Graph API-获取其他人的日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆