[英]Access personal accounts Onedrive with Azure AD Multi tenant
I would like to create a daemon app on Azure that would allow to access multiple personal Microsoft accounts (not in same tenant).我想在 Azure 上创建一个守护程序应用程序,它允许访问多个个人 Microsoft 帐户(不在同一个租户中)。 My idea: I create a multi tenant app in my tenant.
我的想法:我在我的租户中创建了一个多租户应用程序。 Each user that authorizes access to his personal account, should give explicit consent.
每个授权访问其个人帐户的用户都应明确同意。
I feel like it's possible when I read the doc but I'm not able to do it.当我阅读文档时,我觉得这是可能的,但我无法做到。 What I currently did:
我目前所做的:
Then I'm not sure how I should ask for the consent of users ?那我不知道我应该如何征求用户的同意? And then how can I get a token for a particular user to have daemon access ?
然后如何为特定用户获取令牌以进行守护程序访问? (without explicitly having to ask again his consent)
(无需再次明确征求他的同意)
Thanks for the help!谢谢您的帮助!
Even if it is not really clear out of the documentation of Microsoft as first it seems it's possible, I have the impression that it's not possible: Daemon applications can work only in Azure AD tenants.即使在 Microsoft 的文档中并不是很清楚,因为乍一看似乎是可能的,但我的印象是这是不可能的:守护程序应用程序只能在 Azure AD 租户中工作。 It wouldn't make sense to build a daemon application that attempts to manipulate Microsoft personal accounts.
构建一个试图操纵 Microsoft 个人帐户的守护程序应用程序是没有意义的。 If you're a line-of-business (LOB) app developer, you'll create your daemon app in your tenant.
如果您是业务线 (LOB) 应用程序开发人员,您将在租户中创建守护程序应用程序。 If you're an ISV, you might want to create a multitenant daemon application.
如果您是 ISV,您可能想要创建一个多租户守护程序应用程序。 Each tenant admin will need to provide consent.
每个租户管理员都需要提供同意。 ( https://docs.microsoft.com/bs-cyrl-ba/azure/active-directory/develop/scenario-daemon-overview )
( https://docs.microsoft.com/bs-cyrl-ba/azure/active-directory/develop/scenario-daemon-overview )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.