Skip to content
View in the app

A better way to browse. Learn more.

Kaspersky Support Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Exchange Online consent validation and HTTP error 401 [Kaspersky Security for Microsoft Office 365]

Problem

OAuth consent validation algorithm is the same for Exchange online, OneDrive and SharePoint online. 

Initial steps of consent validation algorithm are basically the following:

  1. A user is redirected to the Microsoft website, where the user agrees to provide necessary permissions for our Azure application.
  2. KS365 receives an OAuth callback confirming that the consent was received. But we do not trust this callback as it can be forged.
  3. The user is redirected to the Microsoft website to receive an access token that will be used for the validation of the user authenticity.
  4. KS365 receives the callback with the access token. After that, the user is redirected to the KS365 website, where the user's session will be started.

Step-by-step guide

When the user is redirected back to our website on the 4th step, they can encounter the HTTP 401 error:

image.thumb.png.645f810fcc09bba6f684e77b80e0e355.png

 

In theory, the user should have successfully authorized as all the necessary data is stored in the browser cookies. Thus, the issue must be on the user's browser side.

In such cases, we recommend to attempt the following:

  1. Try to add the integration with Exchange Online/Sharepoint Online/OneDrive in a different browser (or even try a different host with different browser versions/settings).
  2. Check browser settings related to cookies: if they are supported/enabled, try disabling auto-delete of cookies if it is enabled, etc.

0 Comments

Recommended Comments

There are no comments to display.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.