Home  >  Article  >  Computer Tutorials  >  Fix AADSTS7000112, Application is disabled Microsoft account login error

Fix AADSTS7000112, Application is disabled Microsoft account login error

王林
王林forward
2024-02-19 18:27:02939browse

AADSTS7000112 error may prevent you from logging into the application using your Microsoft account, causing you inconvenience. This article will provide you with solutions to help you resolve this issue and restore a normal login experience.

Login: Sorry, you are having trouble logging in. AADSTS7000112: Application disabled.

Fortunately, you can fix the error by following some simple suggestions.

Fix AADSTS7000112, Application is disabled Microsoft account login error

What is the error code AADSTS7000112?

Error code AADSTS7000112 indicates a problem with the Azure Active Directory connection to Microsoft. Typically this can be caused by the Microsoft application you are trying to log in being disabled, but there can be other reasons as well. Please ensure that the application is set up correctly and check that the network connection and credentials are valid.

  • Inactive User Account
  • Incorrect login credentials
  • Server down
  • Insufficient permissions

Fix AADSTS7000112, Application is disabled Microsoft account login error

To resolve error AADSTS7000112, make sure your application is still active. If so, please check if your user account is still valid. If your account is valid but you cannot log in, please refer to the following suggestions:

  • Clear team cache data
  • Install the Azure Active Directory Module for Windows PowerShell
  • Check if login is enabled in AAD
  • Now, let’s take a closer look at these.

    1]Clear team cache data

    After disabling the AADSTS7000112 application, you may encounter a Microsoft account login error when logging into Microsoft Teams. The solution is to try clearing cache data.

  • Press Windows R to open the Run dialog box.
  • Enter the following path and press Enter.
    %AppData%MicrosoftTeams
  • Here, press Ctrl A to select all files and then press Shift Del to delete them permanently.
  • Restart your device, try logging in again and see if the error is fixed.
  • 2]Install the Azure Active Directory Module for Windows PowerShell

    This error may also occur if the Exchange Online application's service principal is disabled for the user. To fix it, check the status of the service principal. Here’s how to do it:

  • Run the following command in Windows PowerShell:
    (获取-服务主体-应用主体ID 00000002-0000-0ff1-ce00-000000000000).accountenabled
    
    获取-移动服务主体-应用主体ID 00000002-0000-0ff1-CE00-000000000000|设置-移动服务主体-帐户启用$TRUE
  • 3] Check if login is enabled in AAD

    Fix AADSTS7000112, Application is disabled Microsoft account login error

    Finally, check if login is enabled in Azure Active Directory. Please make sure to do this from an administrator account. Here’s how to do it:

  • Sign in to Microsoft 365 Global Management and navigate to the Azure Active Directory Admin Center.
  • Select Enterprise Applications in the left pane, then select Manage All Applications (&>).
  • Set the Application Type Filter to Microsoft Application and set the Application Status to Disabled and click Apply to save the changes.
  • Now, select "Properties" under "Administration" and set the "Allow user to log in?" option to Yes.
  • Finally, click Save to save the changes.
  • Try logging in again to see if the error AADSTS7000112 Application is disabled still occurs.
  • The above is the detailed content of Fix AADSTS7000112, Application is disabled Microsoft account login error. For more information, please follow other related articles on the PHP Chinese website!

    Statement:
    This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete
    Previous article:Firewalld Linux firewallNext article:Firewalld Linux firewall