Link to home
Create AccountLog in
Exchange

Exchange

--

Questions

--

Followers

Top Experts

Avatar of hbsr
hbsr🇺🇸

Set-mailbox error
Exchange 2007 - attempting to run the following command at the shell.  I'm logged into the Exchange Server as an enterprise admin.  Any suggestions?  

[PS] get-mailbox -database "mailserver01\legal a-k" | set-
mailbox -grantsendonbehalfto "user1@xxx.com"

Receiving the following error:
Set-Mailbox : The proxy address "NUMERIC:" is already being used by "xxx.inter
nal/Disabled Accounts/User 2". Please choose another proxy address.

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of ITguy565ITguy565🇺🇸

Please references this site for the proper way to grant sendonbehalf to a mailbox using powershell..

http://www.shudnow.net/2007/08/12/send-on-behalf-and-send-as/

ASKER CERTIFIED SOLUTION
Avatar of hbsrhbsr🇺🇸

ASKER

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of hbsrhbsr🇺🇸

ASKER

I figured this out on my own.

Download ADFind from here: http://www.joeware.net/freetools/

And then run "adfind –root –f proxyaddresses=smtp:xxx@domain.com"

There are also a number of other options here: http://www.msexchange.org/articles/Finding-Duplicate-SMTP-Addresses.html

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of PostmasterPostmaster🇦🇺

I suggest granting send-on-behalf to a Security Group. The members of this group will be the secretaries, and membership can be changed without the need to run powershell commands at all later on.

Avatar of hbsrhbsr🇺🇸

ASKER

Postmaster,

what would be the syntax for granting "send-on-behalf of" to a security group? We have two attorney stores and we'd like to grant SOBO to both stores for all secretaries.  Currently, the only way I've been able to to do this is to create two long scripts as shown below.

Anytime a secretary leaves the firm, I have to manually remove the entry from each.  Same when a new user starts, I must append to the end of each.

get-mailbox -database "mailserver1\legal a-k" | set-mailboxgrantsendonbehalfto user1@xxx.com,user2@xxx.com,user3@xxx.com,@xxx.com,user4@xxx.com, etc

get-mailbox -database "mailserver1\legal l-z" | set-mailboxgrantsendonbehalfto user1@xxx.com,user2@xxx.com,user3@xxx.com,@xxx.com,user4@xxx.com, etc



Exchange

Exchange

--

Questions

--

Followers

Top Experts

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.