Reputation: 61
I have to use custom email template so I added a display control in my custom policy, now I have following issues because of this.
When user logs in, mfa page with empty text box appears. I would like it to be auto populated. I followed the steps provided in Populate the email address text box in Azure AD B2C Orchestration but seems like it doesn't work with dispaly control.
How to access/update "extension_mfaByPhoneOrEmail" field using ms graph api. I found one sample for this but it uses some id for "extension_mfaByPhoneOrEmail" which I could not find on azure portal. where I can get this id? "https://graph.microsoft.com/v1.0/me/extensions/{{ExtensionId}}"
Upvotes: 1
Views: 234
Reputation: 2102
You can use InputClaims elements to prepopulate the value of claims to collect from the user on the page. Any InputClaimsTransformations can be defined in the self-asserted technical profile which references this display control. Please refer the document
In the Graph API you will get the extentions attribute value as: extension_[GUID]_[ClaimName]
, To find GUID you can check in the azure portal open ad app registrations -> b2c-extensions-app -> properties -> app id.
Upvotes: 1