Exchange 2010 / OWA default folder

Hi all,

I am using the

<form action="https://mymail.mydom.com/owa/auth/owaauth.dll" method="POST" ...

method embedded in a html page to do an auto-login using Outlook web access. Works well, though I have to put the plain text password into the html, but I can live with that.

But ... this will always bring me to the mail inbox folder by default. What I am after is to get to the calendar folder. I have searched the web up and down for hours now, but found no clue that there is a way to change the default folder, or a way to navigate within the fodlers programmatically. Is it somehow possible to either configure kind of a default folder, or send another "post" so OWA changes to calendar view?

Thanks very much for your help,

Armin.


  • Edited by Nimral Wednesday, July 22, 2015 5:25 AM
July 21st, 2015 1:57pm

Solved this thing myself.

<!-- Doc: see Outlook Web parts, https://technet.microsoft.com/de-de/library/Bb232199%28v=EXCHG.141%29.aspx --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <body style="display: none">     <form action="https://myMailserver.myDomain.com/owa/auth/owaauth.dll" method="POST" name="logonForm" ENCTYPE="application/x-www-form-urlencoded" id="loginForm">       <input type="hidden" name="destination" value="https://myMailserver.myDomain.com/owa?cmd=contents&module=calendar&view=weekly">       <input type="hidden" name="username"  value="myNetBIOSDomain\myUserName" >       <input type="hidden" name="password"  value="myPassword">       <input type="hidden" name="flags" value="4">       <input type="hidden" name="forcedownlevel" value="0">       <input type="radio"  name="trusted" value="4" class="rdo" checked>       <input type="hidden" name="isUtf8"  value="1">    </form>     <script type="text/javascript">
      document.forms["logonForm"].submit();     </script>   </body> </html>

Please note that this solution was tested using Outlook Web Access against a corporate Exchange server. A friend of mine who tried this solution in his environment stated that using these parameters against his Internet/Cloud based Exchange solution doesn't seem to work. Haven't checked myself. I have also found traces that Microsoft tried to remove Outlook Web Parts in Exchange 2010, and reintroduced it with some Exchange Service Pack.

More parameters are available to change view to different folders/views, please see the documentation link embedded at the beginning of the code.

Cheers, Armin.




  • Marked as answer by Nimral 19 hours 9 minutes ago
  • Edited by Nimral 19 hours 3 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 4th, 2015 8:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics