web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Error on account creation and edit

(0) ShareShare
ReportReport
Posted on by 107

Hello, 

I recently tried to create an account from power automate and it failed.

pastedimage1631668581078v2.png

Power automate error

    "body": {
        "error": {
            "code""0x80044150",
            "message"" Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 547",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey""Plugin/Microsoft.Crm.Common.ObjectModel.AccountService",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey""6e3b8615-ecd8-db11-b397-0019b9204da9",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey""1",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey""c66bddeb-490b-4ec6-b6b3-995221ec2af7",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey""System",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey""System",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory""SystemFailure",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName""unManagedidssqlerror",
            "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode""500",
            "@Microsoft.PowerApps.CDS.HelpLink""">go.microsoft.com/.../,
            "@Microsoft.PowerApps.CDS.InnerError.Message"" Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 547"
        }
    }

Likewise, I tried to create the account 

pastedimage1631668452310v1.png

and also to edit

pastedimage1631668937202v3.png

what could be the possible problem.

This is a sampe of the downloaded log file

Exception Message: Account does not exist.

ErrorCode: -2147220222
HexErrorCode: 0x80040502

ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Crm.Common.ObjectModel.AccountService
ApiStepKey: 63cdbb1b-ea3e-db11-86a7-000a3a5473e8
ApiDepthKey: 1
ApiActivityIdKey: d5b86d1c-8f57-4c8a-99e0-4bd585c2ffc3
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMessageName: AccountDoesNotExist
ApiExceptionHttpStatusCode: 400

HelpLink: go.microsoft.com/.../

Activity Id: 9ded7789-8936-463f-8853-dd88c4a2825f

Kindly help

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Error on account creation and edit

    Hi Jide,

    Glad your problem was solved!

  • Jide Bantale Profile Picture
    107 on at
    RE: Error on account creation and edit

    Thanks, Leah

    I found from this URL that the issue was from a Business Rule.

    community.dynamics.com/.../the-requested-record-was-not-found-or-you-do-not-have-sufficient-permissions-to-view-it

    Apparently, there were some field values in the imported solution that CRM did not recognize.

  • Community Member Profile Picture
    on at
    RE: Error on account creation and edit

    Hi Jide,
    Firstly, you can close all browser windows, and re-login to Dynamics, try a different browser or access Dynamics in Private mode.

    [Resolved] : Record Is Unavailable - The requested record was not found or you do not have sufficient permissions to view it (d365learnings.blogspot.com) 

    Or you can refer following link:

    (+) CRM Outlook Client Offline – “Sales Force Automation Error” - Dynamics 365 Sales Community

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 156

#2
DAnny3211 Profile Picture

DAnny3211 89

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans