Programmatically logging out of Office 365 and redirection

Hi there :
I am developing some HTML/JS based apps on SharePoint online. It works perfect.
However recently I got a requirement, which I am not sure how to achieve.
I have got a HTML/JS form by which users submit data to SharePoint by clicking a button. However after clicking a button, the requirement is to prompt the user again for Office 365 log in/credential and then after successful authentication redirect to a particular
page. I am giving an example below.
Suppose I am on a page https://<domainname>.sharepoint.com/Pages/form.aspx. There is a submit button on that page. When I hit the submit button, I need to prompt the user again for Office 365 log in/credential and redirect back to https://<domainname>.sharepoint.com/Pages/form.aspx.
I can only use JavaScript here as it is a client side based app. Basically I reckon it involves logging the user out and then redirecting to the required page.
Any help will be much appreciated.
Thanks and regards,
DM

Hi there :
I am still waiting for some direction on this.
This is mainly to comply with 21 CFR Part 11 of Life Science industry and Office 365 is a preferred platform for that.
Any help will be much appreciated.
Cheers!

Similar Messages

  • How to use same credentials in third party web page/app/system as in Office 365 and Share Point?

    I want my users to be able to login with same username/password in my reporting system as in they use for their email, office 365 and share point.
    Since the web is in PHP i found some ideas that use CURL to get the cookie but i['m wondering if there is another way to do that?
    All API show cases and docs that i looked are so confusing that i can't even figure out if it is possible at all and how. It would be great to be able to reset passwords through my system and also to create new users. So that i have all centralized in one
    place.

    Hi,
    Here is an article which describes how to create and configure a single tenant PHP application that uses the single sign-on capabilities of Azure Active Directory.
    http://azure.microsoft.com/en-us/documentation/articles/active-directory-php-web-single-sign-on/
    A sample that shows how to use Azure Active Directory and single sign-on for PHP web sites is available at
    https://github.com/WindowsAzure/azure-sdk-for-php-samples/tree/master/WAAD.WebSSO.PHP 
    Regards,
    Rebecca Tu
    TechNet Community Support

  • I have 2 iphones, one for personal and one for business.  I need my phones not to sync otherwise they will both ring all the time.  How can I log out of my icloud and unsync my phones?

    I have 2 iphones, one for personal and one for business.  I need my phones not to sync otherwise they will both ring all the time.  How can I log out of my icloud and unsync my phones?

    Syncing your phones to the same iCloud account won't cause them to both ring all the time, it only puts the same contacts, calendars, and other synced data on the phone.  The phones will only ring with someone calls the number associated with the phone.
    If you want to stop using iCloud on one or both of the phones, go to Settings>iCloud, tap Delete Account, then choose Keep On My iPhone when prompted.  This will disconnect them from iCloud and keep a copy of the synced data on the phone.

  • I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work)

    I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work) since I use iCloud and I tunes match

    YAY!!! Saved it in my Mac's Firefox Bookmarks for easy future access!
    Hope you are having a lovely afternoon today! I'm about ready to go bobo....I have an early meeting, and I don't want to oversleep! The nice part is that I work remotely, so I only have to wake up 15 minutes or so before the meeting.... I don't even use an alarm clock anymore (really, my iPhone alarm, which is much more pleasant), unless I have to get up at 6:30 or something....
    TMI?
    GB

  • OFFICE 365 and SKYPE free world calls free

    I have office 365 and activated to skype free calls it shws i have a subscribtion and 60min free but when i try to call first my credis were gone and after that it shows that i have to buy more credits.
    When i try to buy once more credits it shows that i allready have this subscibtion.
    Whats wrong? Are you people working on this or not? How to use my 60 min free??????????
    Tryed android, IOs , windows, MAC.
    Solved!
    Go to Solution.

     arasdk wrote:
    I have office 365 and activated to skype free calls it shws i have a subscribtion and 60min free but when i try to call first my credis were gone and after that it shows that i have to buy more credits.
    Hello,
    Your account shows that you were attempting to call a Lithuania cellphone. Your free minutes are for calls to landlines only. To call cellphones you need to purchase Skype Credit.
    Buy Skype credit
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Outlook 2013 with Office 365 and Google Apps Sync.

    This is the scenario, hopefully somebody can give me some insight on how to resolve this.
    Outlook 2013 with gapps. Both updated.
    Outlook profile with an office 365 email account (which is as an exchange account) and google apps with our main account.
    We installed an office 365 account since its the only way that several users can share and edit the same contacts on Outlook. They use almost all contact fields. 
    Gapps its the main email address and calendar. Shared calendars are deeply used too.
    The problem is that when I edit a contact (the exchange account) I get an error -when- I edit the email field. 
    "The operation failed. The messaging interfaces returned an unknown error."
    If I make a new Outlook profile with the exchange account and the gapps account via imap setup I get not errors BUT I loose calendars sync.
    So I went back to the main profile and thought. <maybe both contacts engines are screwing Outlook.> So, since I don't care about gapps contacts anymore I disabled via:
    Disable sync for individual products
    https://support.google.com/a/answer/1041455?hl=en
    And also disabled the dynamic Global Address (just in case).
    But the same happens.
    I tried with another box, with office 2010, updated it and made a new profile with the office 365 and gapps and the same history.
    Finally I though about setting the office 365 account as imap but contacts are not downloaded. 
    So I'm between a rock and a hard place here. 
    I need to use office 365 account in the same profile as gapps account. 

    Hi,
    What’s the file size of your Outlook data file? If your data file is over size, it may cause data file corruption.
    Outlook data file corruption may cause this problem. Please try to run a repair of your Outlook data files to check the result:
    http://support.microsoft.com/kb/272227/en-us
    Note: You may need to run Scanpst.exe for several times until there is no error.
    In addition, here is a thread discussed a similar issue, please take a look at it and check if it helps:
    http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/office-2010-the-operation-failed-the-messaging/bdd2d604-e652-4fe5-96a3-038191f55d3c?page=1
    Best Regards,
    Steve Fan
    TechNet Community Support

  • Office 365 and Direct Sync

    Hello
    Could you please advise me on the correct forum for Office 365 and online services in conjunction with Direct Sync
    Thanks in advance
    MIS5000

    Hi,
    The Office 365 forums are over on a different site:
    http://community.office365.com/en-us/f/default.aspx
    The
    Directory integration services forum is probably a good starting point over there.
    Good luck.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • My Macbook Pro's iTunes App was logged in as someone else. I logged out of that account and logged into mine, but I found that the app still shows all of the previous account's content. None of my apps, songs, or movies are there!

    My Macbook Pro's iTunes App was logged in as someone else. I logged out of that account and logged into mine, but I found that the app still shows all of the previous account's content. None of my apps, songs, or movies are there! iTunes 12.1.0.50 on OS X Yosemite version 10.10. Why is iCloud doing this, and how do I view my content again?

    MacBook Pro  / Mozilla Firefox / Netflix / Silverlight Update solved - DON'T DWNLOAD FROM NETFLIX
    I solved this problem tonight. I have a MacBook Pro with 10.5.8. I know, it's old. But I love my Netflix and I recently noticed that Firefox plays Netflix much better.  Then I suddenly got this message that I needed to download the latest Silverlight - it only takes 30 seconds! - WRONG.   However, after much searching, I finally did the steps in order and it worked.  
    This was after repeatedly downloading Silverlight from the Netflix site without success.  So here's what I did:
    1. Went to http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
    2. Followed the directions. I felt like such an idiot for not doing it right before.
    3. Go to your hard drive and search for "Silverlight" to locate ANY existing Silverlight files: .dmg, etc.
        [also check your Libary/ Internet Plug-ins, but the above search is faster]
    4. Drag it all to the trash and empty it.
    5. Go back to the Get  Silverlight page and click on the Install on that page, not the Netflix site.
    6. Note the steps for Safari or Mozilla Firefox - I wanted Firefox, so I follwed those instructions.
    7. Once it's installed, close all the browsers and Restart that bad boy. Right away.
    8. Open a browser, go to Netflix and proceed to joyfully rot your brain with Netflix content. Yay!

  • TS4463 I have just installed office 365 and now icloud will not work.  It says that I need to open or install outlook.  Before I installed 365, ICloud worked  and I believe I had Outlook loaded yet it is not there any longer.   I am lost.

    I just installed office 365 Home Premium editiion and have lost my ICloud capabilities.  I cannot sign in nor will Photostream work.   A message comes up that says I need Outlook on my computer (I had it before  the 365 was loaded).   I checked on-line and it says that windows 7 does not support outlook and that I cannot download it (don't know how I got it before).   I am totally confused as what to do.   Really upset as I needed the new office package as Windows 7 wouldn't support the 2010 started edition any longer without my buysing that.  Figured it made sense to get the newest version.  Packaging says that it contains outlook.   I don't know what to do at this point.

    LuckyAlP wrote:
    I just installed office 365 Home Premium editiion and have lost my ICloud capabilities.  I cannot sign in nor will Photostream work.
    Did you remove the existing installation of Office before installing the new one?
    I checked on-line and it says that windows 7 does not support outlook and that I cannot download it (don't know how I got it before).
    Outlook is part of Office 365, and Windows 7 supports all versions of Outlook back to 2003.
    I am totally confused as what to do. 
    You need to correctly remove all versions of Office on your Mac, you need to remove their settings as well. You need to save your Office Userdata from removal by moving it temporarily. I would also uninstall iCloud.
    Then reinstall Office 365 followed by iCloud.

  • TS1702 I did not like  program Office 365 and I want to cancel your subscription and receive a refund.  Help me.

    I did not like program Office 365 and I want to cancel your subscription and receive a refund.

    You need to talk to Office 365, whoemever you bought that sub from.
    This is a user to user forum, so no one here can really help you.
    Did you get the sub through an app? If so, that app should have a support page or a way to contact them. Their support page should also have a FAQ that would cover cancelling your sub.

  • Can I use Photoshop Elements 13 save the photo directly on OneDrive (hence the album eventually example) Reason, I use Office 365 and have so 1T storage, then it is not necessary to have more "cloud"!

    Can I use Photoshop Element 13 save the photo directly on OneDrive (hence the album eventually example) Reason, I use Office 365 and have so 1T

    g.n.a.s
    If your program is Photoshop Elements, you have posted in the wrong forum. Somehow your thread got posted in the Adobe Premiere Elements Forum (video editing).
    If this is the case, please re-post your thread in the Adobe Photoshop Elements Forum or wait for a moderator to see your thread here and move it from here to there.
    Photoshop Elements
    Thank you.
    ATR

  • 1.     If I buy Acrobat XI, will it recognize Office 365 and setup PDFMaker automatically?

    Recently bought into MS Office 365, upgrading from Office 2007. I have been running Acrobat X. Come to find the PDFMaker COM Add-in upon which my workflow depends enormously does not support 365.
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html#main_ PDFMaker_compatible_applications
    I’m sure there is some wonderful explanation…I don’t have time…not sure I have the extra $200 either.
    Anyway, two questions:
    If I buy Acrobat XI, will it recognize Office 365 and setup PDFMaker automatically?
    How long can I count on Acrobat XI to work with Office 365?

    Hi K2karlk,
    Yes! Go here:
      http://forums.adobe.com/community/sendnow
    Hope that helps!
    Regards, Stacy

  • My ipad logged out from my wifi, and won't log back. It says the password in incorrect.

    Yesterday my iPad logged out of my wifi, and now won't log back in. It finds it but then tells me the password is incorrect. My wife's iPad and my lap to work fine on the same password. I've turned wifi on and off, I've reset network functions but no use. Any ideas?

    Hi On your iPad in Wifi click on Forget this network ie your wifi service name Then Turn your Router off for 30 Seconds Then Try again. If this doesn't solve the problem. You may need to do a Factory Reset and Restore IPAD as new this will get rid of any bugs. Also later on website check for any Firmware update for your make of Router. Cheers Brian

  • HELP PLEASE!  I logged in with my iCloud account and merged her contacts with mine how can I undo this If i log out her contacts erase and stay on my iPhone and visa versa

    HELP PLEASE!  I logged in with my iCloud account and merged her contacts with mine how can I undo this If i log out her contacts erase and stay on my iPhone and visa versa

    One of you will need to migrate to a separate iCloud account, then you can delete the other person's data from each account.
    To migrate to a new account, start by saving an photo stream photos that are not in your camera roll to your camera roll.  To do this, open your my photo stream album, tap Select, tap the photos, tap the share icon (box with upward pointing errow), then tap Save to Camera Roll.  Then go to Settings>iCloud, tap Delete Account, choose Keep on My iPhone when prompted, provide the account password to turn off Find My iPhone when prompted, then sign in with a different Apple ID to create the new account and choose Merge to upload your data.
    You can then each to to your iCloud accounts on icloud.com from your computer and delete the other person's data from your account.

  • Office 365 and On Premise Active Directory Synchronisation

    Hi everyone,
    I'd really appreciate some advice about Office 365 and Active directory synchronisation.
    We are a new business and to begin with started with a simple workgroup scenario with some office 365 mid-size business Office 365 Licenses. 
    We are now at the stage where we want to deploy active directory and I have some concerns about how we can set this up to use with our existing Office 365 setup.
    From what I understand you can set up a link between AD and Office 365 (or hosted exchange) using ADFS or DirSync and Password sync however this all seems based on moving from On premise exchange to cloud based and not the other way around. Has anyone any
    advise on how to setup the link/synchronisation between Office 365 and our new AD that we are deploying?
    Many thanks in advance.
    Alex.

    Hi,
    This is the forum to discuss questions and feedback for Office 365 client, better to post your question to the forum for Windows Server ADFS
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=windowsserver
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Tony Chen
    TechNet Community Support

Maybe you are looking for