0 votes

Now that version 2025.1 allows you to type in an external email address in the "Forward to" field, how can you restrict that? We only allow our admins to set forwarders to other user accounts, groups or contacts (pre-created by Exchange admins). But forwarding to random external email addresses is restricted to Exchange admins.

I tried locking it down with a Property Pattern, but that still thinks the "Forward to" field is a DN. And from what I can see, Adaxes isn't even updating the "Forward to" field on the user account, but just goes out to Exchange Online to set the external forwarding.

We have a Hybrid environment with the user accounts being in AD, the mailboxes in Exchange Online, and an Exchange SE server + EntraID Connect to sync the Exchange attributes.

ago by (190 points)

1 Answer

0 votes
ago by (304k points)

Hello Felix,

As a solution, you can use a business rule triggering Before updating a user like below and a PowerShell script. The script will validate the newly set forwarding address and cancel the operation in case the address is not valid. Unfortunately, we do not have anything like that in our repository. image.png

0

ok thanks

This is the code I ended up using:

$Context.ConditionIsMet = $False $forwardTo = $context.GetModifiedPropertyValue("altRecipient") if($forwardto -notlike "guid:{*}"){ $Context.ConditionIsMet = $true }

From what I found in my tests, selecting an object from the directory results in a value like this: guid:{<object-guid>}

.. and putting in an email address would generate something like this: unknown:<someguid>

Related questions

0 votes
1 answer

When configuring web page - under "Object Selection" - you can only choose 1 location (OU) when you select "Allow selecting only AD objects located under" - is there a way to have multiple OUs instead - perhaps using a LDAP filter?

asked Feb 2, 2021 by foleyjm (20 points)
0 votes
1 answer

We're utilizing the custom adaxes attributes for a few parts in our employee onboarding procedure. Among them is a step where we specify what buildings a user will need ... get all the values of "adm-CustomAttributeTextMultiValue1" to be sent out in an email?

asked Aug 9, 2021 by KruzGaffaney (50 points)
0 votes
1 answer

Just recently built a new server, installed 2025.1, and restored configuration from a backup of our other server running 2023.2. I updated the web interface address in ... d6d4f3bd7654 and I'm able to approve/deny from that interface without issue. Any ideas?

asked May 13 by msinger (230 points)
0 votes
1 answer

Would like to know if we can remove the forget password link on Self-service login page or remove the ability for users to reset their password. We only want users to ... be able to change their password but not reset their password if they have forgotten it.

asked Mar 29, 2023 by Vish539 (500 points)
+1 vote
1 answer

Hello, I am having issues browsing a directory now after the new update. It is just blank, nothing to find: HOWEVER, if I browse to a user, then step back ... show any results to choose from: No issues accessing the directory in the administraton console:

asked Mar 31 by Edogstraus00 (570 points)
3,723 questions
3,402 answers
8,603 comments
550,039 users