question

YashwanthYenugu-6438 avatar image
0 Votes"
YashwanthYenugu-6438 asked ·

How to skip self-asserted page

B2C is throwing validation error if I remove step 4 of user journey, but I want to skip showing this page for first time logged in users.

     <OrchestrationStep Order="4" Type="ClaimsExchange">
       <Preconditions>
         <Precondition Type="ClaimsExist" ExecuteActionsIf="true">
           <Value>objectId</Value>
           <Action>SkipThisOrchestrationStep</Action>
         </Precondition>
       </Preconditions>
       <ClaimsExchanges>
         <ClaimsExchange Id="SelfAsserted-Social" TechnicalProfileReferenceId="SelfAsserted-Social" />
       </ClaimsExchanges>
     </OrchestrationStep>
azure-ad-b2c
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

amanpreetsingh-msft avatar image
1 Vote"
amanpreetsingh-msft answered ·

@YashwanthYenugu-6438 Do not remove OrchestrationStep 4, just change ExecuteActionsIf="true" to "false".


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

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PedroMiguelGonalves-0314 avatar image
0 Votes"
PedroMiguelGonalves-0314 answered ·

When remove step 4, you need reorder nexts steps 5->4, 6->5


Old:


7862-bemlzj1sao.png


New:
7804-wlktznuapl.png



bemlzj1sao.png (51.1 KiB)
wlktznuapl.png (37.3 KiB)
· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.