none
How to sign-in to Office365 with the use of POST. RRS feed

  • Question

  • We are making simple menu program.
    We want to accress to OWA from this program.

    I'd like to sign-in to Office365 with the use of POST.
    Do you know POST parameters?

    The OWA is Exchange 2013 Online.

    Kindly help.

    Friday, August 2, 2013 4:48 AM

Answers

  • Hi . 

    Did you try to check the source code , but there is minimum information that you can find .

    But Check the source code :) 

    In Example : 

    <form id="credentials" method="post" action="https://login.microsoftonline.com/ppsecure/post.srf?wa=wsignin1.0&amp;rpsnv=2&amp;ct=1375444001&amp;rver=6.1.6206.0&amp;wp=MBI_KEY&amp;wreply=https:%2F%2Fwww.outlook.com%2Fowa%2F&amp;id=260563&amp;CBCXT=out&amp;bk=1375444002">
                  <div id="cred_userid_container" class="login_textfield textfield">
                    <span class="input_field textfield">
                      <input tabindex="1" id="cred_userid_inputtext" class="login_textfield textfield required email field normaltext" placeholder="someone@example.com " type="email" name="login" spellcheck="false" alt="someone@example.com " value="" autocomplete="off">
                    </span>
                  </div>
                  <div id="looking_container" style="display: none;">
                    <span id="looking_cta_text" class="bigtext">Looking for an account</span>
                    <span class="input_field normaltext login_textfield">
                      <a id="looking_cancel_link" tabindex="3" href="">Cancel</a>
                    </span>
                  </div>
                  <div id="redirect_cta_text" class="bigtext" style="display: none;">Redirecting</div>
                  <div id="redirect_dots_animation" class="progress" style="visibility: hidden;">
                    <div class="pip"></div>
                    <div class="pip"></div>
                    <div class="pip"></div>
                    <div class="pip"></div>
                    <div class="pip"></div>
                  </div>
                  <div id="cred_password_container" class="login_textfield textfield" style="visibility: visible; opacity: 1;">
                    <span class="input_field textfield">
                      <input tabindex="2" id="cred_password_inputtext" class="login_textfield textfield required field normaltext" placeholder="Password" spellcheck="false" alt="Password" type="password" name="passwd" value="">
                    </span>
                  </div>
                  <div id="redirect_message_container" class="login_textfield" style="opacity: 0; visibility: hidden; display: none;">
                    <span class="input_field normaltext">
                      <div><span id="redirect_message_text">We‘re taking you to your organization's sign-in page.</span><span id="redirect_company_name_text"></span>
                        <a id="redirect_cancel_link" tabindex="3" href="javascript:User.CancelRedirect();">Cancel</a>
                      </div>
                    </span>
                  </div>
                  <div id="cred_hidden_inputs_container" style="display: none">
                    <input type="hidden" id="PPSX" name="PPSX" value="Passport">
                    <input type="hidden" name="PPFT" id="i0327" value="A9VnOsIqP3RjZ9fxRabg">
                  </div>
                </form>


    MCSE/MCSA/

    • Marked as answer by ShuheiENDO Monday, August 5, 2013 2:18 AM
    Friday, August 2, 2013 11:48 AM

All replies

  • Hi . 

    Did you try to check the source code , but there is minimum information that you can find .

    But Check the source code :) 

    In Example : 

    <form id="credentials" method="post" action="https://login.microsoftonline.com/ppsecure/post.srf?wa=wsignin1.0&amp;rpsnv=2&amp;ct=1375444001&amp;rver=6.1.6206.0&amp;wp=MBI_KEY&amp;wreply=https:%2F%2Fwww.outlook.com%2Fowa%2F&amp;id=260563&amp;CBCXT=out&amp;bk=1375444002">
                  <div id="cred_userid_container" class="login_textfield textfield">
                    <span class="input_field textfield">
                      <input tabindex="1" id="cred_userid_inputtext" class="login_textfield textfield required email field normaltext" placeholder="someone@example.com " type="email" name="login" spellcheck="false" alt="someone@example.com " value="" autocomplete="off">
                    </span>
                  </div>
                  <div id="looking_container" style="display: none;">
                    <span id="looking_cta_text" class="bigtext">Looking for an account</span>
                    <span class="input_field normaltext login_textfield">
                      <a id="looking_cancel_link" tabindex="3" href="">Cancel</a>
                    </span>
                  </div>
                  <div id="redirect_cta_text" class="bigtext" style="display: none;">Redirecting</div>
                  <div id="redirect_dots_animation" class="progress" style="visibility: hidden;">
                    <div class="pip"></div>
                    <div class="pip"></div>
                    <div class="pip"></div>
                    <div class="pip"></div>
                    <div class="pip"></div>
                  </div>
                  <div id="cred_password_container" class="login_textfield textfield" style="visibility: visible; opacity: 1;">
                    <span class="input_field textfield">
                      <input tabindex="2" id="cred_password_inputtext" class="login_textfield textfield required field normaltext" placeholder="Password" spellcheck="false" alt="Password" type="password" name="passwd" value="">
                    </span>
                  </div>
                  <div id="redirect_message_container" class="login_textfield" style="opacity: 0; visibility: hidden; display: none;">
                    <span class="input_field normaltext">
                      <div><span id="redirect_message_text">We‘re taking you to your organization's sign-in page.</span><span id="redirect_company_name_text"></span>
                        <a id="redirect_cancel_link" tabindex="3" href="javascript:User.CancelRedirect();">Cancel</a>
                      </div>
                    </span>
                  </div>
                  <div id="cred_hidden_inputs_container" style="display: none">
                    <input type="hidden" id="PPSX" name="PPSX" value="Passport">
                    <input type="hidden" name="PPFT" id="i0327" value="A9VnOsIqP3RjZ9fxRabg">
                  </div>
                </form>


    MCSE/MCSA/

    • Marked as answer by ShuheiENDO Monday, August 5, 2013 2:18 AM
    Friday, August 2, 2013 11:48 AM
  • Thank you for good information.
    we try it. :)

    Shuhei

    Monday, August 5, 2013 12:49 AM
  • Hi Shuhei, did you get the login to work?
    Saturday, August 16, 2014 10:49 PM