Full error

Something went wrong

We weren't able to register your device and add your account to Windows. Your access to org resources may be limited.

History

Due to a local domain issue, I had to remove my PC from the domain and re-add it. After that my user profile was broken so I used a tool to migrate it. Upon logging in, all my settings were back but I was not logged into my Office 365 apps. When I try to, I get the error above.

After lots of troubleshooting, I created a new local account on my PC and was able to successfully set up Office and login as expected.

Question

How can I fix my current domain-based Windows profile so that I can login to Office using my Office365 credentials?

7

2 Answers

I know this is an old post but this might help someone out there. I forgot I had an existing installation of Office 365 and I keep getting the above error. I ran these commands in CMD (open as admin):

cscript.exe "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /dstatus 

Take note of the last 5 digits of the product key. Then run this command:

cscript.exe "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /unpkey:XXXX 

(replace the XXXX with the last 5 chars of the prod key):

This is only recommended for users who have Office Apps with Office 365 license.

Reference here

1

This worked for me:

HKCU\SOFTWARE\Microsoft\Office\16.0\Common\Identity\EnableADAL REG_DWORD Value: 0

This disables modern authentication for office applications.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy