Getting "AADSTS7000112: Application is disabled" error with M365 Android app

RoomAdmin 0 Reputation points
2024-09-19T11:50:14.8+00:00

Hi,

I have an Android app that connects with M365 resources using a third party library. Until two days ago, everything was working fine, but now I'm getting the following error:

"AADSTS7000112: Application XXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX(MRS) is disabled."

I have checked the app's properties in the Azure admin portal, and "Enabled for users to sign-in" is set to "YES." Additionally, the app's Manifest shows "disabledByMicrosoftStatus: null."

I don't know why I'm getting this error, and I'm not sure how to fix it. Can you help me solve this issue?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,903 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 11,225 Reputation points Microsoft Vendor
    2024-09-20T01:33:27.1966667+00:00

    Hi @RoomAdmin

    Thank you for posting this in Microsoft Q&A.

    I understand that you have Android app that connects with M365 resources using a third-party library. Until two days ago, everything was working fine, but now I'm getting the following error: "AADSTS7000112: Application 5666989b-0c5e-472c-9963-d317148aa5d9(Meeting room schedule) is disabled."

    The error indicating that your application is disabled suggests that the service principal object has been disabled in the resource tenant. You will need to enable it.

    Check with your resource tenant owners to determine why the service principal object is disabled. Then take the appropriate action.

    You can verify which apps are disabled in your tenant by utilizing PowerShell.

    Connect-Entra -Scopes 'Application.Read.All'
    Get-EntraServicePrincipal -Filter "accountEnabled eq false"
    

    To re-enable the service principal is to use PowerShell to set the -AccountEnabled parameter to $true.

    Set-AzureADServicePrincipal -ObjectId 2e0d8ca7-57d1-4a87-9c2a-b3638a4cadbf -AccountEnabled $true
    

    For more information: https://learn.microsoft.com/en-us/troubleshoot/azure/entra/entra-id/app-integration/error-code-aadsts7000112-application-is-disabled

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Navya.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.