# Workflows to update ENtraID ObjectGuid into the Okta Microsoft External Authentication Method (EAM) Application (Workflows template)

**URL:** <https://devforum.okta.com/t/workflows-to-update-entraid-objectguid-into-the-okta-microsoft-external-authentication-method-eam-application-workflows-template/35169>\
**Category:** Templates\
**Created:** [March 25, 2026, 5:23pm UTC](https://devforum.okta.com/t/workflows-to-update-entraid-objectguid-into-the-okta-microsoft-external-authentication-method-eam-application-workflows-template/35169 "2026-03-25T17:23:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mistermik1](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mistermik1](https://devforum.okta.com/u/mistermik1)\
**Post date:** [March 25, 2026, 5:23pm UTC](https://devforum.okta.com/t/workflows-to-update-entraid-objectguid-into-the-okta-microsoft-external-authentication-method-eam-application-workflows-template/35169/1 "2026-03-25T17:23:35Z")

</div>

[associateEntraidObjectguidIntoOktaUd.flow](https://devforum.okta.com/uploads/short-url/jKOKien0YedAYSkH2TYaU6PqYVk.flow) (30.2 KB)

i everyone,

I ran into an issue while trying to update the **Microsoft User ID** (`microsoftUserId`) on an app assignment using Okta Workflows, following the official documentation.

### ❌ Issue

When using a **Compose** card to build the payload like this:

```auto
{
  "microsoftUserId": "ObjectID"
}

```

and passing that into **Update Application Profile for Assigned User** , the call fails with:

```auto
Api validation failed: assignment
Microsoft User ID must be a valid UUID

```

Even though the value being passed is a valid GUID (from Entra ID Object ID).

### ✅ Root Cause

The Workflows card already provides a **generated field for `Microsoft User ID`** , so it expects a **raw string value** , not a JSON object.

Using a Compose card wraps/transforms the value, causing validation to fail.

### ✅ Fix

Pass the Entra Object ID **directly into the “Microsoft User ID” field** in the card:

- No Compose

- No JSON wrapper

- Just the GUID string (e.g. `33dabae1-0197-4df8-bb0c-6c19cc70b69b`)

- Attached a copy of the flow.

Thank you.

_Michele_

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/d/d2ba223497bfbd31db8b29c2c5ba63f26a6d7097.png)

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/9/9096a22bbfe6e1dbed14230fa089f41300ca32cd.png)

---

_[View the full topic](https://devforum.okta.com/t/workflows-to-update-entraid-objectguid-into-the-okta-microsoft-external-authentication-method-eam-application-workflows-template/35169)._
