Tag Archive for 'Exchange 2007'

TODO: Remove “TODO:” code comments before RTM

I was tweaking the editmessage.aspx page for OWA 2007 in Exchange 2007 and I noticed some leftover code comments from the developers at Microsoft.

Do code comments like this make it past the QA process often?

<td id="tdSubjLbl"> </td>
 <!--LocalizedStrings.GetHtmlEncoded(Strings.IDs.SubjectColon)-->
 
			<!-- TODO: OWA: 775: make sure this comment (and any others) are removed in retail -->
			<!-- For some reason, if this input field is not wrapped in a div, when the user types some text it resizes itself by a few pixels. Go figure.-->
<td> </td>
<div class="h100"><input id="txtSubj" class="edtSubj" maxlength="255" type="text" value="&lt;% RenderSubject(false); %&gt;" /></div>

Change Public Folder Permissions in Exchange 2007

Our HR administrator was unable to delete or change events in a public folder calendar using Outlook 2007. To my surprise I was not able to either, all though I could change and delete appointments that I created myself. The Outlook error message revealed why:

You don't have appropriate permission to perform this operation.

Clicking on the properties for the public folder calendar in Outlook revealed that I only had Author rights to the calendar. I needed the Owner privilege to delete other people’s meetings.

Public Folder administration is not hard in Exchange 2007, but you must use the management shell for most tasks. Exchange 2007 SP2 includes a Public Folder management tool/gui, unfortunately it is essentially useless for most administration tasks.

I used the following Exchange management shell command to give myself the “Owner” permission. Note: you need administrative privileges on the exchange server to make this change.

Add-PublicFolderClientPermission -Identity "\public folder name" -AccessRights Owner -User eli

You can assign permissions like Author, Editor, Reviewer, etc.