"AADSTS500014: The service principal for resource 'https://outlook.office365.com/' is disabled. This indicate that a subscription within the tenant has lapsed, or that the administrator for this tenant has disabled the application, preventing tokens from

Vaidyanath Manogaran 0 Reputation points
2023-12-16T03:40:10.5333333+00:00

I am trying to read the emails using the microsoft graph api.

However i am getting the error.

"AADSTS500014: The service principal for resource 'https://outlook.office365.com/' is disabled. This indicate that a subscription within the tenant has lapsed, or that the administrator for this tenant has disabled the application, preventing tokens from being issued for it. Trace ID: 804b8e05-4c79-407e-bc83-6d1c142f4500 Correlation ID: 4d7d7d55-b099-4d6c-872c-3c3c26d84fdf Timestamp: 2023-12-16 03:20:41Z"

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,702 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Lasse Schimanski | schimanski IT GmbH & Co. KG 0 Reputation points
    2025-05-09T10:16:20.1266667+00:00

    Hi,

    if you have Problems with that by any Application used with a Microsoft Account - Login as Admin to "Entra".

    https://entra.microsoft.com/#view/Microsoft_AAD_IAM/StartboardApplicationsMenuBlade/~/AppAppsPreview?Microsoft_AAD_IAM_legacyAADRedirect=true

    Under "Applications" - "Corporate Applications" - make sure all filters are off (the filter rules are at the very top above the rules!!)

    Search for your a part of your Error Code or the Application itself with "Strg+F" in your Browser.

    Click on the service - on the left click on "Properties" - then set the slider for "Enabled for user logon?" to "Yes".

    Thats it. :)

    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.