Forum Discussion

kasun_rumesh's avatar
kasun_rumesh
Icon for Helper II rankHelper II
1 year ago
Solved

Error AADSTS53011:User Blocked Due to Risk on Home Tenant When Accessing BC API via Fabric Notebook

I'm trying to access the Microsoft Dynamics 365 Business Central API through a Microsoft Fabric notebook. The same API works successfully when called using Postman or VS Code with the same credentials and token generation method.

However, when I attempt the same request from within the Fabric notebook, I receive the following error:

 

Token request failed:
{
"error": "invalid_request",
"error_description": "AADSTS53011: User blocked due to risk on home tenant. Trace ID: <hidden>, Correlation ID: <hidden>, Timestamp: 2025-07-15T14:12:28Z",
"error_codes": [53011],
"timestamp": "2025-07-15T14:12:28Z",
"trace_id": "",
"correlation_id": "",
"claims": {
"access_token": {
"capolids": {
"essential": true,
"values": [""]
}
}
}
}


Could you help me understand why this error is triggered only in Fabric and how to resolve it?

1 Reply