大网数据广告活动
域与目录服务

Error AADSTS7000112 - Application is disabled

· 52CE 我爱测

Learn how to resolve the AADSTS7000112 error when you try to sign in to an Azure app that can be used with Microsoft Entra ID.

Summary

This article discusses how to resolve the AADSTS7000112 error that occurs when you try to sign in to an application that can be used together with Microsoft Entra ID.

Symptoms

When you try to sign in to an Azure application that's integrated into Microsoft Entra ID, you receive the following AADSTS7000112 error message:

Application '<appIdentifier>'(<appName>) disabled.

Cause

The service principal object is disabled on the resource tenant.

Solution

Work together with the resource tenant owners to determine why the service principal object is disabled. Then, use the following table to take the appropriate action.

Scenario Action
The service principal is supposed to be disabled. Don't do anything. Access is intentionally blocked. We don't expect or recommend that resource tenant admins of first-party applications disable the respective service principal. Microsoft Services automatically provisions and manages the service principals. It's possible that the backing application associated with this service principal was intentionally disabled globally by the home tenant admin, the app owner, or by Microsoft. For more information, see Deactivate an enterprise application.
The service principal isn't supposed to be disabled, or it was disabled mistakenly. Ask the resource tenant owners to re-enable the service principal. One method to re-enable the service principal is to use PowerShell to set the -AccountEnabled parameter to $true. For more information, see the Set-AzureADServicePrincipal cmdlet reference.

More information

For a full list of authentication and authorization error codes, see Microsoft Entra authentication and authorization error codes.

To investigate individual errors, go to https://login.microsoftonline.com/error.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors (upstream author metadata: custorod). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 01/11/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。