0 votes

We have users with a value of a space for their mobile number and telephone number. I would like to figure out who these users are and null the value. Or if the value contains a number leave it alone. if it does not have a number then null the value.

by (40 points)

1 Answer

0 votes
by (3.6k points)

Hello,

To do this, you can use a scheduled task for the User object type, configured to run only once. For example: image.png

The mobile and telephone numbers should be cleared with the Update the user actions in the scheduled task: image.png To clear the numbers only if the current value is a space, you need to use the If <property> <relation> <value> condition and specify If - Telephone Number - equals -   in the condition parameters like so: image.png Alternatively, you can select If - Telephone Number - matches regexp and specify a regular expression which the property values should match to become cleared.

The scheduled task should be assigned over All objects or over Organizational Units / domains where you would like to look for users with spaces in phone numbers. For more details about creating scheduled tasks, have a look at this tutorial.

Related questions

0 votes
1 answer

Greetings. When I create the parameters to make a business rule that looks for users whose Email Proxy Adresses does not contain 'SMTP:%userPrincipalName%', it still generates profiles ... and primary SMTP address don't match. Version is 2023 How rule is set

asked Dec 19, 2022 by MShep (80 points)
0 votes
1 answer

Hello All, I would like to update the property "Home Directory" from it's current value, to a new value. Right now it's referencing %username% and I would like to ... need. I just need this value generated when the user is created. I appreciate any help.

asked 5 days ago by SteveCDSAZ (20 points)
0 votes
1 answer

We have a 3rd party vendor that we are able to add users based on AD security groups. What I need to do is set a parameter for the number of available licenses and whenever ... the group is 495 I would like an email to trigger telling me to add more licenses.

asked Oct 12, 2022 by A_Pastor (70 points)
0 votes
1 answer

When i want to register a new Managed Domain, i get an error: Unavailable Domain. An error occured when connectiong to domain '...'. The Server is not operational.

asked Mar 19 by IDKOM (40 points)
0 votes
1 answer

Will it use 1 license for an Active Directory user and his azure account or 2 licenses?

asked Nov 7, 2023 by johanpr (120 points)
3,699 questions
3,383 answers
8,549 comments
549,745 users