Skip to main content

Notifications

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!

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Issue when using Power Automate to add users to D365 F&O

    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

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Issue when using Power Automate to add users to D365 F&O

    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

  • gtechlearn Profile Picture
    gtechlearn 10 on at
    RE: Issue when using Power Automate to add users to D365 F&O

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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans