E14 Ticket: RBAC - Add role for Create connector at child domain - V1

 

Version 1

  1. New-SendConnector is not present in the role definition of the current user.

    image

  2. About Send-Connector role is
    http://technet.microsoft.com/en-us/library/dd876913.aspx 

    The Send Connectors management role enables administrators to manage transport Send connectors in an organization.

  3. Find Send Connectors Role
    [PS] C:\Windows\system32>Get-ManagementRole | Sort-Object Name | ft Name

    image


  4. [PS] C:\Windows\system32>
    Get-ManagementRole -Identity "Send Connectors" | fl

    RunspaceId                  : 388383d1-ae70-4f8d-8c00-c07f31dc1594
    RoleEntries                 : {(Microsoft.Exchange.Management.PowerShell.E2010) Set-SendConnector -AddressSpaces -Authe
                                  nticationCredential -Comment -Confirm -ConnectionInactivityTimeOut -Debug -DNSRoutingEnab
                                  led -DomainController -DomainSecureEnabled -Enabled -ErrorAction -ErrorPolicies -ErrorVar
                                  iable -Force -ForceHELO -Fqdn -Identity -IgnoreSTARTTLS -IsCoexistenceConnector -IsScoped
                                  Connector -LinkedReceiveConnector -MaxMessageSize -Name -OutBuffer -OutVariable -Port -Pr
                                  otocolLoggingLevel -RequireOorg -RequireTLS -SmartHostAuthMechanism -SmartHosts -SmtpMaxM
                                  essagesPerConnection -SourceIPAddress -SourceTransportServers -TlsAuthLevel -TlsDomain -U
                                  seExternalDNSServersEnabled -Verbose -WarningAction -WarningVariable -WhatIf, (Microsoft.
                                  Exchange.Management.PowerShell.E2010) New-SendConnector -AddressSpaces -AuthenticationCre
                                  dential -Comment -Confirm -ConnectionInactivityTimeOut -Custom -Debug -DNSRoutingEnabled
                                  -DomainController -DomainSecureEnabled -Enabled -ErrorAction -ErrorPolicies -ErrorVariabl
                                  e -Force -ForceHELO -Fqdn -IgnoreSTARTTLS -Internal -Internet -IsCoexistenceConnector -Is
                                  ScopedConnector -LinkedReceiveConnector -MaxMessageSize -Name -OutBuffer -OutVariable -Pa
                                  rtner -Port -ProtocolLoggingLevel -RequireOorg -RequireTLS -SmartHostAuthMechanism -Smart
                                  Hosts -SmtpMaxMessagesPerConnection -SourceIPAddress -SourceTransportServers -TlsAuthLeve
                                  l -TlsDomain -Usage -UseExternalDNSServersEnabled -Verbose -WarningAction -WarningVariabl
                                  e -WhatIf, (Microsoft.Exchange.Management.PowerShell.E2010) Write-AdminAuditLog -Comment
                                  -Confirm -Debug -DomainController -ErrorAction -ErrorVariable -OutBuffer -OutVariable -Ve
                                  rbose -WarningAction -WarningVariable -WhatIf, (Microsoft.Exchange.Management.PowerShell.
                                  E2010) Remove-SendConnector -Confirm -Debug -DomainController -ErrorAction -ErrorVariable
                                   -Identity -OutBuffer -OutVariable -Verbose -WarningAction -WarningVariable -WhatIf, (Mic
                                  rosoft.Exchange.Management.PowerShell.E2010) Get-TransportServer -Debug -DomainController
                                   -ErrorAction -ErrorVariable -Identity -OutBuffer -OutVariable -Verbose -WarningAction -W
                                  arningVariable, (Microsoft.Exchange.Management.PowerShell.E2010) Get-SendConnector -Debug
                                   -DomainController -ErrorAction -ErrorVariable -Identity -OutBuffer -OutVariable -Verbose
                                   -WarningAction -WarningVariable, (Microsoft.Exchange.Management.PowerShell.E2010) Get-Re
                                  ceiveConnector -Debug -DomainController -ErrorAction -ErrorVariable -Identity -OutBuffer
                                  -OutVariable -Server -Verbose -WarningAction -WarningVariable, (Microsoft.Exchange.Manage
                                  ment.PowerShell.E2010) Get-ExchangeServer -Debug -Domain -DomainController -ErrorAction -
                                  ErrorVariable -Identity -OutBuffer -OutVariable -Status -Verbose -WarningAction -WarningV
                                  ariable, (Microsoft.Exchange.Management.PowerShell.E2010) Get-DomainController -Credentia
                                  l -Debug -DomainName -ErrorAction -ErrorVariable -Forest -GlobalCatalog -OutBuffer -OutVa
                                  riable -Verbose -WarningAction -WarningVariable}
    RoleType                    : SendConnectors
    ImplicitRecipientReadScope  : Organization
    ImplicitRecipientWriteScope : Organization
    ImplicitConfigReadScope     : OrganizationConfig
    ImplicitConfigWriteScope    : OrganizationConfig
    IsRootRole                  : True
    IsEndUserRole               : False
    MailboxPlanIndex            :
    Description                 : This role enables administrators to manage transport Send connectors in an organization.
    IsDeprecated                : False
    AdminDisplayName            :
    ExchangeVersion             : 0.12 (14.0.451.0)
    Name                        : Send Connectors
    DistinguishedName           : CN=Send Connectors,CN=Roles,CN=RBAC,CN=MSFT,CN=Microsoft Exchange,CN=Services,CN=Configur
                                  ation,DC=corp,DC=com
    Identity                    : Send Connectors
    Guid                        : b000eb8b-052e-4cba-9f19-fe0fb2b7aa36
    ObjectCategory              : corp.com/Configuration/Schema/ms-Exch-Role
    ObjectClass                 : {top, msExchRole}
    WhenChanged                 : 4/30/2012 3:19:02 PM
    WhenCreated                 : 10/12/2009 3:58:26 PM
    WhenChangedUTC              : 4/30/2012 7:19:02 AM
    WhenCreatedUTC              : 10/12/2009 7:58:26 AM
    OrganizationId              :
    OriginatingServer           : BQTDC01.MSFT.corp.com
    IsValid                     : True



  5. Add role "Send-Connectors" to Role Group “BQC E14 Copy of Server Management @BQC_E14_Servers”

    [PS] C:\Windows\system32>New-ManagementRoleAssignment -SecurityGroup "BQC E14 Copy of Server Management @BQC_E14_Servers
    " -Role "Send Connectors"


  6. After that,

    [PS] C:\>Get-RoleGroup -Identity "BQC E14 Copy of Server Management @BQC_E14_Servers" -DomainController rdc02.corp.com | fl

    image

Comments

Popular posts from this blog

E15 CU3–Update Failed–AD replicated Exceeded the tombstone lifetime.

202301 - Exchange onpreme - PowerShell Serialization Payload Signing

E14–Bulk Create Mail Contact & Set-Contact