0 votes

Trying to create a new group and getting the following error:

"The name reference is invalid. (Server: example.com)"

I've created groups before...the problem seems to have just started today.

I'm logged in as a user with a Security Role of Super Manager. The account used by the Adaxes service is a member of the Domain Admins group so Active Directory permissions shouldn't be an issue. I am able to create a User object, so the problem seems limited to just creating a new Group object.

It has me puzzled so I'm looking for some direction...

by (320 points)
0

Hello,

It looks like upon creation of a group you are trying to set a certain property that has the DN syntax, but the value that you set does not comply with all the requirements for DNs that the property accepts. For example, you can have a Business Rule triggered after creating a group, that can add some objects to a new group, and not all of those objects are from the same forest as the new group itself.

To troubleshoot the issue, first of all, how do you create the groups? Do you create them manually or via import, for example? Do you use the Administration Console or the Web Interface for this purpose? Can you also post here or send to our support e-mail (support[at]adaxes.com) a screenshot of the error that you get?

1 Answer

0 votes
by (320 points)

I found the error on our part and was able to resolve the issue.

We're using a Property Pattern for groups and one of the properties we were populating with a default value was the Managed By field. The object we were including by default in the Managed By field was moved to a different OU which looks to have caused the issue. Updating the Property Pattern with the correct location for the object solved the issue.

Thanks for your assistance.

Related questions

0 votes
1 answer

I've got the following script as part of a larger piece where param-members is an AD Object picker list seperated by a ' ; ' currently: New-DistributionGroup -Name ... or convert that to username but I'm struggling to achieve that with multiple Users selected

asked Jan 27, 2020 by richarddewis (260 points)
0 votes
1 answer

Hello, I am trying to figure out how to create a scheduled task via PowerShell. I've been referencing the SDK, mostly pulling script examples straight out of it. After following the steps on ... ==================> # Save the Scheduled Task $task.SetInfo()

asked Feb 23, 2015 by DFassett (710 points)
0 votes
1 answer

I've got the following script so far using the SDK but running into an error: You cannot call a method on a null-valued expression. At line:1 char:1 + ... .BindToObjectByDN("$object.SearchResult.AdsPath.DN") $Context.Items.Add($item, $columnValues) } } } }

asked May 19, 2021 by richarddewis (260 points)
0 votes
1 answer

How can I create a script that does these things For internal audit. objective Even removing all groups of a disconnected user, we will still know which groups the ... in the created group (audit)-sAMAccountName-access add the (user)-sAMAccountName in members

asked Jul 2, 2022 by alancardoso (40 points)
0 votes
1 answer

Hi When reading the REST API documentation it does not mention working directly against Azure AD and Exchange Online. Will this be added? Thanks /Peter Sonander

asked Jan 26, 2023 by Sonander (40 points)
3,326 questions
3,026 answers
7,727 comments
544,678 users