在没有 Office 365 订阅的情况下使用 Azure 多租户应用程序访问用户日历信息 [英] Using Azure Multi-Tenant application without an Office 365 subscription to access users calendar information

查看:23
本文介绍了在没有 Office 365 订阅的情况下使用 Azure 多租户应用程序访问用户日历信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们编写了一个服务应用程序,它从组织(租户)的多个日历中读取 Office 365 日历信息,并对条目进行一些分析.为此,我们使用 Office 365 REST API.
我们有多个客户组织(租户)需要此功能,因此我按照 @Matthias Leibmann 文章中的步骤操作: 使用 Office 365 邮件、日历和联系人 API(OAuth2 客户端凭据流)构建守护程序或服务应用程序

我们在开发过程中使用了 Azure 试用帐户和 Office 365 试用订阅,一切运行良好,我们已成功访问多个租户的数据.
但是,当我尝试使用我们的生产 Azure 帐户和生产 Azure Active Directory (AAD) 设置多租户应用程序时,我意识到我无法在权限"中定义Office 365 Exchange Online"所需的应用程序权限.其他应用程序"部分,因为我们的生产 AAD 帐户未链接到 Office 365 帐户.
我假设我们可以使用我们的生产 azure 帐户注册 Office 365 的开发人员试用版,这将允许我们设置所需的权限,但我不知道 Office 365 试用版到期后 30 天内会发生什么.

是否可以在不将 Office 365 帐户链接到我们的生产 AAD 的情况下定义这些所需权限?
这只是 Azure 前端中的工具问题,还是有技术原因导致我们需要自己的 Office 365 订阅,即使我们总是连接到其他公司的 Office 365 帐户?

解决方案

目前它的工作方式是您确实需要 Office 365 订阅和 开发者订阅.我可以咨询我们的 Azure 人员,了解如果您添加试用版然后让它过期会发生什么.

We have written a service application that reads Office 365 calendar information from multiple calendars in an organisation (tenant) and does some analysis against the entries. We use the Office 365 REST API for this.
We have multiple client organisations (tenants) that require this functionality so I have followed the steps in @Matthias Leibmann article here: Building Daemon or Service Apps with Office 365 Mail, Calendar, and Contacts APIs (OAuth2 client credential flow)

We used a trial Azure account and a trial Office 365 subscription during development and everything works very well and we have been successfully accessing data for several tenants.
However, when I tried to set up the Multi-Tenant Application using our production Azure account and production Azure Active Directory (AAD) I realised that I can’t define the Application Permissions required for "Office 365 Exchange Online" in the "Permissions to other applications" section of the UI because our production AAD account isn't linked to an Office 365 account.
I assume we could sign up for a developer trial of Office 365 using our production azure account and this would allow us to set the required permissions, but I don’t know what will happen in 30 days when the office 365 trial expires.

Is there a way to define these required permissions without having an Office 365 account linked to our production AAD?
Is this just a tooling issue within the Azure front end or is there a technical reason that we need an Office 365 subscription of our own even though we’re always connecting to some other company’s Office 365 account?

解决方案

Currently the way it works is you do need an Office 365 subscription, and a Developer Subscription will do. I can check with our Azure folks about what would happen if you added a trial and then let it expire.

这篇关于在没有 Office 365 订阅的情况下使用 Azure 多租户应用程序访问用户日历信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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