We used to use Exchange 2007 and the HTML + JavaScript below to log into OWA 2007 automatically.
But we've now upgraded to Exchange 2013 and the script no longer works. It displays 404 - File or directory not found. I've asked our Infrastructure department if the owaauth.dll file is still in the same location, and they have told me it's moved to:
https://" + server + "/exchweb/auth/owaauth.dll
I changed the script to use the new path, but I still get the 404 - File or directory not found
error.
My question is what do I need to change in the script to make it work with Exchange 2013?
Here are the Exchange 2007 script details
HOWTO: Automatically Login to OWA 2007 using HTML + JavaScript
<script>
function LoginToOWA (server,domain,username,password) {
var url = "https://" + server + "/exchweb/bin/auth/owaauth.dll";
var p = {destination:'https://' + server + '/exchange',flags:'0',forcedownlevel:'0',trusted:'0',isutf8:'1',username:domain + '\\' + username,password:password};
var myForm = document.createElement("form");
myForm.method="post" ;
myForm.action = url ;
for (var k in p) {
var myInput = document.createElement("input") ;
myInput.setAttribute("name", k) ;
myInput.setAttribute("value", p[k]);
myForm.appendChild(myInput) ;
}
document.body.appendChild(myForm) ;
myForm.submit() ;
document.body.removeChild(myForm) ;
}
</script>
<body onload="javascript:LoginToOWA('owa.exchange.com','domain','username','password');">
<h3>Please wait while redirecting to OWA...</h3>
</Body>
I am using socket.io.Some users sending message to me 'I can't send a message why ?'.I researched this problem,guess firewall or antivirus blocking websocket.If browser doesn't support the websocket,...
I am using socket.io.Some users sending message to me 'I can't send a message why ?'.I researched this problem,guess firewall or antivirus blocking websocket.If browser doesn't support the websocket,...
I've got a widget that injects javascript code into my users website. Now I would like to add the ability to listen for the Google Analytics _addTrans call. Example of the call to Google Analytics: &...
I've got a widget that injects javascript code into my users website. Now I would like to add the ability to listen for the Google Analytics _addTrans call. Example of the call to Google Analytics: &...
The basic idea is to prevent double clicks. I'm using html <button> to call a function when clicked, which makes an ajax call. Native <button> behaviour is prevented with event....
The basic idea is to prevent double clicks. I'm using html <button> to call a function when clicked, which makes an ajax call. Native <button> behaviour is prevented with event....
In my current project I discovered a problem using websockets with socket.io and node.js on mobile devices. It seems that there is a problem for mobile deviced handling socket messages in an interval. ...
In my current project I discovered a problem using websockets with socket.io and node.js on mobile devices. It seems that there is a problem for mobile deviced handling socket messages in an interval. ...