Azure B2C custom policy pass input claim value from REST API

Nijo Joseph Raju 141 Reputation points MVP
2020-08-06T18:14:31.527+00:00

Hi All,

I am new to B2C and AD, please excuse if this is a lame question.

I am calling a REST API to create a record in the third-party system during user signup using custom policy. This part works fine without any issue and I am getting the record ID as output claim. Now I need to to set this ID in a string attribute the AD user record. How can I achieve this?

I understand that REST API call happens before user creation in the AD, so I have the ID when the user record is created in AD.

Many thanks

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,851 questions
0 comments No comments
{count} votes

Accepted answer
  1. 2020-08-06T18:44:21.243+00:00

    You have to declare the claim in a PersistedClaim element of the Azure AD technical profile (usually used as a validation technical profile) being called by your REST API. E.G. AAD-UserWriteProfileUsingObjectId

    ---
    Please let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.