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

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

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)
0 votes
1 answer

We'll be updating over 14K accounts with data (adding data to a virtual attribute) using a scheduled task but I don't want the updates to trigger Business Rules and flood the Adaxes log with entries. Is there an easy way to prevent this?

asked Apr 12, 2022 by sandramnc (870 points)
0 votes
0 answers

This issue affects only Adaxes versions that use the Exchange Online Management (EXO v3) PowerShell module: Adaxes 2023.2 - all versions Adaxes 2023 - starting from version 3.15. ... . For more details, see how to Register Adaxes as an app in Microsoft Azure.

asked Jun 23, 2023 by Adaxes (560 points)
3,526 questions
3,217 answers
8,197 comments
547,625 users