Archive

Archive for the ‘Exchange’ Category

How to perform a PST migration to Office 365 | Uploading PST files

March 13, 2017 1 comment

You will find overview of importing PST files and SharePoint data to Office 365 from below URL,

https://support.office.com/en-us/article/Overview-of-importing-PST-files-and-SharePoint-data-to-Office-365-ba688e0a-0fcb-4bd7-8e57-2b669564ea84?ui=en-US&rs=en-US&ad=US

According to the above article, it has mentioned various methods to transfer data to the cloud.

In my article I will show you how to perform the PST migration using the Admin portal,

As the first step, you need to add the admin user/s to the import and export group on Exchange Admin Center to elevate he/them to perform import process.

image

 

If you haven’t created the RBAC role for Mailbox Import Export yet follow this article to get it created before you proceed to the next step.

Initial work to be completed for PST migration

Go to Office 365 Portal –> Active Users –> Data Migration

image

 

Select upload PST files which will take you to the Wizard,

image

 

Once you create the new job, Upload file over the network interface will appear,

image

 

Click show SAS URL, once it is appeared save it in to a Notepad

image

 

Install Azure AZ Copy tool to the default location (Recommended)

image

 

 

Upload the PST files to the temporary storage

Open the command prompt with elevated privileges and go to the directory where you have installed the AzCopy.exe tool in Step 1. If you installed the tool in the default location, go to %ProgramFiles(x86)%\Microsoft SDKs\Azure\AzCopy.

Run below commands to upload PST’s to the cloud,

AzCopy.exe /Source:<Location of PST files> /Dest:<SAS URL> /V:<Log file location>

 

Source: Location of the PST files save locally.

Dest: SAS URL which you have saved during Upload File Over the Network.

V: Specify the log file location on the server.

 

image

 

image

 

How to view the list of the PST files uploaded to Office 365

This is and optional step and you may install Microsoft Azure Storage Explorer to view the uploaded PST files to the temp storage on Azure.

 

image

 

image

 

Select Use a SAS URL and paste the SAS URL

image

 

image

 

Once the above steps are completed you will grant access to the Ingestiondata tab where you can see all the uploaded PST’s

image

 

Create the PST Import mapping file

Now it is time to merge those PST’s to the Exchange mailboxes. You may access Security and Compliance tab and click on Data Governance section. After that click on import to create a PST import job.

image

 

You have already uploaded the PST files to the temp Azure storage and you can safely tick both I’m done updating my files and I have access to the mapping file boxes. Then hit Next.

 

image

 

Provide a suitable name for the import.

image

 

It is time to create the CSV file to include information related to the PST file and email addresses which we want to merge those file.

You may download the CSV file from here.

image

 

Once the CSV is uploaded you need to validate for any errors.

image

 

Once it is validated you can safely close the wizard

image

 

Finally once you go to Import data to Office 365 page, it is showing the pending tasks.

 

image

 

Ok everything is done we can check the mailbox and see all the emails are there which were on my old PST file. Here we go  I have got everything!!!

 

image

Categories: Exchange

Create RBAC Role for MBX Import and Export in Office 365 Portal


Sometimes it is important to have permissions to export emails to a PST file incase, one of the employees leave or email box is exceeding the capacity than the assigned size. Additionally, sometimes admin may needs to work on importing PST files to the on premises Exchange or office 365.

In order to perform these activities, admin need to have Exchange mailbox import and Export privilege. In the below article I have outlined how the admin can create a RBAC role by assigning mailbox Import Export privilege.

Let’s create the Role!!

Access your office 365 Portal –> Exchange Admin Center –> Permission –> Admin Role and click the + mark

image

Fill the below form accordingly and assign the Mailbox Import Export permission under Roles section. Finally, assign the user which you want to assign as the Mailbox Import Export admin and click save.

 

image

 

I hope this article would helpful for you guys…

Categories: Exchange

Create ActiveSync Exchange Profile with one step (iOS | Android | Windows)


images

Once you setup your Exchange environment some users may complain that they have to follow more than one step to configure their mobile email profile using ActiveSync. I will demonstrate hoe to get rid of these additional steps by creating a Exchange email profile in my iOS device.

 

image1

 

Usually once you enter your Email Address and Password it will bring you to another page to enter the Server Address, Domain Name and ect details to complete the process. 

 

image

 

What if you could complete the profile creation without this hustle and if you could create the profile by only entering your email address and password. You may say “Oh Yeah” Smile

 

Ok lets me guide you, which changes need to be done in Microsoft Active Directory side to get rid of this hustle,

