cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OAuth 2.0 Microsoft Token Error after power or Internet outage

Jkirby555
Apprentice

Hello,

We are using OAuth 2.0 (Microsoft) to authenticate for the scan and send function. Whenever there is a power or internet outage OAuth Breaks with a Token error status.

Short outages of a few minutes do not seem to break Oauth, but anything over an hour does.

Any advice on this issue would be greatly appreciated.

3 REPLIES 3

Tiffany
Moderator
Moderator

Welcome to the forum!

So that the Community can help you better, let us know what model Canon equipment. 
Any other details you'd like to give will only help the Community better understand your issue. The forum is not intended for immediate support. If this is a time-sensitive matter, click HERE search our knowledge base or find additional support options HERE

Hi Tiffany,

This isn't limited to one particular model. We have several different ImageRunner models that all face the same issue. While I know Canon doesn't support ImageRunner's directly, I believe the problem has more to do with the app used for OAuth.

It could be related to how OAuth is handled. However, nobody in this community will be able to help troubleshoot that issue with you because we do not have access to the imageRUNNER machines, the software they use, or how they do what they do (i.e., the setup process to configure OAuth). 

Credentials not persisting beyond a power loss or internet outage is kind of a big deal, so if it were a widespread issue, I'd like to think a lot of others would have reached out before now. That makes me wonder if it could be an issue with the configuration. OAuth 2.0 configuration is not easy to implement.  - it requires in-depth knowledge about the Microsoft Graph API, Entra, and the details of how security in your organization works (including token expiration). 

Having said all that, please know that I am not a tech support person. What I've said above is what I know from my own personal experience using the Microsoft Graph API, and trying and failing numerous times to setup various ways to send/receive mail. It is not easy at all. There is no "app" that interfaces between your printer and Microsoft, it's basically a form so the data you put in gets fed to Microsoft. It's validated, and the machine can then access Microsoft services. What is probably happening is the token is expiring by design - when you setup an access token, you have to give it an expiration date for security purposes. The printer may not be getting kicked out of your Microsoft account when the credential expires because it was already validated as a safe device, but when it comes back on after power or internet outage, it re-validates and Microsoft doesn't recognize the expired token. You'll need to check your token in Entra. That's not something we can help with, it's part of MS365.

Announcements