none
[E2010] [OWA] Direct calendar link (without full permission) RRS feed

  • Question

  • This is how it works now
    https:/myserver.ad.mycompany.fi/owa/someuser@company.fi/?cmd=contents&module=calendar&view=weekly
    (http://technet.microsoft.com/en-us/library/bb232199.aspx)

    so everyone who uses direct link address, need at least "reviewer" permission to target user calendar.
    ("by design"?)

    You don't need reviewer permission to
     a) open other user calendar in Outlook 2010
     b) open other user calendar "manually" in OWA

    Giving reviewer permission everybody to everyones calendar is unaccepted.
    So I need direct link that work. (its very importat at Switchboard)

    I did find out there IS a direct link that work.
    It looks like this:
    https://myserver.ad.mycompany.fi/owa/?ae=Folder&t=IPF.Appointment&id=GS.L289cHJ0L291PWZpL2NuPXJlY2lwaWVudHMvY249dGVzdGkudHVubnVz#

    BUT, how do I get that PR_ENTRY_ID that points someones calendar folder? (I know how find it in OWA "manually")

    My idea was get it with EWS. So I made request like this:

    <?xml version=""1.0"" encoding="utf-8"utf-8""?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    	<soap:Header>
    		<t:RequestServerVersion Version="Exchange2010_SP1"/>
    	</soap:Header>
    	<soap:Body>
    		<GetFolder xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    			<FolderShape>
    				<t:BaseShape>IdOnly</t:BaseShape>
    				<t:AdditionalProperties>
    					<t:ExtendedFieldURI PropertyTag="0x0FFF" PropertyType="Binary"/>
    				</t:AdditionalProperties>
    			</FolderShape>
    			<FolderIds>
    				<t:DistinguishedFolderId Id="calendar">
    					<t:Mailbox>
    						<t:EmailAddress>testi.tunnus@mycompany.fi</t:EmailAddress>
    					</t:Mailbox>
    				</t:DistinguishedFolderId>
    			</FolderIds>
    		</GetFolder>
    	</soap:Body>
    </soap:Envelope>"
    

    That almost worked.. It will not get an answer other users own calendar. ("The specified folder could not be found")
    Maybe more access to target calendar folder would help, but that is what I dont want to do.

    So, any other ideas?

     

    Wednesday, August 17, 2011 10:37 AM