0 votes

Is there a way I can bypass a property pattern for a set of users? For example we have an AP team that creates an account and want to restrict Job Title and Department to a managed list of entries however we have admins that we would like to be able to override that list.

Is there an easy way to do that?

by (290 points)
0

my idea: Setup different actions and create object in two separeted OUs with own property patterns

0

Hello,

In this case, you just need to have multiple property patterns. The scope should only include a single OU per pattern.

0

Thanks everyone, I appreciate the discourse.

I was able to work around this by setting up web interfaces with a separate section and using renamed extensionAttributes and powershell.

Basically, on the web interface, I created a layout for the group of users who need to ovverride the property.

On the back end, I used extensionAttribute1 named "Job Title (Override)" with a condition that if X updates that field, to then run a powershell script that basically runs Set-ADUser. This bypasses the global properties.

image.png

image.png

and on the Web Interface side I created "Organization (Managed)" which is the global property and "Organization" containing "Job Title (Override) to bypass the global properties.

image.png

Hope this helps everyone in the future!

0

Hello,

Pay attention, that your script bypasses all Adaxes functionality. There will be no log records created and business rules will not trigger. If that is not a requirement, you can just use the Update the user action like you have for clearing the extension attribute.

Also, it is not a good idea to use extension attributes this way as they are dedicated to Exchange. You can use one of Adaxes custom attributes (e.g. CustomAttributeText1).

0

Yes, you are correct but Microsoft confirmed in multiple forum posts that it is safe to use these as they are intended for such purposes, but you should know your directory before using them. I agree anyone using this method to use CustomAttributeText1.

I did attempt to use the "Update the user" action as you suggested but it fails as it still checks the Global Property Pattern, the powershell way was the only way and as we have a robust Auditing system, it was not a concern.

0

Hello,

You can keep the script as is, but pay attention that in case users might face issues updating accounts. For example, if a field that has a value not allowed by a property pattern is on a modification form, there will be no way to save the updates without giving the property an allowed value.

0

Yes, that issue is the reason why we asked. We are currently in the processs of an HCM refresh and not all Job Titles are added to the system or formatted properly. We want to allow the supervisor of our Provision team to override the global properties until the title is added instead of waiting on an Admin to be available to update the system.

0

One remark from my end, as I used the native AD commands in past as well and had sometimes issues with them

Use instead the Adaxes commands:

Set-ADMUser -Identity x -Title y -AdaxesService localhost/servername
0

Hello,

This is exactly what they are trying to avoid as it will fail due to setting unallowed values. As such, using AD cmdlets is the only option.

1 Answer

0 votes
by (289k points)

Hello,

Unfortunately, there is no such possibility. Property patterns apply based on the specified scope. There is no way to bypass a property pattern based on the initiator.

Related questions

0 votes
1 answer

Hello, I'm using property pattern for few things, and i just noticed that all my property pattern are applied on user creation (i don't want it to) Is there a way to "disable" property pattern on user creation ?

asked May 6, 2016 by Alexandre (460 points)
0 votes
1 answer

I have a specific computer property pattern for three different types of computers, which live in three different OUs and are in three different business units. I will have ... How do I enforce a property pattern for a specific business unit at creation time?

asked Jul 17, 2023 by bennett.blodinger (60 points)
0 votes
1 answer

I am trying to use a property pattern to prevent email forwarding to accounts in other domains managed by Adaxes. Here is my regex: ^([^,]+,)+(DC=domain,DC=local) ... 't working? Is Adaxes using some other value before resolving the DN? Thanks in advance! Leah

asked May 9, 2019 by loliver (120 points)
0 votes
1 answer

Hi, I created a property pattern for personalTitle but it does not reflect in the selfservice web frontend. I did it the same way for Company and Location both are working. Any ideas why it does not work? kind regards Ingemar

asked Aug 22, 2013 by ijacob (960 points)
0 votes
1 answer

We have a property pattern for a user's job title that lists all the aviable titles. I need to be able to add a new constraint to this within a custom command and from Powershell on a differant computer. Would you be able to help?

asked Sep 23, 2020 by hgletifer (1.3k points)
3,548 questions
3,238 answers
8,232 comments
547,812 users