问题描述
我们写了一个服务应用程序读入一个组织(租户)从多个日历的Office 365日历信息并执行对条目进行一些分析。我们使用Office 365 REST API这一点。结果
我们有需要此功能,所以我在这里遵循文章的步骤多个客户组织(租户) :建筑守护程序或服务应用与Office 365邮件,日历和联系人的API(OAuth2用户端凭证流)
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)
我们使用了Azure的试用账户,并在开发过程中试用的Office 365订阅,一切工作非常好,我们已经成功地访问数据的几个租户。结果
然而,当我试图建立的多租户应用程序使用我们生产的Azure账号和生产Azure中的Active Directory(AAD)我意识到,我不能在权限定义Office 365中的Exchange Online所需要的应用程序权限其他应用程序,因为我们的生产AAD帐户未链接到Office 365帐户UI的部分。结果
我认为,我们可以用我们的生产蔚蓝的帐户登录到Office 365的开发试验,这将允许我们设置所需的权限,但我不知道什么时候的Office 365试用期结束后30天会发生什么。
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.
有没有一种方法来定义这些必需的权限,而无需一个Office 365帐户链接到我们的生产AAD?结果
这只是在Azure前端内的工具的问题,还是有我们需要自己的Office 365的订阅,即使我们一直连接到其他一些公司的Office 365帐户由于技术原因?
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?
推荐答案
目前它的工作方式是你需要的Office 365订阅和的。我可以检查与我们有关,如果你增加了一个审判会发生什么,然后让它过期Azure的乡亲。
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.
这篇关于使用Azure的多租户应用程序没有Office 365的订阅用户访问日历信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!