How to fix AADSTS53003 Access has been blocked by Conditional Access policies. The access policy does not allow token issuance

Yongsheng Tian 20 Reputation points Microsoft Employee
2025-02-06T10:36:38.1833333+00:00

Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.microsoft.aad.msal4j.MsalInteractionRequiredException: AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance. Trace ID: 78cc8d76-4bf0-4b1a-8981-b7e9e54aaa00 Correlation ID: acac177e-5a11-4471-8f0a-0a933562900a Timestamp: 2025-02-06 10:06:02Z

I use secretclient to get token to access objectstore in itellij idea, but got this problem, few weeks ago it is ok, but today I got this exception. I try to submit my job to mt-flink platform and it work, but not work in my IDE any longer, is getting token from IDE has been forbidden?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author
Akhilesh Vallamkonda 15,275 Reputation points Moderator
2025-02-08T04:30:16.4133333+00:00

Hi @Yongsheng Tian

Adding to Andy David - MVP Based on the error code 53003, Your sign-in was successful but does not meet the criteria to access this resource and the access has been blocked by Conditional Access policies which is set by the organization.
As discussed, and reviewing the details of your tenant, you don't have enough roles to check the logs and change the Conditional Access policies, kindly reach the global admin of the tenant and inform that you are getting blocked by Conditional Access policies, so the admin can help you on this issue.

Hope this helps. Do let us know if you any further queries by responding in the comments section.

Thanks,

Akhilesh V.


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.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 160.3K Reputation points MVP Volunteer Moderator
    2025-02-06T14:57:28.8833333+00:00

    Your tenant has a Conditional Access policy blocking this:

    Access has been blocked by Conditional Access policies.

    Check the sign in logs in Entra to see which one(s)

    Was this answer helpful?


Your answer

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