Unable to login automatically
6 min
unable to login automatically issue when attempting to log in to activate, the following error may be displayed { "message" "unable to login automatically \[activateadmin\@3x2gd0 onmicrosoft com]" } the username shown in the error will vary depending on the affected user there are multiple causes for this error the two resolutions below cover common scenarios option 1 run an azure sync cause this error can occur when the user attempting to authenticate is not present in the activate cache activate is therefore unable to match the authenticated user and complete the automatic login process resolution run an azure sync to refresh the user information available to activate after the azure sync has completed confirm that the sync completed successfully retry the login confirm that the user can now log in automatically if the issue persists, check that the affected user is included within the scope of the azure sync and that the sync completed without errors option 2 configure anonymous paths for activate anywhere cause when using activate anywhere , the error can also occur if required application resources are being redirected to authentication instead of being served anonymously anonymous path support was added in activate 8 3 6 to allow specific activate web assets to be accessed through activate anywhere without authentication resolution ensure you are running activate 8 3 6 or later , then update resources/configuration/external web/remoteaccess add the following anonymous path configuration \<anonymouspaths> \<path enabled="true">/manifest json\</path> \<path enabled="true">/favicon ico\</path> \<path enabled="true">/android chrome 192x192 png\</path> \</anonymouspaths> restart or apply the relevant activate configuration changes as required, then retry the login these paths allow the required application assets to be accessed without being redirected through the authentication process for further information, see the activate 8 3 6 release notes https //knowledge activateiam com/836 if the issue persists if the "unable to login automatically" error continues after trying the appropriate resolution confirm the user exists in the activate cache run an azure sync and confirm it completes successfully if using activate anywhere, confirm the anonymous paths are configured confirm the environment is running activate 8 3 6 or later when using anonymous path support check that the identity shown in the error matches the expected user account if these checks do not resolve the issue, further investigation of the authentication flow may be required