Create a Microsoft Entra ID user via API

Starting promptUse this prompt as a starting point to build your workflow.

Build a workflow triggered by a request containing the new user's name, UPN/email, department, and manager. Create the user in Microsoft Entra ID via Microsoft Graph with a temporary password and required attributes. Check the UPN isn't taken, surface Graph errors clearly, and require approval for privileged assignments. Output the created user's object ID and status.

New to Tines?Sign up free for Tines 3B Explore Edition

What this prompt builds

Create a new Entra ID account programmatically with the required attributes.

The problem

Ad-hoc Entra ID account creation in the portal is slow and inconsistent and doesn't scale to repeatable provisioning flows. Required attributes get missed.

Solution and impact

This workflow creates a new Entra ID user via Microsoft Graph with standardized attributes, ready to slot into larger onboarding automations. Account creation becomes consistent and API-driven.