If OneDrive and Microsoft 365 credentials are not being saved in your FSLogix deployment (Azure Virtual Desktop, Citrix etc.) this registry key might help you. There is also a corresponding GPO that does the same.
HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix\Profiles
DWORD – RoamIdentity
Value – 1
Sources:
https://blog.rdorman.net/onedrive-avd-fslogix-password-prompts/