0 votes

Hi guys,

I've configured a button that copy a "Template" contact object. The Template object defined in this button is not member of any distribution group, but I want to be able to put this new copy of the object in a group. The button is working when I'm not adding the contact in any group and I'm able to do this action when the creation process is done. I'm facing a weird issue and I dont know where to look at. Here is the message I have when I tried to add the contact in a group at the same time it is supposed to copy the contact:

Can not perform operation on a secondary link (Server: my domain name)

I already tried to allow full control on any object on the domain in the adaxes security settings but it's still not working. Any clues? Thanks.

by (40 points)
0

Hello,

How are you adding the new contact to the group? Do you use a Business Rule for this purpose or something else?

0

It's by an action button in the web interface customization. The action is copying a user, to create a new one. In the forms of this action I permit the "member of" changes.

0

Is it possible that this is because I tried to add a field "member of" in a copy of a user that isn't already been created? Like I saw in another thread for the creation of a user you cannot specified the member of properties until the creation process of the users have been done. So in my case, it is really similar exept that this is not the same error at the end because I'm using the action "copy" instead of "create". I think that I'll simply review my structure. One else question come in my mind. Is it already a solved issue or maybe it would be great to add this to a next version, but it would be great to get a warning or a message in the customization of the web page forms that should say "you cannot add "membre of" properties in a create forms. So it would be impossible to have this issue that is pretty simple to understand but also easy to fall in.

1 Answer

0 votes
by (216k points)

Hello,

That's not possible because when you are adding a member to a group, you don't modify the member. Instead, you modify the Member property of the group by adding the new member's Distinguished Name (DN) to the property. The Member Of property is just a backlink to all the Member properties of all the groups that an object is a member of. Since at the time a new user is created (from scratch or by copying another user), the new user is not yet an actual object in your AD, it doesn't yet have any DN, so there's nothing to store in the Member property of the group.

As a workaround, you can add a simple text field that allows users to input the names of all the groups that the user should be added to. It won't be possible to browse for the groups or select them in AD, but if your operators know the names of the groups the user should be added to, they can just input the names as a comma-separated list. Then, when a user gets created, a Business Rule triggered after creating a user will add the new user to the groups specified in the text field.

but it would be great to get a warning or a message in the customization of the web page forms that should say "you cannot add "membre of" properties in a create forms

Thanks for the suggestion, we'll think on that.

Related questions

0 votes
1 answer

Dear Support, is it possible to "manually" create an object of type "device"? We would like to sync devices (mobile devices enrolled in InTune) assigned to user in AAD to ... know that it can be syncronized by connected, but it's not done in our domain.

asked Jul 16, 2020 by Dmytro.Rudyi (920 points)
0 votes
1 answer

Hello, We have hybrid setup with Azure AD sync. Sometimes when creating a user, we face below warning where in user is just created on-prem and not on o365. This is the ... happens after couple of user creations. Please let me know if there is any fix. Thanks!

asked Feb 3, 2021 by sarang.raval (20 points)
0 votes
0 answers

I have been getting the following error when running the built in user creation script. This has worked fine up until about 2 months ago. As you can see Adaxes sees my ... error. The account that I am using has the correct permissions to Exchange as well.

asked Dec 9, 2020 by joshua.velez (20 points)
0 votes
1 answer

Hi all, I want to create an external Username (username-ext). Loginname is the same as the initials. Changing the intiakls -> intials-ext ... CommandPipeline.Actions.ActionBase.Execute(ICommand command) --- Ende der internen Ausnahmestapelüberwachung ---

asked Jun 13, 2016 by massimo.ibba (450 points)
0 votes
1 answer

I created a new interface...on the Home Page Action, it only has new user. after the fields are filled out, I get "name is not specified for the new object". Please advise.

asked Oct 18, 2013 by MeliOnTheJob (1.7k points)
3,342 questions
3,043 answers
7,766 comments
544,933 users