0 votes

Hello,

I followed this tutorial (http://adaxes.com/tutorials_Simplifying ... gUsers.htm) to create service accounts that:
- Cannot change the password
- Password never expires

But, when I create the user the "Password never expires" is correctly set, but "Cannot change the password" is not set on the AD user.

Is this normal?

by (750 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

This is a known issue. The thing is that the User cannot change password Account Option exists, but it is ignored by Microsoft AD. The option is set via native permissions in AD.

To set the User cannot change password option for new users, you need to add one more property to the Property Pattern that you've created. The property name is User Cannot Change Password. You need to set it to True. To do this:

  1. Launch Adaxes Administration Console.
  2. Locate the Property Pattern the you've created following the instructions in the tutorial and select it.
  3. Click Add at the top of the Result Pane (located on the right).
  4. Select the Show all properties option.
  5. Select the User Cannot Change Password property.
  6. Select True in the Default value drop-down list.
  7. Save the Property Pattern.

As to the tutorial, we'll fix it in the nearest future.

0

Thanks, it works great that way

Related questions

0 votes
1 answer

Good Morning, Getting this issue when trying to hide/unhide Exchange Online Mailboxes from the GAL using the Exchange section: These accounts/mailboxes are anchored on prem ... the "Hide from Exchange Lists" section of exchange which was working previously.

asked Jan 7 by curtisa (330 points)
0 votes
1 answer

Hi, I have this Script to check if a condition is met # The condition is met if $Context.ConditionIsMet is set to $True. $Context.ConditionIsMet = $False $inputString = " ... or issue with this match function using in a "if script returns true" condition?

asked Oct 31, 2024 by wintec01 (1.7k points)
0 votes
1 answer

Users when signing into the adaxes portal, MFA keeps saying invalid. I have had to disable MFA for now till we can get this resolved.

asked Jul 18, 2024 by imagee (20 points)
0 votes
0 answers

Hello The "Send mail"-Function is not working if i use the %mail%-Parameter. If i want to send an information like "Your password will expire in 7 Days" via mail but it ... if i put a specified recipient in the "To"-Field the recipient will get the message.

asked Apr 30, 2024 by Baul (130 points)
0 votes
2 answers

I've had a couple custom commands configured since 6/2023 and they've been working just fine up until recently (sometime within the past few weeks or so). Here's a general ... something obvious here. But I can't make sense of why this is suddenly an issue.

asked Mar 20, 2024 by msinger (210 points)
3,638 questions
3,326 answers
8,413 comments
548,846 users