Since a few months we have seen a privacy popup of Microsoft come by more and more. It seems to be part of an update released around June 2020. However this popup can block the Login Enterprise automation.
To bypass the issue you can set the following GPOs to disable any Privacy popups from appearing.
Make sure you have the correct ADMX template that corresponds with your office version.