Outlook 365 app error 1001 on RDS environment ( FSLogix)

Anonymous
2023-07-07T08:25:49+00:00

Hello,

We encounter an issue with M365 apps (Outlook, Work, Excel) on a specific environment ( Remote Desktop Service)

Sometime, when an user open his application (Outlook for instance) on a RDS, an authentification pop and ask for credentials. If the user enter his credentials, he encounter a 1001 error.

« We encountered an issue [1001] »

https://learn-attachment.microsoft.com/api/attachments/5a947921-955a-4688-ad93-acc305bf77c6?platform=QnA

We already try some step to resolve the issue that help in some case but not all the case, and not defintely for a same user ( Issue occur again) :

  • Clear folder C:\Users*yourusername*\AppData\Local\Microsoft\OneAuth and  C:\Users*yourusername*\AppData\Local\Microsoft\IdentityCache
  • Move the user from 1 TSE server to an other TSE)e
  • Clear FSlogix User profil ( The specific one link to FSLogix Office 365 Container technology )

The main issue is that the error can occur again few day laterfor the same user.

We also generate some log from M365 apps client during the signin process with this link to help : https://learn.microsoft.com/en-us/office/troubleshoot/diagnostic-logs/how-to-enable-office-365-proplus-uls-logging

In the log I find the reference to the 1001 error but the log is a bit complex to understand or analyse.

0xa3e4	Microsoft Outlook	Identity Authentication Client	48cmb	Monitorable	OneAuth log {"Message": "[MSAL:0004]\tERROR  \tErrorInternalImpl:134\tCreated an error: 58tm1, StatusInternal::Unexpected, InternalEvent::None, Error Code 2147942403, Context '(pii)'", "IsError": true}	

07/07/2023 09:04:21.440	OUTLOOK (0x8b30)	0xa3e4	Microsoft Outlook	Identity Authentication Client	48cmb	Monitorable	OneAuth log {"Message": "[OneAuth:Error:58tm1:db6d7d6e-a557-4465-a968-a874c5e456e5] (Code:1001) An unexpected error occurred.", "IsError": true}	

07/07/2023 09:04:21.440	OUTLOOK (0x8b30)	0xa3e4	Microsoft Outlook	Identity Authentication Client	48cmb	Monitorable	OneAuth log {"Message": "[OneAuth:Error:9vdpp:db6d7d6e-a557-4465-a968-a874c5e456e5] Unexpected error code: 1001", "IsError": true}	

Environment :

  • Microsoft FSLogix version : 2.9.7654.46150
  • Office version : version 2305 build 16501.20228
  • OS version : Windows Server 2019 Standard 1809 build 17763.4499
Outlook | Windows | Classic Outlook for Windows | For home

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

278 answers

Sort by: Oldest
  1. Anonymous
    2024-01-31T15:21:10+00:00

    We had this problem about 2 months ago for a couple of weeks and then it stopped for us on it's own but last week it's come back however we have changed the version and release of Office on our RDS servers without success BUT we have 6 RDS servers, 4 of them are covered by FSLOGIX and a broker

    and 2 are independent using local profiles and the one's using local profiles never had ANY issues so certainly for us it looks all down to FSLOGIX so i disabled the ability to roam identities, ran GPUPDATES and then rebooted all and straight away all worked fine for the past 6 days. We'd had a few residual people having to log back in when opening Outlook but then once logged in they've been fine.

    It seems different setups and different people may have different issues but in a 2022 RDS scenario with FSLOGIX profiles and Office 365 app for business (or Enterprise - any version) then this has fixed it for us (at least for now)

    I did also run the 2 commands to re-register these packages but i didn't run these on the non-FSLOGIX servers and again they've had no issues so i think we can discount these as being the fix for us (unless they fixed something that the FSLOGIX servers had broken)

    Add-AppxPackage -Register  "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown 
     
    Add-AppxPackage -Register  "$env:windir\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-01-31T15:37:50+00:00

    Hi everyone!

    I've been following this thread for a while and so far, our client's environment has been stable since end of November. Here are the things to note so far:

    Deploy these registry keys:
    [HKLM\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin]

    "BlockAADWorkplaceJoin"=dword:00000001

    [HKLM\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin]

    "autoWorkplaceJoin"=dword:00000000"

    **Delete these registry keys, if possible, Microsoft doesn't recommend using these anymore:**Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity

    EnableADAL

    DisableAADWAM

    DisableADALatopWAMOverride

    **If you're using FSLogix, make sure to enable this policy through main GPO:**RoamIdentity

    Lastly, if users did register the RDS to Azure AD, might have to follow these steps:- Download (WPJCleanup.zip) https://download.microsoft.com/download/8/e/f/8ef13ae0-6aa8-48a2-8697-5b1711134730/WPJCleanUp.zip

    • Extract and run the .cmd file
    • Confirm if the WorkPlaceJoined indicates "NO"
    • Reenter credentials to outlook (might have to log out and log back in to the RDS)

    Let me know if that helps or not. We're looking to deploy this to other clients since it appears to be working fine but I hope it helps with your case.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-01-31T15:39:38+00:00

    HI Ian,

    This is also only happening with additional account in outlook?

    We never have the issue when there is only one account mapped in the outlook.

    thx for your reply.

    Kind regards

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-01-31T16:03:36+00:00

    Hi Grim,

    Unfortunately no other solution has been found yet. a downgrade is necessary and since then we have had no more 1001 errors.

    Regards

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-01-31T16:13:11+00:00

    This was happening for users with and without other mailboxes so there was nothing definitive for us in this respect. This only thing we can say with any certainty (at least in our environment) is that 2 separate 2022 RDS servers with 365 Apps for Business on that are not using FSLOGIX (or UPD) and are not covered by an RDS broker (although i don't think that matters) have never had a single issue but the 4 RDS servers that we use FSLOGIX on have regardless of which version of Office we put on have loads of issues. Also with certainty that the users that have had this issue and that we've bounced between the FSLOGIX rds servers without success then ALL work when put onto the 2 independent servers so again the same version of Outlook, same user, same workplace join etc on both environments but only have an issue on the ones with roaming profiles (i.e. FSLOGIX and possible UPD if we had them).

    The fact I then disable Roaming Identities on the FSLOGIX servers and the problem goes on all the accounts in one go makes me think that this is our fix in that when we've had this problem with say User A we would then bounce them from Server A onto Server B and then sometimes the issue would go away but sometimes not makes me think that the mechanics to move identities between servers isn't working ALL the time and so getting sporadic results.

    I'm not sure if anyone on here has had these issues when using local profiles on the RDS servers (so without any roaming profiles setup) have they ?

    EDIT: Just noticed on AFABIA's post they stated to enable roamidentity but it was disabling it that i think worked for us:

    Error “Something Went Wrong [1001]” signing in to Microsoft 365 Desktop Applications - Microsoft Support

    It was scenario 2 that i followed where they said "user profile data is being roamed and that can cause identity and authentication data components to be in a bad state" and that seems to fit in with our scenario (we also have stopped our appdata being redirected through folder redirection GPO a while ago)

    Was this answer helpful?

    0 comments No comments