How to get services.wsdl for Office 365?

In case you looking for downloading services.wsdl for Office 365 possible that you may find that is  not so straightforward.

In general services.wsdl usually located on URL:

https://server_name/ews/services.wsdl but

How to determine actual server for Office 365 mailbox?

On internet you may find such kind of solution:

— Login to your e-mail account using Outlook Web App (OWA).
— Click Options > See All Options > Account > My Account > Settings for POP, IMAP, and SMTP access.
— In the list of entries, locate the server name

In fact it is not exactly correct, because name you will see there is – which is global alias and does not pointing to actual server:
Continue reading

Office 365: Cannot localize default folders

In Office 365 OWA it is possible to rename default folders like Inbox, Sent, Deleted, etc. to match specified language.

Sometimes you may receive following error message:

“The localization operation of the default folders of mailbox “ Exchange Hosted Organizations/” failed:Cannot localize the default folders.”

That message does not contain any explanations about possible reasons of that error.



One of the reason that can cause such error is that folder with such name is already exists. Sometimes users exporting their old folders into Office 365 and these folders have same names as default folders.

How it works:
Continue reading

Re-connection of Exchange 2007 Mailbox

Sometimes during migration of Mailboxes – especially in cross-forest migrations, some of mailboxes may become corrupted. Mailboxes can fail test Test-MapiConnectiviy, user maybe unable to login into mailbox using OWA or messages just not coming in and not going out.

General solution here is disconnect and then connect mailbox again. You only should keep in mind that when you disconnecting Mailbox all Email addresses will be deleted so there is need to note all of them before disconnection.

Following script will do the work:
Continue reading

MS Exchange 2007 Mailbox Statistics

Lets say you need to get information about all mailbox users in your Microsoft Exchange 2007 organisation. Quotas, mailbox size, item count, time when users logged in last time…

It is easy!

Don’t forget to use following in multi-domain environment : $AdminSessionADSettings.ViewEntireForest=$True

Query for Exchange Management Shell:

Get-Mailbox -ResultSize 'Unlimited' -IgnoreDefaultScope | Select DisplayName, Identity, Database, @{label="IssueWarning(MB)";e={(Get-Mailbox $_).IssueWarningQuota.Value.ToMb()}},@{label="ProhibitSend(MB)";e={(Get-Mailbox $_).ProhibitSendQuota.Value.ToMb()}},@{label="ProhibitSendReceive(MB)";e={(Get-Mailbox $_).ProhibitSendReceiveQuota.Value.ToMb()}},@{label="Uses Database Quota Defaults";e={(Get-Mailbox $_).UseDatabaseQuotaDefaults}}, @{label="TotalSize (MB)";e={(get-mailboxstatistics $_).TotalItemSize.Value.toMB()}}, @{label="Item Count";e={(get-mailboxstatistics $_).ItemCount}}, @{label="Last Logon";e={(get-mailboxstatistics $_).LastLogonTime}}| Export-CSV -Path ".\ExchangeStats.csv"