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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Issue when using Power Automate to add users to D365 F&O

(0) ShareShare
ReportReport
Posted on by 5

Hi all, 

First post here!

We are in the early stages of implementing D365 F&O so excuse my ignorance to the system. We use power automate across the business for various things and I am exploring whats possible with F&O. For starters, I am trying to add new users on submission of a form, using the 'Create Record' function in PA and pointing to the SystemUser entity. But when I run the flow, I get the error:

"An error has occurred. Write failed for table row of type 'SystemUserEntity'. Infolog: Error: Object reference not set to an instance of an object..
clientRequestId: 78f2bf8d-103d-45f6-b268-6c9350229b61"

1030.d365-105553.png

I've tried various variations of names etc but to no success and note that the user is part of active directory and typically added into F&O via the import user function. 

Thanks!

  • gtechlearn Profile Picture
    on at

    Facing the exactly same issue. Did you got any solution or workaround the problem.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi, I have created a power app and power automate to import user into D365FO.

    Please make sure you have added ClaimsUser in field Type

    Check this out

    community.dynamics.com/.../how-to-create-a-user-in-fin-ops-using-power-automate-error-in-getting-sid

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    This is how I have created it and tested (It creates a User in D365 F&O) and next step I added in flow to add a Security role.

    pastedimage1679879417004v1.png

    pastedimage1679879426214v2.png

    pastedimage1679879433464v3.png

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!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 543 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 387 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 185

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans