• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

send-as

i am trying to use this code. the group name is wellness and the user is john doe. how should it llok
   

add-adpermission groupname -users persontosendfrom -extendedrights send-as

Open in new window

0
gatewayken
Asked:
gatewayken
  • 5
  • 4
1 Solution
 
blahphishCommented:
I believe like this:

Add-ADPermission "John Doe" -User "Domain\Wellness" -Extendedrights "Send As"
0
 
gatewaykenAuthor Commented:
do i use the quotations?
0
 
blahphishCommented:
0
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 
gatewaykenAuthor Commented:
i am still getting the error

Add-ADPermission : A parameter cannot be found that matches parameter name '=Ex
tendedrights'.
At line:1 char:17
+ Add-ADPermission  <<<< "Christine Jochum" -User "Gateway\Wellness" =Extendedr
ights "Send As"
0
 
blahphishCommented:
Did you do an equal sign instead of a dash or is that just part of the error message?

Add-ADPermission "Christine Jochum" -User "Gateway\Wellness" -Extendedrights "Send As"
0
 
gatewaykenAuthor Commented:

         Welcome to the Exchange Management Shell!

 Full list of cmdlets:          get-command
 Only Exchange cmdlets:         get-excommand
 Cmdlets for a specific role:   get-help -role *UM* or *Mailbox*
 Get general help:              help
 Get help for a cmdlet:         help <cmdlet-name> or <cmdlet-name> -?
 Show quick reference guide:    quickref
 Exchange team blog:            get-exblog
 Show full output for a cmd:    <cmd> | format-list

Tip of the day #8:

The tilde character (~) should be familiar to Unix users. It represents the shor
tcut to your root directory. To see what it's evaluated to by default, type:

 Dir ~

You can use it as a useful shortcut:

 Cp SomeFile "~\My Documents"

[PS] C:\Windows\System32>Add-ADPermission "Christine Jochum" -User "Gateway\Well
ness" -Extendedrights "Send As"
Add-ADPermission : Active Directory operation failed on gwi-ex04.gateway.com. T
his error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-03152492, problem 4003 (INSUF
F_ACCESS_RIGHTS), data 0
At line:1 char:17
+ Add-ADPermission  <<<< "Christine Jochum" -User "Gateway\Wellness" -Extendedr
ights "Send As"
[PS] C:\Windows\System32>
0
 
blahphishCommented:
you will need to perform these tasks using an account that has been delegated the Exchange Organization Administrator role.

Look under Organization Configuration under exchange administrators and make sure the user account you're trying to do this from is in there as Exchange Org Administrator role.
0
 
gatewaykenAuthor Commented:
thank you for working with me on this. i don't want the user to have any more rights than they already have. i just need her to be able to send messages from the wellness account and be able to recieve the mail that wellness gets. if there is another way, better way or if this is the only way, please let me know my options.
0
 
blahphishCommented:
The permissions I'm refering to are in regards to your user account that you are trying to perform this action from. Your account needs to be the Exchange Org admin, which has nothing to do with permissions for the users account.
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now