How to build signin only policy in B2C custom policies?

Yashwanth Yenugu 116 Reputation points
2020-04-07T11:29:26.847+00:00

There is a signup_signin policy in b2c starter pack, but for my use case signup shouldn't be there. So, is there a way to remove signup from the login UI? or is there any sample signin policy for me to refer to?

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,609 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,286 Reputation points
    2020-04-14T14:36:07.7+00:00

    @Yashwanth Yenugu Removed the signup link without removing forgot your password link by using below settings:

    7367-untitled.png

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,286 Reputation points
    2020-04-07T12:09:31.877+00:00

    @Yashwanth Yenugu There is no Signin only policy file available in the starter pack. However, you can update the DataURI parameter under ContentDefinition ID="api.signuporsignin" tag as highlighted in below snip. This will just present you with option to sign-in using local accounts and you will no longer have Sign-up option.

    7162-untitled.png

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.

    0 comments No comments

  2. rbrayb 21 Reputation points MVP
    2020-04-07T19:48:53.18+00:00

    As per this:

    There is a custom SignUpOrSignin policy but no Signin only policy.

    You can achieve this by setting SignUp to “False”.

    <Item Key=”setting.showSignupLink”>False</Item>

    Refer reference to metadata.

    0 comments No comments