Archive for July, 2014
Exchange 2013 – Removing a database and deleting folders but they still reappear
I created new database and moved all the mailboxes as well as discovery mailbox and all went well. I then unmounted old database and deleted it from ECP and also deleted its database files and folders from C: Noticed that under program files/microsoft/exchange server/v15/mailbox the old Database folder still exists containing sub folders ‘indexmeta’, ‘journal’ and ‘ms’, I delete these folders everytime but they get recreated
Ans: This is fixed in CU1 which can be downloaded from the following:
http://www.microsoft.com/en-in/download/details.aspx?id=38176
OR
Also the issue is that even though the database has been removed the search/index files are still locked by the noderunner.exe process and can’t be deleted.
To clear the file lock you can restart the HostControllerService service using PowerShell.
Restart-Service HostControllerService
You should now be able to delete the files and folders successfully.
Mailbox size increase issue
We are using Office 365 and wanted to increase the size of a shared mailbox. There use to be more options link on the page which seems to be missing.
Ans: This can be done using the following command:
Mailbox -ProhibitSendQuota 9.75GB -ProhibitSendReceiveQuota 10GB -IssueWarningQuota 9.50GB
Office 365 Plans | ||||
Office 365Kiosk | Small business and small Business Premium | MidsizeBusiness | EnterpriseE1,Education
A2, Government G1 |
EnterpriseE3,E4Education
A3,A4 Government G3 |
Primary mailbox size | 2GB | 50GB | 50GB | 50GB |
Archive mailbox size | N/A | 50GB* | 50GB* | unlimited |
Shared mailbox size | N/A | 10GB | 10GB | 10GB |
Resource mailbox size | 10GB | 10GB | 10GB | 10GB |
*Microsoft may change the size of mailbox as per their policy
Connect to Office 365 using Powershell
- You need to set up your computer to be able to use Powershell. This only needs to be done the first time and involves downloading some tools from the Microsoft website.
Here is a link to the tools you will need to install:
http://technet.microsoft.com/en-us/library/jj151815.aspx
- Start the Powershell command line
Now that you have the tools installed, you can go ahead and open Powershell. The easiest way to do this is to press the start button and simply type powershell
You will now see a Powershell window
Now that you have a Powershell Window open, you can connect to Microsoft Office 365.
- You need to create a connection to Office 365. You can do this by typing (or copying/pasting) the following into Powershell.
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://ps.outlook.com/powershell/” -Credential $cred -Authentication Basic -AllowRedirectionOnce
this is in the Powershell window, press Enter to execute the command.
- Type in the username and password for an Administrator account in your Office 365 and click OK. You are now authenticated into Office 365.
- The last step is to connect up to Office 365 by using the following Powershell command:
Import-PSSession $session
Congratulations! You’re connected!
After using this PSsession command you wont have trouble connecting to Powershell repeatedly. To test the connection try below command:
get-mailbox
You should now see a list of all the users in your Office 365 account that have mailboxes!
https://www.cogmotive.com/blog/office-365-tips/connecting-to-office-365-using-powershell
Android & WM6.5 devices can’t use ActiveSync with Exchange 2013, ADFS and WAP
New exchange 2013 installation and have setup external access to Outlook Anywhere and Active sync. We are using ADFS with WAP for publishing the paths. Also setup DNS and firewall rules.
Outlook Anywhere is working fine using any browser. Activesync is working fine with new Windows mobile device and any iOS version but when we try to sync older WM 6.5 or Andriod device, it just doesn’t seem to work.
We checked for logs on the WM 6.5 device and it complaints about cert issue.
Ans: The older Andriod and WM6.5 don’t support SHA2 cert and work fine with SHA1. Try to switch to SHA1 and check if this resolves your issue
Exchange 2013 – Mobile Exchange account can’t send or receive email
Exchange 2013 – Mobile Exchange account can’t send or receive email
I have new exchange 2013 trail installation.
Having issue accessing exchange account on my iPhone 5, Exchange account detects autodiscover settings and also lets me add the account. Even after all configuration mobile device doesn’t allow me to send and receive mails. Error says “cannot get mail. Connection to server failed”
I ran the connectivity test tool
https://testconnectivity.microsoft.com
and it passes the Exchange ActiveSync test.
I have an SSL cert installed for mail.domain.com and autodiscover.domain.com
Ans: Check whether the inheritance on the user AD account is enabled. Activesync requires this setting to be enabled for overcoming permission issue.
To enable the inheritance you need to go to
AD->User accounts->right-click Properties->Security tab->Advanced->lower left button Enable Inheritance.