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%"}

Thanks!

by (150 points)
–1

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.

0

Thats the only solution to this issue?

1 Answer

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

Hello,

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

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)
0 votes
1 answer

We just busted our licence limit of 400, but we are only 320 employees. All the extras are either service accounts, external contractors accounts or old user accounts ... is reinstated on the 'managed accounts' list? Thank you for the guidance, Louis

asked Apr 11, 2022 by lw.fa (130 points)
3,346 questions
3,047 answers
7,782 comments
544,984 users