1. Login to Active Directory Domain Controller

2. Go to Active Directory Domain and Trust

3. Add your public domain name as an Alternative UPN Suffix

 

image 

 

4. Go to Active Directory Users and Computers

5. Go to properties of a single user and change the User Logon Domain to Public Domain instead of your local Domain.

 

image

Note: You can use ADModify tool to facilitate bulk user attribute modifications 

 

Now let’s try to configure the Exchange Profile (ActiveSync) again,

 

image

 

Once you enter “Next” you will be redirected to below page without asking any Server name or Domain Name,

 

image

 

I hope this article would helpful for you guys, Happy learning.

Categories: Exchange

Get certificate errors when configuring ActiveSync profiles for Android and iOS devices


Microsoft_Exchange_2016

I came across with above issue when I was migrating one of my clients Exchange Server 2010 to 2016. All the CAS servers are load balanced with KEMP Load Balancer and virtual directories are load balanced with Layer 7. As the initial step I did install the root certificate which I downloaded from Comodo SSL website.

image

Issue:

Get certificate errors when configuring ActiveSync profiles for Android and iOS devices.

 

Solution:

The only solution for this issue is to install all the intermediate certificates to KEMP load balancer.

 

image

 

I hope this article would help for you guys Smile!!!!

Categories: Exchange

Outlook client stays disconnected once the mailbox migrated to Exchange 2016 from 2010 and error to configure outlook clients with migrated mailboxes

February 1, 2016 Leave a comment

Microsoft_Exchange_2016

 

Hello folks,

Last week I was doing an Exchange migration from 2010 to 2016 and had to came  across with this issue, and this forced me to go through many KB articles to sort out it because of that I thought to share this valuable information with you guys to make your life little bit easier. Smile

According to Microsoft this is a known issue. It occurs because when a mailbox is moved to Exchange 2016 from Exchange 2010, the mailbox itself still has a cache entry that points the client back to the 2010 server. According to Microsoft, this cache expires after an "undetermined" time interval for Exchange 2013 and 2016.

Solution

Restart IIS service (This will affect all the Exchange services attached to IIS virtual directory so make sure before you carry out the task)

Or

Recycle below application pools,

MSExchangeAutodiscoverAppPool

MSExchangeRpcProxyAppPool

 

Information Sources : https://social.technet.microsoft.com/Forums/office/en-US/8aaa494c-0dc1-48f1-b795-1d45995af5e2/known-issue-outlook-stays-disconnected-after-migrating-mailbox-from-exchange-2010-to-exchange-2013?forum=exchangesvrclients

Categories: Exchange

Install Exchange Server 2016 step by step guide


image

As the first step let’s prepare the Active Directory for Exchange server 2016 installation.

 

1. Update the Active Directory Schema

Some organizations are having different procedures and policies to upgrade the schema on Active Directory server prior to an Exchange server installations. The Active Directory Schema update will automatically apply when you run Exchange Server 2016 setup on the first server in organization setup.

Requirements need to be fulfilled prior to Schema Upgrade;

  • .NET Framework 4.5.2 need to be installed
  • Unified Communications Managed API 4.0 Runtime
  • The RSAT-ADDS feature need to be installed – C:\> Install-WindowsFeature RSAT-ADDS

image

 

  • The forest functional level must be at least Windows Server 2008

image

 

Note: You must be a member of Enterprise and Schema Admins groups in order to run Schema update and the Active Directory preparation

  • The server you’re running the schema update from must be located in the same Active          Directory site as the Schema Master. You may identify Schema Master with below PScmd

image

 

Ok…. Lets extract Exchange Server 2016 Setup files in to a folder and navigate to the location where the Exchange setup files were extracted using the cmd prompt.

C:\Exchange_Setup> Setup /PrepareSchema /IAcceptExchangeServerLicenseTerms

 

image

 

2. Prepare the Active Directory

Preparing the Active Directory command apply the schema update as well. Since we have already run the command, we don’t have to worry about it. We are going to setup a state of the art Exchange setup so we need to provide the company name along with the command,

 

C:\Exchange_2016>setup /prepareAD /OrganizationName:SDGUEST /IAcceptExchange

ServerTerms

 

image

 

3. Install Exchange Server 2016

Click Setup.exe and continue the setup

image

 

image

 

image

 

image

 

image

 

image

 

image

 

image

Once the setup is finished you may exit the setup.

image

Categories: Exchange

Microsoft Exchange 2013 Virtual Directory Configuration (Internal and External URL’s)


After Installing and configuring your new Exchange 2013 servers, you have to configure Exchange virtual directory settings like Outlook Web Access, AutoDiscover, ActiveSync and Outlook anywhere.

All the Virtual Directories must configure under a valid public domain name.

To start the configuration you have log in to the Exchange 2013 portal and follow below steps.

1. Go to Servers –> Virtual Directories

image

2. Configure Outlook Web Access (OWA)

Click on OWA (Default Web Site) and select Edit icon. Then you will see the Virtual Directory window for OWA. Edit Internal and External URL’s accordingly.

Internal OWA URL – https://webmail.valakulu.net/OWA

External OWA URL – https://webmail.valakulu.net/OWA

image

Once you click on the save button you will get a warning as below. But don’t worry about the warning as we are going to take care about it soon

image

3. Configure Exchange Control Panel (ECP)

Click on ECP (Default Web Site) and select Edit icon. Then you will see the Virtual Directory window for ECP. Edit Internal and External URL’s accordingly.

Internal ECP URL – https://webmail.valakulu.net/ECP

External ECP URL – https://webmail.valakulu.net/ECP

image

4. Configure Active Sync

Click on Microsoft-Server-ActiveSync (Default Web Site) and select Edit icon. Then you will see the Virtual Directory window for ActiveSync. Edit Internal and External URL’s accordingly.

Internal ActiveSync URL – https://webmail.valakulu.net/Microsoft-Server-ActiveSync

External ActiveSync URL – https://webmail.valakulu.net/Microsoft-Server-ActiveSync

image

5. Configure Offline Address Book (OAB)

Click on Offline Address Book (Default Web Site) and select Edit icon. Then you will see the Virtual Directory window for OAB. Edit Internal and External URL’s accordingly.

Internal OAB URL – https://webmail.valakulu.net/OAB

External OAB URL – https://webmail.valakulu.net/OAB

image

6.Configure Exchange Web Services (EWS)

Click on Exchange Web Services (Default Web Site) and select Edit icon. Then you will see the Virtual Directory window for EWS. Edit Internal and External URL’s accordingly.

Internal EWS URL – https://webmail.valakulu.net/EWS/Exchange.asmx

External EWS URL – https://webmail.valakulu.net/EWS/Exchange.asmx

image

7. Configure AutoDiscover

AutoDiscover feature allows client applications such as Outlook to connect to Exchange server automatically. You have to configure AutoDiscover setting using Exchange Management Shell.

PowerShell command to configure AutoDiscover URL is,

Set-ClientAccessServer -Identity CASServer -AutoDiscoverServiceInternalUri https://webmail.valakulu.net/Autodiscover/Autodiscover.xml

To check the current URI type below command on Management Shell

Set-ClientAccessServer |FL

image 

8. Enable Outlook Anywhere

Outlook Anywhere allows you to use Outlook to connect to your Exchange server from remote locations without first connecting to the VPN.

To enable Outlook Anywhere go to Server –> Double click server name –> Outlook Anywhere

image

You can use below PowerShell commands to configure virtual directories with out using the UI

AutoDiscover

Set-ClientAccessServer -Identity CASServer -AutoDiscoverServiceInternalUri https://webmail.valakulu.net/Autodiscover/Autodiscover.xml

Setup Exchange Web Services
Set-WebServicesVirtualDirectory -Identity “CASServer\EWS (Default Web Site)” -InternalURL https://webmail.valakulu.net/EWS/Exchange.asmx -ExternalURL https://webmail.valakulu.net/EWS/Exchange.asmx -BasicAuthentication:$true

Setup OAB
Set-OABVirtualDirectory -Identity “CASServer\OAB (Default Web Site)” -InternalURL https://webmail.valakulu.net/OAB -ExternalURL webmail.valakulu.net/OAB -RequireSSL:$true

Enable Outlook Anywhere
Enable-OutlookAnywhere -Server CASServer -ExternalHostname “webmail.valakulu.net” -ClientAuthenticationMethod “Basic” -SSLOffloading:$False

ActiveSync
Set-ActiveSyncVirtualDirectory -Identity “CASServer\Microsoft-Server-ActiveSync (Default Web Site)” -ExternalURL https://webmail.valakulu.net/Microsoft-Server-Activesync

Unified Messaging  
Set-UMVirtualDirectory -Identity “CASServer\UnifiedMessaging (Default Web Site)” -InternalURL https://webmail.valakulu.net/UnifiedMessaging/Service.asmx -ExternalURL https://webmail.valakulu,net/UnifiedMessaging/Service.asmx -BasicAuthentication:$true

Categories: Exchange