Share via

Office lens token error

Anonymous
2017-10-18T16:17:22+00:00

When i try to export an image to pdf, i receive the following error: the user credentials are needed to obtain access token. Please call the non silent acquiretokenwithresource methods. Any suggestions?

i am on an iphone 6 which i have just upgraded to ios 11. I am able to access my onedrive files from my phone.

Ian

Moved From: OneDrive / Working with files and folders on OneDrive / Adding and removing files and folders / OneDrive App for iPhone / iPad (iOS)

Microsoft 365 and Office | Install, redeem, activate | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-01-24T20:10:40+00:00

Hello All,

SOLUTION BELOW (iOS 11.2)

I tried many times to get this to work and nothing was helping.  I played wit reinstalling the apps, deleting my company portal app, everything, and it all failed to fix the problem.  I thought I would have to switch to a new app but then I found the problem buried in the settings.  The app needed to re-qualify it's credentials, but some settings stored in the iPhone wouldn't let it.  Here's how to fix it: 

You most likely have OneDrive installed on your phone, and this solution assumes you do.

  1. Open settings
  2. Scroll down to "OneDrive" and tap to open the settings
  3. Toggle the switch labeled "Clear Account Settings"
  4. Close all associate OneDrive connected apps, including Office Lens.
  5. When you reopen Office Lens, sign back into your OneDrive account within the app

You should now be able to upload PDFs direct to OneDrive again.

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2017-11-02T21:12:17+00:00

UPDATE 2:  I did not realize that my accounts had automatically signed back in to Office Lens when I reset my phone.  I signed out of all of my accounts - both work and personal.  Closed Office Lens; reopened it and signed in again to 2 of my accounts and so far they work just fine.  I have no idea why that changed anything.  All of the exports work.  

iPhone SE

iOS 11.1

Was this answer helpful?

10+ people found this answer helpful.
0 comments No comments

27 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-10-23T19:45:01+00:00

    Hi,

    got the same problem with Office Lens.

    Threw the problem by adding a new account using the same Microsoft account as already added.

    The app did not add a new account but actualized the account parameters.

    Now it works well again.

    Try it.

    Kind regards

    Arne

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-10-31T21:29:07+00:00

    I have removed my accounts in setting. restarted the app and added my account. this time the app worked as expected and the acquiretokenwithresource did not pop up again

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-10-25T06:49:00+00:00

    Thanks for the suggestion. I tried that but for someone reason it would not accept my password. It kept taking me back to the login page with no error message. After that, I tried uninstalling Office Lens, rebooting my iPhone and then reinstalling it .That seems to have cured the problem for me.

    Thanks again.

    Ian

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments