如何检查我的 AzureAD 版本是 V1 还是 V2? [英] How do I check to see if my AzureAD version is V1 or V2?

查看:19
本文介绍了如何检查我的 AzureAD 版本是 V1 还是 V2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里可以查看 AzureAD 版本?是否有一些命令行实用程序可以返回版本,或者一些提供类似基本信息的休息端点?

Where would I look to check the AzureAD version? Is there some command line utility that would return the version, or some rest endpoint that gives basic information like that?

推荐答案

Azure AD 本身是无版本的.v1 或 v2 可以是您与之对话的端点和应用注册.

查看 v2 端点上的文档v1 与 v2 比较

对于大多数 URL(元数据、授权、令牌),您可以根据它是否包含/v2.0/来判断,例如:

For most URLs (metadata, authorize, token), you can tell based on whether it contains /v2.0/ for example:

https://login.microsoftonline.com/common/oauth2/authorize 是 v1 而https://login.microsoftonline.com/common/oauth2/v2.0/authorize是v2

EDIT - 包括 Daniel 提供的额外数据点

EDIT - Including extra data points provided by Daniel

您的 Azure AD 应用程序的版本取决于用于注册它的门户,

The version of your Azure AD application depends on what portal was used to register it,

  • If in the Azure Portal, then it's a v1 application.
  • If in the App Registration Portal then it's a v2 app.

这篇关于如何检查我的 AzureAD 版本是 V1 还是 V2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