Forum Discussion

myprofile490's avatar
myprofile490
Copper Contributor
May 13, 2022
Solved

Error when running playbook Block-AADUser-Alert

Hello,
I have personal account and I am trying Microsoft Sentinel. My senario is when user account (not admin) changes his authentication method, an alert is triggered and then I run built-in playbook Block-AADUser-Alert to disable this account. I get following error when running this playbook:
{
"error": {
"code": "Request_ResourceNotFound",
"message": "Resource '[\"leloc@hoahung353.onmicrosoft.com\"]' does not exist or one of its queried reference-property objects are not present.",
"innerError": {
"date": "2022-05-13T03:06:46",
"request-id": "84bab933-eb79-4352-9bdf-e6d5444a1798",
"client-request-id": "84bab933-eb79-4352-9bdf-e6d5444a1798"
}
}
}

 

I have tried to assign all required permissions (User.Read.All, User.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All), authorized api connection,.. but it can not solve the issue. 

Would anyone help advise how to solve ? Is it because of personal account ?

Best Regards,

An

30 Replies

  • pls connect me any i stuck this error

    {

        "error": {

            "code": "Request_ResourceNotFound",

            "message": "Resource 'message' does not exist or one of its queried reference-property objects are not present.",

            "innerError": {

                "date": "2025-06-23T10:50:03",

                "request-id": "9524d308-2978-4ed0-901a-18a5c5e81b1c",

                "client-request-id": "9524d308-2978-4ed0-901a-18a5c5e81b1c"

            }

        }

    }

  • GaryBushey's avatar
    GaryBushey
    Bronze Contributor
    Does this only happen with one account? It sounds like there may be some fields for it missing. If other accounts work, I would try to compare the two and see if anything is missing.

Resources