MSAL 问题:此 API 版本不支持应用程序 [ClientID]

Issue with MSAL: Application [ClientID] is not supported for this API version

尝试使用 MSAL 登录我的 Azure 应用程序,我得到以下信息:

Additional technical information:
Correlation ID: 4a3f4692-a698-4e89-ba29-3146d9b92d7b
Timestamp: 2017-08-09 16:50:57Z
AADSTS70001: Application 'ClientID GUID' is not supported for this API version.

有人可以解释一下吗?

此错误意味着您已注册 Azure AD v1.0 应用程序,但正在访问 Azure AD v2.0 聚合端点。

Here's a nice explanation of the differences between the two, but in short v1 can sign in Azure AD users whereas the v2.0 converged endpoint can sign in Azure AD and Microsoft Account users. The v2.0 endpoint currently supports a subset of functionality, so depending on your scenario you may choose to stick with v1. The v2 limitations doc 应该有助于确定 v2.0 是否适合您。

v1.0

v2.0