Hi, Today i faced issue when i try to login development machine on cloud hosted. Error says /as a security precaution the user account has been locked because there were too many login attempts/. But in fact today it was my first login. It happens on my builtin//Admin account its not effect builtin//User Does anyone have suggestion ?
If this is hosted in Azure, it may be due to attackers attempting to RDP into the machine. If you have not done so already, I suggest ensuring the Network Security Group associated to the VM is configured to only allow RDP access from your trusted IP addresses.
We recently encountered a recurring issue and wanted to share our resolution steps with the community.
Issue:
Despite restarting the environment from both the Azure portal and LCS and resetting the password for the builtin\Admin user, we faced a persistent issue. Whenever we logged in using the builtin\Admin account, the problem remained. Solution: Here’s how we resolved it:
Log in with an Alternate Account:
Open RDP using the builtin\User account.
Run Command Prompt as Admin:
Open the Command Prompt with administrative privileges using the same credentials provided in LCS.
Modify Local Computer Policy:
Run the following command to open the Local Group Policy Editor:gpedit.msc
Navigate to: Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Account Lockout Policy.
Change the value of Account lockout threshold to 0.
Click Apply and OK.
In the Command Prompt, run:gpupdate /force
·Update Group Policy and Unlock Account:
In the Command Prompt, run: compmgmt.msc
Go to Local Users and Groups -> Users.
Find the builtin\Admin user, right-click, and select Properties.
Uncheck Account is locked out and click OK.
These steps resolved the issue for us. Hopefully, this helps anyone facing similar problems. If you have any further questions or alternative solutions, feel free to share!
D365 consists of many applications, such as Finance and Operations, Sales or Business Central. You're asking in D365 general forum, therefore it's not clear which product you have in mind. Is it F&O?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.