since it only works when you use run as, something must be wrong with the login workflow. Check the workflow and then login normally on desktop if all looks ok and check your debugger to see what’s happening.