Questions tagged [azure-ad-b2c-custom-policy]

Azure AD B2C custom policies are configuration files for defining Azure AD B2C tenant. They are commonly used for addressing complex scenario that cannot be addressed through user flows.

Sample scenarios https://github.com/azure-ad-b2c/samples/tree/master#sample-scenarios

To provide product feedback, visit the Azure Active Directory B2C Feedback page.

1054 questions
0
votes
1 answer

What is UserJourney/PreserveOriginalAssertion

This element is part of multiple samples, e.g. https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-ropc-policy?tabs=app-reg-ga&pivots=b2c-custom-policy Yet it's not explained anywhere, and it's missing from reference documentation.
0
votes
1 answer

unable to sign in AZURE AD using "Federated account" IssuerAssignedId as sign in Name/email

i have created an account as a multitenant user using the "federated account" creating settings following this: MS documentation for Create Users code: var user = new Microsoft.Graph.User { DisplayName = "John Doe", …
0
votes
1 answer

Azure B2C magic link email customization

I have added the magic link feature in my signin signup flow. I have changed the Restful provider to send email from custom email provider. How do I generate the magic link for Confirm Account to be passed in the template?
Arup Nayak
  • 55
  • 7
0
votes
1 answer

How to generate a certificate signing request (CSR) file and a KeyPairs in Azure ADB2C?

I have a usecase to create a KeyPair within Azure ADB2C, and with these Keypair need to generate a “CSR Certificate file” and share to back team. Where I have gone through couple of references to achieve this scenario but no solution yet. Is there…
0
votes
1 answer

unable to sign in with account created using MS graph API

i have created an AZURE AD user(Local Account) using MS Graph API with following attributes AccountEnabled = true, DisplayName = "Adele Vance", MailNickname = "AdeleV", , …
0
votes
2 answers

Azure AD B2C Self-service password reset showing wrong title

When enabling this new self service password reset, it shows wrong titles on the login page. https://learn.microsoft.com/en-us/azure/active-directory-b2c/add-password-reset-policy?pivots=b2c-custom-policy#self-service-password-reset-recommended It…
Fabio Falci
  • 308
  • 2
  • 7
0
votes
1 answer

Azure AD/B2C Resource Owner Password Flow does not honor the "User Assignment Required" flag

I have a very limited set of users who need to connect to a very limited set of APIs using the resource owner password flow. In order to restrict access to this flow, I intended to set the "User Assignment Required" flag under Enterprise…
Scott McNeany
  • 493
  • 2
  • 9
0
votes
0 answers

Can an Azure AD B2C custom policy set Application Insights operation_id using AzureApplicationInsightsProvider

Is there a way to set the operation_id field - or other top-level fields like session_id, operation_ParentId, etc - in App Insights using AzureApplicationInsightsProvider? Using PartnerClaimType="{property:PropertyName}" only seems to set properties…
Dave D
  • 8,472
  • 4
  • 33
  • 45
0
votes
1 answer

Azure AD B2C Custom UI with SAML relying party

I'm trying to use a SAML relying party and send a custom UI content definition parameter, as disccribed in the docs.…
solidstore
  • 105
  • 1
  • 14
0
votes
0 answers

Azure B2C Custom UI empty div API

I am trying to customize the password reset page in Azure B2C. I followed the documentation of Microsoft: https://learn.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-custom-policy everything looks ok, but after…
Real-One
  • 1
  • 1
0
votes
1 answer

Error creating extension attribute of date datatype in azure b2c

I am trying to create an extension attribute in azure b2c for storing user's dateofBirth using Graph API. Getting below error when trying to use 'date' datatype: Request Body: { "name": "dateOfBirth", "dataType": "date", "targetObjects":…
0
votes
1 answer

How to integrate Okta as IDP using SAML with Azure AD B2C?

I have my Azure AD B2C tenant, where I have an application that is connected with my AD using OpenIdConnect. I've been reading the MS documentation on how to add one IDP that can communicate with my Azure AD B2C tenant trough SAML, for that I've…
0
votes
1 answer

Issue with getting UPN on a federated Azure AD B2C sign-up custom policy flow

If I add Azure AD as an IDP to B2C using a built-in sign-up policy and sign-up with an existing Azure AD user (i.e. federation), the "placeholder" on B2C has a source of "Federated Azure Active Directory". The signed-up user has a UPN. I can't seem…
rbrayb
  • 46,440
  • 34
  • 114
  • 174
0
votes
0 answers

Why Azure B2C removes color property for mask-icon favicon

I am using custom policies and custom html in Azure B2C which is all working well except for the favicon on Safari (only). My head includes the link for safari pinned-tabs
Octopus
  • 661
  • 4
  • 21
0
votes
0 answers

B2C- Log out user after "change sign in name" custom policy is run

I am using the below policy to change email address/ sign in name for a logged in user. Everything works fine. I just need to be able to sign out the user after the email change is complete. I would like the user to login with the new email…
Sharat
  • 21
  • 2