Get-ReceiveConnector "Anonymous Relay_73" | Add-ADPermission -User 'NT AUTHORITY Anonymous Logon' -ExtendedRights MS-Exch-SMTP-Accept-Any-Recipient

Larbi Messarat 1 Reputation point
2021-08-05T07:40:50.187+00:00

[PS] C:\> Get-ReceiveConnector "Anonymous Relay_73" | Add-ADPermission -User 'NT AUTHORITY Anonymous Logon' -ExtendedRights MS-Exch-SMTP-Accept-Any-Recipient

L'utilisateur ou le groupe "NT AUTHORITY Anonymous Logon" est introuvable. Vérifiez que vous avez correctement tapé le nom.

  • CategoryInfo : InvalidData : (:) [Add-ADPermission], ManagementObjectNotFoundException
  • FullyQualifiedErrorId : [Server=SRV-CAS01,RequestId=57908b3b-5035-4c7f-903f-8cfa751b8f01,TimeStamp=05/08/2021 07:28:15] [FailureCategory=Cmdlet-Manag
    ementObjectNotFoundException] 910F1007,Microsoft.Exchange.Management.RecipientTasks.AddADPermission
  • PSComputerName : srv-cas01.
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management
The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-08-06T01:57:18.773+00:00

    Hi @Larbi Messarat ,

    The error message points out the user or group not found exception.
    I checked the official document, and it should be -User "NT AUTHORITY\ANONYMOUS LOGON"
    Try this:

    Get-ReceiveConnector "Anonymous Relay_73" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"  
    

    Best regards,
    Lou


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.