Office365


Invalid Exchange Server version using Veeam Backup for Microsoft Office 365 #updated #withSolution

Update: After contacting Veeam support they attended me that there is a private fix voor version 912.

  • stop all jobs
  • stop “Veeam Backup for Microsoft Office 365 Service”
  • replace Veeam.Ews with the DLL from the archive https://storage.veeam.com/Fix_113114_fbcf2c440c.zip in C:\Program Files\Veeam\Backup365 (don’t forget to back up the original DLL)
  • Start “Veeam Backup for Microsoft office 365 Service”
  • retry the job

veeam_o365_error_working

As you can see the problem is solved and I’m able to backup Office 365 again!


People (including me :-))  are reporting problems using Veeam Backup for Microsoft Office 365. It seems that Microsoft made some kind of change on their back-end. At this time Veeam reports that they are looking into the problem..

I’m running Version 1.0.0.912…. a newer version isn’t available on the general download site. So upgrading the Veeam software isn’t the solution for now.

veeam_o365_error_version

Don’t seem to be (Windows) update related. Before and after updating my test server I receive the same error. 🙁

veeam_o365_error

When there is a solution I shall mention this in this blogpost.


How to Add an extra email address to your O365 mailbox the right way

This blogpost describes how to add an extra email address on your O365 mailbox. Someone told me that when he tries to add an extra email address using the Office 365 admin partner he receives the following error :

o365_mailbox_address1

The error says that this action (adding an extra email address) should be performed on the object in your on-premises organization. This means that your Active Directory is connected to Azure (O365). So extra email address should be added on the specific user properties and not directly using the Exchange admin interface. Your changes are automatically replicated to Azure.

Go to your domain controller and open dsa.msc (Active Directory Users and Computers) and go to the user you wish to provide an extra email address. Important : don’t search for this specific user, this way you don’t see all the properties later on. Also make sure that you have the advanced view enabled in dsa.msc, otherwise you won’t see the Attribute editor tab.

o365_mailbox_address2

Open the properties of the specific user and select Attribute Editor and go to ProxyAddresses. Now you have the option to add an extra emailaddress, use the following Value : smtp:user@email.nl

Make sure that the @email.nl domain is registred correctly in O365.

(Thanks to Roelf Z for the comment)

 


How to revoke App Access to your Office 365 environment

Today I tested a backup solution for Office 365. Installation was very easy and within seconds I made a connection to my Office 365 test environment. I quickly entered my admin creds and hit enter a couple of times.  Hmmm…. that went very smooth. The backup application made sure that there were enough permissions.

Okay, now I ready with the product evaluation. I want to remove those credentials! But how…. I found out that I had to look for it, so I thought it would be a nice idea to share my experience with my readers..

Login to your Office 365 tenant with Admin creds and go to the upper right and choose the options icon next to your name.

Office_Creds_001

Go to Office 365.

Office_Creds_002

You see all the applications that have (administrative) access to your tenant. You notice many default (web) apps. But notice the last application, Office 365 Backup. Click on details to verify that you have the right application. Ok? Now let’s remove those permissions. You can’t do this in this windows however. First you must go the My Account, and then notice the App permissions Pane. (3rd pane)

Office_Creds_003

Now click on the three dots next to your application:

Office_Creds_004

Choose the remove from tenant option. Et voila, your permissions are removed :

Office_Creds_005

(Notice that the Office 365 Backup permissions are gone)

Nowadays more and more Office 365 tools & software is coming to the market. It would be nice that when uninstalling the product, the vendor also removes the permissions made..


How secure is your Office 365 environment?

More and more companies are using Office 365 (O365) nowadays. Because it’s a SaaS service many people think that they don’t have to think about security. This is a common made mistake.

Log on to https://securescore.office.com with you (admin) Office 365 credentials and you see your current score. (Pictures taken from demo environment)

O365 1

You immediatly notice your score and the maximum score you can achieve. A nice feature is that you can see what your score was days/monts ago.  Maybe someone made an adjustment to your O365 configuration which has security consequences.

Secure o365 time

Notice the information about the security measurements you already took and the one you can/need to take to improve your security score.

Security O365 Done

Security O365 open

It’s very easy to show more information about the steps. Just expand the specific action and choose how to accomplish that step.


How to show (export) all devices synchronizing with your Office 365

For a MDM project I had to make an dump which users are using which devices to (active)sync with their Office 365 mailboxes. This is how I did that :

Get-Mailbox -ResultSize Unlimited | ForEach {Get-MobileDeviceStatistics -Mailbox:$_.Identity} | Select-Object @{label=”User” ; expression={$_.Identity}},DeviceModel,DeviceOS, lastsuccesssync | Export-csv F:\powershell\activesync.csv

Running the above command showed the following output (in a CSV file format):

As you can see you see the user, the device the user is using, the OS their device uses and last time that devices succesfully synchronized.

I used Excel to import the CSV and sort on LastSuccessSync.

Find out here how to connect to Office 365 using Powershell.


Powershell: Start using PowerShell using PowerShell Command Builder

Microsoft TechNet site has a great site that enables you to build your own cmdlets using a web drag and drop interface.

There is support for :

image

Let’s try Office 365 :

image

You notice the drag and drop interface. First select the verb, for example Get. Click get and the send arrow. Now choose a Noun, for example Msol User:

image

After selecting the Verb and Noun you notice the other extra options. Fill them in when needed. Now hit the Copy to Clipboard button to copy the PowerShell command to your Clipboard and start using PowerShell to manage your Office 365.

You can find the site here.


Powershell: Connect to Azure Active Directory and Microsoft O365

Use the following Powershell script to connect to Azure Active Directory and Microsoft O365. This enables you to use all the O365 Powershell commands.

 

image

(Download the Powershell plugin here)


Office 365 : Disable Clutter (onbelangrijke mail) function

In this post I describe how to disable/enable the Clutter function of O365. The clutter feature is self learning and there are not many options you can specify. You can drag messages to and from the Clutter mailbox so that it can learn how to work. But sometimes you want do disable this function for specific mailboxes.

To disable Clutter for the entire organization you can use the following Powershell command:

Get-Mailbox | Set-Clutter -Enable $false

To disable Clutter for a single mailbox use the following command :

Set-Clutter -Identity helpdesk -Enable $false

To enable Clutter replace $false by $true

 

SNAGHTMLc9d7c89


Office 365 Powershell: Delegate Calender rights

Use the following steps to delegate (Calender) rights to a specific user.

First step specify your (administrator) credentials:

$LiveCred = Get-Credential

Create the session:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection

Now import the Office 365 session using the following command:

Import-PSSession $Session

Use the following command to delegate the calender from user1 to specified user2

Add-MailboxFolderPermission -Identity user1@domain.com:\calendar -user user2@domain.com -AccessRights Editor

SNAGHTMLb41a829

Et voilà! The calender rights are set.


Office 365 Enabling archiving

Use the following steps to enable archiving using Office 365.

Go to http://portal.office.com

image

Select administrator/beheerder. Go to the list of enabled users.

Select Exchange properties

image

Now the specified user has Archiving rights. So all data in the archive folder is not part of the 50 GB storage limitation. Let’s open Outlook Web Access and notice the Archive button:

image

When you select an email message you can easily archive that message. It will appear in the archive folder in your mailbox :

image

or when using Outlook:

image

Emailmessages are still enabled for indexing and search requests.