MIM make attribute required before user creation.

Abdelrahman khalil 165 Reputation points
2023-02-07T12:49:59.8433333+00:00

hello guys

I need to have the attribute employee type in user creation under the work info tab to be mandatory for selection before the user created in mim portal.

meaning if the user click submit before the employee type is selected the submit should not proceed.

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
610 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sylvain Clb 936 Reputation points
    2023-02-14T08:56:55.5466667+00:00

    Hello Khalil,

    To achieve that, you should update the RCDC for user creation. You have the full documentation here: https://learn.microsoft.com/en-us/microsoft-identity-manager/reference/rcd-configuration-xml-reference

    You should add/update the Property Required in the Control for EmployeeType

    Here is an example:

    <my:Control my:Name="EmployeeType" my:TypeName="UocTextBox" my:Caption="{Binding Source=schema, Path=EmployeeType.DisplayName}" my:Description="{Binding Source=schema, Path=EmployeeType.Description}">
    
            <my:Properties>
    
              <my:Property my:Name="Required" my:Value="True"/>
    
              <my:Property my:Name="Columns" my:Value="34"/>
    
              <my:Property my:Name="MaxLength" my:Value="64"/>
    
              <my:Property my:Name="Text" my:Value="{Binding Source=object, Path=EmployeeType, Mode=TwoWay}"/>
    
            </my:Properties>
    
          </my:Control>
    
    

    BR, Sylvain

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful