35 C
Dubai
Monday, May 5, 2025
Home Blog Page 88

How to install / Configure Blackberry Enterprise Server 5.0.4 MR2 with Exchange 2013 – Part 2

Download the BesUpdate by Contacting Blackberry Support or  get it from the below link.

I got this update from a Forum

https://www.dropbox.com/s/w6dmjvfqb9reprx/BESUPDATE.zip

 

Reference Link :

http://supportforums.blackberry.com/t5/BlackBerry-Professional-Software/Exchange-2013-KB-Article-Says-Contact-Support/td-p/2254555

 

For this Task – Login as administrator

Open Services.msc.

Stop BlackBerry Dispatcher service

Locate –

C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server

Take a Backup of it.

image

BlackBerryAgent.exe

CalHelper.exe

CalHelperWS.exe

EWS.dll

Now replace the Updated files in the installation location

now Use Trait Tool to Enable Exchange Web services to be used

Open Command Prompt :

Locate :

“C:\Research In Motion\BlackBerry Enterprise Server 5.0.4\bundle0038\tools”
image

Now Restart Bes Server.

Now Activate Blackberry for a User - 

To Verify things are fine .
Locate Command Prompt to below location - C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\Utility>
image
Choose Outlook Profile
image
Add the User you want to Test
image


image

If things fails you Can try adding Mailbox - 
To Verify AD permission
get-mailboxserver | get-ADpermission -user besadmin | Format-List
To ADD AD permission
get-mailboxserver | add-adpermission -user besadmin -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

Smile

 

 

Now things should work Smile

 

 

 

 

 

 

 

 

 

 

How to install / Configure Blackberry Enterprise Server 5.0.4 MR2 with Exchange 2013 – Part 1

Will start this from scratch.Long process . be patient . Go slowly Step by step . you will succeed . lol

Step 1 :

Get a Windows 2012 Server ,  Run Windows Updates , Join in the domain I assume Exchange 2013 is installed in the domain

Step 2 :

Create a mailbox for Besadmin

image

Step3 :

Give Besadmin ViewOnly Organizaion Management Permission using ADUC or Shell

Through Exchange management shell – Run below command

Add-RoleGroupMember "View-Only Organization Management" -Member BesAdmin
or Open ADUC 
Open Active Directory Users and Computers – Add – View-Only Organization Management
image

 

Step 4:

Assign Receive As permission on BesAdmin account

Get-MailboxDatabase | Add-ADPermission -User BesAdmin -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin
image
Step 5:
Now Assign Send-AS permission on a OU where users are going to be
Run this to Get your OU distinguish Name - Get-OrganizationalUnit | fl Dis*
Add-ADPermission -InheritedObjectType User -InheritanceType Descendents -ExtendedRights Send-As -User BesAdmin -Identity "CN=Users,DC=Domain,DC=com"
 
image
 
If you Access Denied – Check below article - 
https://www.azure365pro.com/assigning-send-as-permission-on-a-ou-in-exchange-2013-access-is-denied-insuff_access_rights/
Step 6:
Add impersonation access for EWS 
New-ManagementRoleAssignment -Name BesAdmin -Role:ApplicationImpersonation -User BesAdmin
image
Step 7:
Enable mailboxes you require to process External meeting Requests . Below Command Enables for all mailboxes
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq 'UserMailbox'}| Set-CalendarProcessing -ProcessExternalMeetingMessages $true
image
==================
Also Create a Throttling policy and add to the bes mailbox
New-ThrottlingPolicy BESPolicy -RCAMaxConcurrency Unlimited -EWSMaxConcurrency Unlimited
Set-Mailbox "BESAdmin" -ThrottlingPolicy BESPolicy
image
Step 8:
Open IIS manager of the Client access server – Right click on EWS – Edit Permissions
image
Add – Besadmin – Make sure “Read&Execute,List Folder Contents,Read” are checked
Apply Ok
image
Step 9:
Now Login to BES server as Administrator - 

Start – Run – Lusrmgr.msc

Local users and Groups – Groups – Administrators Group – Add Besadmin as local administrator

image

 

From Now . you do anything on Blackberry Server . Login as DomainName\BESadmin . so that your can over come all permission issues

Step 10:

Login as Besadmin

Start – Local Security Policy

Security Settings – User Rights Assignment – Log on As a Service

Add Besadmin

image

 

Add – Allow Log on locally

image

Step 11:

Login as Domain\Besadmin in BES server

Check this article on how to install it

Now Install SQL 2012 Express

https://www.azure365pro.com/how-to-install-sql-2012-express-on-windows-server-2012/

After installation open  SQL Configuration Manager from start – Enable – Named Pipes / TCP/IP – IN SQL Server Network Configuration

image

 

Now Open Services.msc – Open SQL Server browser Service – Set to automatic

image

 

Now Start SQL Server Browser Service

image

 

Now Reboot or Restart SQL Services for changes to take effect.

Step 12:

Login as Domain\Besadmin .

Download MAPI CDO and Install it . Next- Install – and Finish

http://www.microsoft.com/en-us/download/details.aspx?id=39045

please verify you are downloading the latest version .

version 6.5.8289.0 or later

image

 

image

 

Step 13:

Login as Domain\Besadmin

Now download Blackberry Enterprise Server Trial version from the below link

https://www.blackberry.com/eBES/trialOrder.do?id=15\

Download – Extract

Continue Installation

image

 

Accept

image

 

Choose Next

image

 

Choose next

image

 

Chose Next

image

 

Choose BES server name , Have the Same as host name . so that you don’t go confused

image

 

Choose Continue

image

 

Choose Next

image

 

Choose next

image

 

SRP Lookup by Country

https://www.blackberry.com/SRPAddressLookup/index.do

Step 14 :

Now

Open Registry

  • Log in to the server to which the BlackBerry Enterprise Server software is to be installed using the service account (BESAdmin).
  • Open the Registry Editor: Click Start > Run, type regedit and click OK.
  • Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem.
  • On the left hand side, right-click on Windows Messaging Subsystem, expand New, and select String Value.
  • Enter RPCHTTPProxyMap_BES in the Name field.
  • Double-click the RPCHTTPProxyMap_BES registry value.
  • Type *=https://<FrontEndPoolFQDN> in the value field.
  • Click OK, and then close the Registry Editor.
    image

     

    Open MMC – Add Certificated Snap in – Add the Cert to Trusted Root Container , so that when it query the CAS server , it wont give a Cert Error

    image

     

    Reference link :

    Step 15 :

    A small bug in this step – Enter the DC name – if exchange Server Name Fails. Don’t Check name , Just Click Next

    image

     

    Reference :

    http://supportforums.blackberry.com/t5/BlackBerry-Enterprise-Service-10/BES-5-03-Setup-0x80040115-on-MAPI-config/td-p/1868435

    If the BES setup asks you for the Exchange server and the Exchange account to be used you should not do as requested as it does not work.

    Instead you should enter the GC-server instead of the Exchange server and you should not press the check name button. Then it works even if I don’t have a clue why.

    Step 16 :

    Choose Next

    image

     

    image

     

    image

     

    Now Click On start Services  –

    image

     

     

    Now Will see Upgrading to Latest Version and Testing it in the next Part.

     

     

     

     

     

     

     

     

     

     

How to import a Wildcard SSL Certificate in Exchange 2013

You can place the cert in the appropriate location, Run the below command

Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path "C:\cert\Certfile.pfx" -Encoding byte -ReadCount 0)) |Enable-ExchangeCertificate -Services IIS, POP, IMAP

image

Note : You cannot do this via EAC ( Exchange Admin Center)

You got to configure Imap and pop using Set-Popsettings and Set-Imap Settings

as Wild Card cert doesn’t have a complete FQDN entry

To Configure IMAP and POP

Refer

https://www.azure365pro.com/how-to-enable-and-configure-pop-imap-in-exchange-2013/

Smile

How to Enable and Configure POP-IMAP In Exchange 2013

open Services.msc – Set IMAP and POP services to automatic and start it

Its recommended to stop using POP services and configure only IMAP

image

or Use Powershell

Using PowerShell –

Start-Service MSExchangeIMAP4; Start-Service MSExchangeIMAP4BE
Set-Service MSExchangeIMAP4 -StartupType Automatic; Set-Service MSExchangeIMAP4BE -StartupType Automatic

image

If you are having a wild card certificate make sure you run the below commands. so that POP and IMAP services can connect to this FQDN

To be Run on all CAS Servers

Set-ImapSettings -ExternalConnectionSettings "mail.azure365pro.com:993:SSL","mail.azure365pro.com:143:TLS" -X509CertificateName mail.azure365pro.com
Test-ImapConnectivity –ClientAccessServer Servername -Lightmode -MailboxCredential (Get-Credential)

Also Run


Get-ReceiveConnector "*\client Frontend*" | Set-ReceiveConnector -AdvertiseClientSettings $true -Fqdn mail.azure365pro.com

(if you want clients that connect through the server with FQDN mail.careexchange.in to be able to look up their own SMTP setting.

image

Restart Pop and IMAP services to Take effect.

Restart-Service MSExchangeIMAP4; Restart-Service MSExchangeIMAP4BE

Outlook 2016 Client Settings for IMAP to work.

image

image

image

How to add a loopback adapter in Windows server 2012

Some software load balancers requires a loop back adapter.  so that they can lookup for the VIP (virtual IP) which is listening on the load balancing machine.

Will see how to add that Virtual NIC on to Windows 2012 machine.

Start – Run –  Devmgmt.msc (Device manager)

Start – Add legacy hardware

image

Choose next

image

 

Choose next

image

Choose Network Adapters

image

Choose microsoft – Microsoft KM-Test LoopBack Adpater

image

image

Now Choose Next  _ It installs it.

Now Virtual NIC is ready

image

Smile

Assigning Send-As Permission on a OU in Exchange 2013 – Access is denied – INSUFF_ACCESS_RIGHTS

I had install a BES Server , Which required to assign Send-As on a OU. but it popped with a Error

 

image

 

Active Directory operation failed on CloudDC1.exchangecloud.com.au. This error is not retriable. Additional
information: Access is denied.
Active directory response: 00000005: SecErr: DSID-031521E1, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
+ CategoryInfo          : WriteError: (0:Int32) [Add-ADPermission], ADOperationException
+ FullyQualifiedErrorId : [Server=CLOUDEXCH1,RequestId=f708878a-1736-4169-be6d-aa6743ed8137,TimeStamp=25/11/2013 1
1:00:37 AM] 90534657,Microsoft.Exchange.Management.RecipientTasks.AddADPermission
+ PSComputerName        : cloudexch1.exchangecloud.com.au

 

Solution –

Please Create a Test OU . and  test it.

Open Active Directory Users and Computers

Properties of OU  – Click on Exchange Trusted Subsystems – Give Full Control – Apply OK

image

 

That should solve it .

 

Smile

× How can I help you?