API 方法获取 Microsoft 拥有的列表 APIs 和权限
API method to get the list of Microsoft owned APIs and Permissions
Sample screenshot from portal.azure.com
有什么方法可以通过 API method/Endpoint 获取 Microsoft 拥有的 API 的列表,它可以提供 Microsoft 拥有的所有 API相应的权限?
Microsoft 已经创建了许多应用程序,其中许多公开了一些 APIs。这些应用程序中的每一个都有不同的应用程序身份,并且它们的 API 可通过不同的端点访问。
不存在列出所有 Microsoft 服务的所有应用程序标识和 API 端点的 meta-service。
但是,有 Microsoft Graph, which may solve your issue. The Microsoft Graph is a single API which gives you access to a number of other Microsoft APIs like Azure AD, SharePoint, Outlook, etc... By getting a token to the Microsoft Graph, you can access all of these different endpoints without needing to do additional token exchanges or multiple consent prompts. All the permissions for the Microsoft Graph are listed here,可以通过 API 访问。
如果您想在列出 Microsoft 服务时明确复制 Azure 门户正在执行的操作,您应该知道他们使用 white-list 服务来确定他们 "Select an API" 体验中显示的内容.该列表可能随时更改,并且不是集中式或以编程方式生成的。您可以在博客 post 上找到常见 Microsoft 应用程序及其应用程序 ID 和资源 URL 的列表,我写道:Common Microsoft Resources in Azure Active Directory
Sample screenshot from portal.azure.com
有什么方法可以通过 API method/Endpoint 获取 Microsoft 拥有的 API 的列表,它可以提供 Microsoft 拥有的所有 API相应的权限?
Microsoft 已经创建了许多应用程序,其中许多公开了一些 APIs。这些应用程序中的每一个都有不同的应用程序身份,并且它们的 API 可通过不同的端点访问。
不存在列出所有 Microsoft 服务的所有应用程序标识和 API 端点的 meta-service。
但是,有 Microsoft Graph, which may solve your issue. The Microsoft Graph is a single API which gives you access to a number of other Microsoft APIs like Azure AD, SharePoint, Outlook, etc... By getting a token to the Microsoft Graph, you can access all of these different endpoints without needing to do additional token exchanges or multiple consent prompts. All the permissions for the Microsoft Graph are listed here,可以通过 API 访问。
如果您想在列出 Microsoft 服务时明确复制 Azure 门户正在执行的操作,您应该知道他们使用 white-list 服务来确定他们 "Select an API" 体验中显示的内容.该列表可能随时更改,并且不是集中式或以编程方式生成的。您可以在博客 post 上找到常见 Microsoft 应用程序及其应用程序 ID 和资源 URL 的列表,我写道:Common Microsoft Resources in Azure Active Directory