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 / Creating Dataverse Use...
Power Automate
Unanswered

Creating Dataverse Users - Azure Logic Apps/Power Automate

(0) ShareShare
ReportReport
Posted on by
Hi All, 
 
Apologies if this is in the wrong forum!
 
Im in a confusing situation. 
 
I was wondering if someone can explain this process, as my understanding is obviously lacking. 
 
I want to create a list of 100 dataverse users that are registered in Entra. 
 
I am trying to roll out a Power App that will be used by said users. 
 
The difficulty I am having is, whilst I can create my users through logic apps, it doesn't stamp the azureactivedirectoryobjectid column. I assume this is because it is system generated (sync with entra). 
 
My question is: How do I create users, that are linked to Entra BEFORE they have logged into my environment?
 
I want the app ready to go for them. 
 
The issue this is causing is, whilst I can create a user through the logic app, that user is disabled and with no azureactivedirectoryobjectid.
What happens then is, the actual user logs into the environment (They have licences and security roles from within a team) and the user is duplicated. 
 
I have created Account records with ownership pointing to the original (disabled) user, which results in the ACTUAL user not being an owner of any record. 
 
This is what I am attempting: 
 
{
  "type": "Http",
  "inputs": {
    "uri": "@{parameters('TargetDataverseEnvironment')}api/data/v9.0/systemusers",
    "method": "POST",
    "headers": {
      "Authorization": "Bearer @{body('Get_DV_Token')?['access_token']}",
      "Content-Type": "application/json",
      "Prefer": "return=representation"
    },
    "body": {
      "azureactivedirectoryobjectid": "@items('For_Each_User')?['azureId']",
      "firstname": "@item()?['firstname']",
      "lastname": "@item()?['lastname']",
      "bau_advisercuroid": "@item()?['bau_advisercuroid']",
      "bau_adviser": "@item()?['bau_adviser']",
      "internalemailaddress": "@item()?['internalemailaddress']",
      "businessunitid@odata.bind": "/businessunits(@{parameters('TargetDataverseBusinessUnit')})"
    }
  },
  "runtimeConfiguration": {
    "contentTransfer": {
      "transferMode": "Chunked"
    }
  }
}

Thanks, 
 
Ryan
Categories:
I have the same question (0)

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard