【发布时间】:2018-10-20 20:52:19
【问题描述】:
我在 PowerShell 中编写了一个非常简单的 Azure 函数。我已将其启用为多租户,这也很好。
如果我想使用:connect-msolOnline 例如(在 PowerShell 脚本中)连接到 office365 服务,我如何获得在访问时要求您提供的帐户API 由 AzureAD 保护,因此我可以使用给定帐户连接到租户。
当您点击 API 时被要求登录很好(因为它是多租户),但在 PowerShell 脚本中使用该凭据是我面临的问题。
有什么想法吗?
【问题讨论】:
标签: azure office365 azure-active-directory azure-functions