0 votes

How can I add a proxy address to a user account using addaxes and a custom command or business rule? I have tried to use a powershell script to do it but since the active directory module uses a later version of PowerShell the script fails within addaxes. I did look at using set-admuser but it didn't look like it would work either? Below is the script I was using.

Import-Module ActiveDirectory
$User = "%SamAccountname%"
get-aduser $user | set-aduser -add @{ProxyAddress=sip:"%userPrincipalName%"}


by (150 points)

Ok, I was over thinking this a bit. instead of using a script I just updated the account by using modify the account and using the "email proxy address". I was looking for proxy address like it is in AD and didn't realize that addaxes added email to it.


Thats the only solution to this issue?

1 Answer

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


That's the recommended one. It is the fastest and the safest approach. We recommend using scripts only when modifications are not possible or very hard to achieve with the help of built-in actions. For example, if there was complicated logic behind selecting which proxy address to add, then it would be more efficient to use scripts. Here's an example of a case when you won't do without scripts: Generate unique primary SMTP address.

Related questions

0 votes
0 answers

This issue affects only Adaxes versions that use the Exchange Online Management (EXO v3) PowerShell module: Adaxes 2023.2 - all versions Adaxes 2023 - starting from version 3.15. ... . For more details, see how to Register Adaxes as an app in Microsoft Azure.

asked Jun 23, 2023 by Adaxes (550 points)
0 votes
0 answers

We are looking for a way to setup a "rename user" in the web interface that also changes the proxy adress. Our emails always include names so they always get changed on ... smtp) and the new one to (SMTP) ? smtp:old.email@domain.com SMTP:new.email@domain.com

asked Dec 22, 2021 by silicondt (60 points)
0 votes
0 answers

Hi Again, We have office 365 that is setup through the cloud service portion. Unfortunately when we setup a new user including the email address, it doesn't ... need to do some powershell scripting to populate the email address automatically? Thanks, PWReset

asked May 9, 2017 by PasswordReset (70 points)
0 votes
1 answer

Good afternoon, Is there a script for adding a user to an already existing Office 365 Shared Mailbox? I want to add this script onto the onboarding rules I have added already.

asked May 7 by ocanizales (60 points)
0 votes
1 answer

Hello, I am attempting to configure a business rule that adjusts an adaxes custom property of a user, upon that user being added/removed from a group. I cannot seem to ... (like username, office, description, email, etc.) but not so much on custom attributes.

asked Jul 14, 2023 by NKB#2772 (70 points)
3,383 questions
3,082 answers
545,476 users