set default value into boolean attribtue MIM

Abdelrahman khalil 170 Reputation points
2023-02-23T14:05:25.8+00:00

Hello Guys,

I've created a Boolean attribute in MIM portal, and I want to set this value of this attribute into a default value unless it was taken from HR.

tried several workflows of update resource and convert to Boolean function and still nothing.

any HeadsUp!

Microsoft Security | Microsoft Identity Manager
{count} votes

1 answer

Sort by: Most helpful
  1. Sanan Jerjeez 0 Reputation points
    2023-06-02T07:33:21.76+00:00

    Hello,

    If you have created a Boolean attribute in the Microsoft Identity Manager (MIM) portal and want to set a default value for it unless it has been populated from HR, you can try the following steps:

    Open the MIM portal and navigate to the attribute you created.

    Check if there is a "Default Value" option available for the attribute. If so, enter the desired default value for the Boolean attribute. This value will be assigned to the attribute unless it is overridden by HR data.

    Next, you need to ensure that the attribute value is only overwritten if it has not been populated from HR. You can achieve this by creating a workflow in MIM that checks if the HR attribute is empty before updating the Boolean attribute.

    In the workflow, add an "Update Resource" activity to update the Boolean attribute. Configure the activity to set the default value for the attribute.

    To determine if the HR attribute is empty, you can use a condition or a "Convert to Boolean" function in the workflow. If the HR attribute is empty, proceed with updating the Boolean attribute using the default value.

    Once you have set up the workflow, test it by creating a new user or modifying an existing user's attributes to trigger the workflow. Verify that the Boolean attribute is set to the default value unless it has been populated from HR.

    If you have already tried these steps and they haven't worked, please provide more details about the workflows and functions you have used so that I can assist you further.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.