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

查看:74
本文介绍了如何检查我的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 /授权是v2

编辑-包括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天全站免登陆