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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow failed with 'XrmA...
Power Automate
Unanswered

Flow failed with 'XrmApplyUserFailed'. Error Message: 'Failed to create a Microsoft Dataverse system row representing user '' with code cdsApiException

(0) ShareShare
ReportReport
Posted on by 4

Hello fellow flow users,

one of my approval flows failed yesterday with the error message below.

The flow run was cancelled after running for 1h.

There are two other flow runs which started 1h/2h before this one and did not cancel at the same point in time.
The only information I was able to find online was in regards to slightly different error codes so I have no clue what to look for.

I have not run into this error message or anything similar recently.

 

Kind Regards,

 

Philipp Kockerols

 

The request failed. Error code: 'XrmApplyUserFailed'. Error Message: 'Failed to create a Microsoft Dataverse system row representing user '' with code 'cdsApiException' and message 'Microsoft.Dynamics.DirectoryManagement.CDSApiException: {"error":{"code":"0x80060892","message":"\u5c5e\u6027\u5024 Azure AD \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 ID \u3092\u6301\u3064\u30ec\u30b3\u30fc\u30c9\u304c\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3 \u30ad\u30fc AAD ObjectId \u3067\u306f\u3001\u3053\u306e\u5c5e\u6027\u30bb\u30c3\u30c8\u306b\u4e00\u610f\u306a\u5024\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u610f\u306a\u5024\u3092\u9078\u629e\u3057\u3066\u3001\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}}
at Microsoft.Dynamics.DirectoryManagement.CDSHttpClient.<SendAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.CDSWebApiConnector.<>c__DisplayClass11_0.<<CreateSystemUserWithSpecialFieldsAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.<ExecuteAsync>d__11`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.<ExecuteAsync>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.CDSWebApiConnector.<CreateSystemUserWithSpecialFieldsAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.UserCreator.<>c__DisplayClass8_0.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Dynamics.DirectoryManagement.UserCreator.<>c__DisplayClass8_0.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.<ExecuteAsync>d__11`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.<ExecuteAsync>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.UserCreator.<ExecuteAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.UserProvisioner.<>c__DisplayClass13_0.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.<ExecuteAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.UserProvisioner.<ExecuteAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.DirectoryManagement.<>c__DisplayClass11_1.<<SyncUser>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<ExecuteAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Dynamics.DirectoryManagement.DirectoryManagement.<>c__DisplayClass11_0.<<SyncUser>b__0>d.MoveNext()'.'.

Categories:
  • Wightfibre Profile Picture
    2 on at

    I am having a similar issue and noticed a change was recently implemented over the weekend 😞

     

    Failed to create a Microsoft Dataverse system row representing user '' with code 'ApplicationUserCannotBeUpdated'

  • SHolness Profile Picture
    2 on at

    Did this error get resolved? Im having this error now occurring and cant seem to find a resolution

  • P_KO Profile Picture
    4 on at

    Sadly not that I am aware, no.

  • Baudelaire Profile Picture
    110 on at

    Did this ever get resolved or just "self-resolve" for anyone?  I have a flow that purred like a kitten for 2 years and for the last couple of weeks I am getting this same error:  The request failed. Error code: 'XrmApplyUserFailed'. Error Message: 'Failed to create a Microsoft Dataverse system row representing user...   It fails on the Start Approval action.  I have confirmed the user is in the environment user list and has the correct role assigned (they are part of an AAD group).  Interestingly, it's a child flow, so unless I change the retry settings, it will just start again on its own.  The second instance doesn't fail.  But the failure does get noticed when we get those infamous "these are your failed flows" emails, so eyebrows raise and I have to answer my manager on why it failed.  I have yet to see a posting explaining why or a resolution.

  • P_KO Profile Picture
    4 on at

    I exported the flow and imported it again.

    The Power Automate version of turning it off and on again.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard