BTW - all systems are on 22H2.
We can't sign you in at the moment, error code: 13, 15,-2146893802
On a local domain joined Windows 11 Pro computer, where the primary profile is logged/synchronised using a Microsoft 365 tenant, attempting to add additional profiles to access other M365 tenants is fraught with difficultly. I support four clients each with their own M365 tenant which I've got separate Edge profiles. All of them signed in fine the first time but two of them have signed out whilst two remain signed in. This is the error that shows on the profile that isn't synchronising anymore:
If you try and turn on Sync in the profile settings, nothing happens. If you sign-out, you're up a creek without a paddle because you get this error trying to login:
Once you've got this error, you can't access that tenant ever again. Even removing the Edge profile and adding a new one doesn't help. The above error occurs again. The only solution I had was to restore the PC to an earlier Macrium Reflect image.
This is on Windows 11 Pro but I've managed to repeat the same problem on a test Windows 10 Pro virtual machine. The primary M365 tenant was added as an account to the domain joined PC by accepting this prompt:
This ends up with this account setting:
3 answers
Sort by: Most helpful
-
-
Rob Nicholson 51 Reputation points
2022-12-12T12:19:13.437+00:00 Another scenario where M365 profiles are messed up. Brand new Windows 11 test build:
- Windows 11 Pro 22H2 in test VM (not activated)
- Logon initially as a Microsoft personal account (as you can't join domain during setup)
- Windows updates
- Joined to local domain
- Logged on as domain account
- Synchronise Edge using my own M365 tenant/email and select the option to "Stay logged in"
- Add second profile for another M365 tenant
- Try and open their SharePoint home page
I get the error "You need permission to access this site". This is because Edge is attempting to logon (incorrectly) using the account added to Windows in step 6 and not the client's email acccount. It fails because my own M365 tenant/email is added as a guest to the client's M365 tenant (as they have shared documents with me), i.e. rob.nicholson@mydomain.com is present in the Azure AD for the @theclient.com.
I'm pretty sure that if I deleted my own guest account in the client's Azure AD, that this issue would go away and I'd be able to open their SharePoint home page using the correct account.
The core problem in this instance (but I suspect it's linked to sync problems) is that Edge is attempting to use the account that's added here to authenticate against the tenant. This behaviour is IMO wrong when you're set-up a separate Edge profile for the very reason of isolating settings, accounts etc.
-
Brent Newland 0 Reputation points
2023-08-22T20:41:51.0333333+00:00 I have had this issue for the longest time, and I think I fixed it.
Go to PC Settings > Accounts > Email & Accounts
Add the account that is giving you the -2146893802 error here.
Go back to Edge and click Sign In.
My account started syncing immediately.