How to restrict WebSite Access by IP in Azure

It is very easy to restrict the Access to an Azure WebSite by filtering the IP. You have to connect to your WebSite by SFTP and modify the web.config.

Add this Lines to Filter the Access to your WebSite by IP-Adress:

<system.webServer>
<security>
<ipSecurity allowUnlisted=“false“ denyAction=“NotFound“>
<add ipAddress=“YOUR IP“ allowed=“true“ />
</ipSecurity>
</security>
</system.webServer>
See the official IIS WebSite for the Topic: IP Security <ipSecurity>
http://www.iis.net/configreference/system.webserver/security/ipsecurity

Altaro Hyper-V Backup – Granular Restore – Exchange Item Level Restore

Everyone know´s the moment when a user says „I have deleted some emails for several weeks“. Now you must restore the emails from your backup, if the retention is expired.
I will show you how easy you can restore single emails or the whole mailbox, if you use the Altaro Hyper-V Backup.

At first we open the Altaro management console. After we’ve done this we choose under „Granular Restore“ the Point „Exchange Item Level Restore“.

 

On the next screen we see the following:

 

Here must we choose the Exchange Mail Server (VM) and a backup version where the emails were still present.
If you have a default Exchange installation you can choose „Scan for Exchange DB files in default locations“. If this is not the case you must choose „List Additional Exchange DB Files“.

 

Here you must choose the virtual hard disk (vhd) where your databases are located. Now you must select the database file (edb). After that click the following:

 

Now you are back to the first screen and the Altaro Console shows your selected database. At the next step you must click to „Restore Items From Exchange DB“

 

On the next screen you can see all mailboxes which are located in the selected database. Now you are able to restore a full mailbox or some folder from a mailbox or only some emails you need – as shown on the following screenshots:

 

 

 

If you have found the emails or mailboxes you want to restore, you only have to choose a file loaction for the PST file to restore.

 

The last step after the restore, is to integrate the PST file to Outlook and to copy the emails into the original folder.

Special Thanks to my collegue René for taking the Screenshots.

See you soon – Sebastian

Everyone know´s the moment when a user says „I have deleted some emails for several weeks“. Now you must restore the emails from your backup, if the retention is expired.
I will show you how easy you can restore single emails or the whole mailbox, if you use the Altaro Hyper-V Backup.

At first we open the Altaro management console. After we’ve done this we choose under „Granular Restore“ the Point „Exchange Item Level Restore“.

On the next screen we see the following:

Here must we choose the Exchange Mail Server (VM) and a backup version where the emails were still present.
If you have a default Exchange installation you can choose „Scan for Exchange DB files in default locations“. If this is not the case you must choose „List Additional Exchange DB Files“.

Here you must choose the virtual hard disk (vhd) where your databases are located. Now you must select the database file (edb). After that click the following:

Now you are back to the first screen and the Altaro Console shows your selected database. At the next step you must click to „Restore Items From Exchange DB“

On the next screen you can see all mailboxes which are located in the selected database. Now you are able to restore a full mailbox or some folder from a mailbox or only some emails you need – as shown on the following screenshots:

 

If you have found the emails or mailboxes you want to restore, you only have to choose a file loaction for the PST file to restore.

The last step after the restore, is to integrate the PST file to Outlook and to copy the emails into the original folder.

Special Thanks to my collegue René for taking the Screenshots.

See you soon – Sebastian

Search for mails in Exchange 2013 with Powershell

Every admin knows the situation when a user is missing mails and told us that he never has recived that mail.

Now it is time to check the message track from the Exchange.

So let’s do it!

Do you know some parameters from the missing mail?

Date? Time? Recipent? Sender?

If you only know the date and the time you can use the following command:

Get-MessageTrackingLog -Server YourServerName -Start „07/16/2015 09:00:00“ -End „07/16/2015 17:00:00“

You see a lot of mails now. The default value for ResultSize is 1000. You can change them to unlimited with -ResultSize unlimited

Or you use other informations to filter the mails. In most cases you know the sender and the recipent.

So you can use that powershell command:

Get-MessageTrackingLog -Server YourServerName -Start „07/16/2015 09:00:00“ -End „07/16/2015 17:00:00“ -Sender „sender@domain.com“ -Recipents „recipents@yourdomain.com

Now you can find your missing mail, but you also need to know what the EventID means.

The most important events are:

Deliver

The message is deliverd to a mailbox.

Fail

The message delivery failed

Send

The message was sent to a diffrent server

You will find other Event IDs with its description in TechNet from Microsoft.

In case of troubelshooting the mailflow, it can be a good idea to show the fields ConnectorID, ClientIP, ClientHostname, ServerIP, Serverhostname, OriginalClientIP.

Get-MessageTrackingLog -Server YourServerName -Start „07/16/2015 09:00:00“ -End „07/16/2015 17:00:00“ -Sender „sender@domain.com“ | fl Sender, Recipients, ConnectorID, ClientIP, ClientHostname, ServerIP, Serverhostname, OriginalClientIP

Hope you will find the lost mails!

Regards

Arno

Move request fails with error code 124EB7A0

Error code: 124EB7A0

Error Message: „The database Database is excluded from provisioning.“ / „Die Datenbank ist von der Bereitstellung ausgeschlossen“.

This can happen under the follwing two prerequirements:

1 .If you have installed the Cumulative Update 5 or Cumulative Update 6 on your Exchange 2013 server

2. The setting for the traget database „IsExcludedFromProvisioning“ has the value „true“

The official way to fix this problem is to install the Cumulative Update 7 or later. But in my case i can set the value to „false“ and move the mailbox.

There are a lot of reason to exclude a database from the automatic distribution. The most known szenario is using a database for a journaling. So keep in mind to set the value back after moving the mailbox and patch your Exchange to the newest Update soon.

Note: Cumlative Update 9 is published on 06/16/2015

Regards

Arno Kramer