OneDrive login issue - When proxy is enabled

Elanchezhiyan P 100 Reputation points
2023-03-24T12:22:35.7+00:00

Hi Team,

I'm using a Titanium web proxy to block the URL from accessing. When I tried to log in the OneDrive with a normal account, it works fine. But, when I tried with 365 accounts, it has the below error. Attached image and code link for your reference.

Image: https://prnt.sc/-JQLb00YmGlJ
Github: https://github.com/Elanchezhiyan-AIT/BlockURLApp

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,142 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,008 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Hua-MSFT 27,651 Reputation points
    2023-03-27T08:02:24.26+00:00

    Hi @Elanchezhiyan P

    From OneDrive's perspective, I want to confirm whether you can log in to OneDrive online?

    Is there any realted error record in Windows Event Viewer?

    I suggest you check if you have enabled ADAL for authentication. If yes, please add the following registry key:

    Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity

    "EnableADAL"=dword:00000000

    "DisableADALatopWAMOverride"=dword:00000001

    "DisableAADWAM"=dword:00000001

    (Serious problems might occur if you modify the registry incorrectly. Before you modify it, please remember to back up the registry for restoration in case problems occur.)


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.