资源所有者密码凭证 (ROPC) 是否适用于 "ad hoc" 用户?

Does Resource Owner Password Credentials (ROPC) work with "ad hoc" users?

我正在努力解决 ROPC authentication flow 的局限性。

如果我设置了 Azure 应用程序,我是否可以使用 ROPC 流程登录任何拥有 Office 365 帐户的用户,或者我是否需要先将用户添加到我的 Azure 应用程序?

this documentation 中,Microsoft 表示

ROPC supports local accounts only. Users can’t sign in with federated identity providers like Microsoft, Google+, Twitter, AD-FS, or Facebook.

我不确定他们所说的“本地帐户”是什么意思?该帐户是否已作为用户添加到我的 Azure 应用程序?

本地帐户是最初在该 AAD 租户中创建的帐户。 任何受邀的来宾用户都不算数。 虽然我听说 ROPC 有时会与已同步的 AD 用户(技术上不是本地用户)一起工作,但这取决于设置。