View as Markdown
Microsoft Entra ID icon

Microsoft Entra ID ACTION

Update User

Updates an existing user in Microsoft Entra ID. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Microsoft Entra ID account once, then configure and run Update User from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "microsoft_entra_id-update-user",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    microsoft_entra_id: { authProvisionId: "apn_xxxxxxx" },
    userId: "User",
    displayName: "Display Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update User inputs
Property Type Description
userId User string
Identifier of a user
Required Dynamic
displayName Display Name string
The name to display in the address book for the user.
Optional
mail Email string
The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com.
Optional
mailNickname Mail Nickname string
The mail alias for the user.
Optional
accountEnabled Account Enabled boolean
true if the account is enabled; otherwise, false.
Optional
streetAddress Street Address string
The street address of the user's place of business.
Optional
city City string
The city in which the user is located.
Optional
state State string
The state or province in the user's address.
Optional
postalCode Postal Code string
The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
Optional
country Country string
The country/region in which the user is located; for example, US or UK.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
microsoft_entra_id-update-user
Version
0.0.8
App
Microsoft Entra ID
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes