We as the developers will do the development in Azure hosted Virtual Machines for D365FO. Sometimes we have to use User account for the development where the VM is shared by two members. The recurring issue occurs when opening Visual Studio as the admin password has to be typed manually.
In this article we will learn how to fix this issue by adding administrator rights to a user in very simple steps.
Take a note that, once the changes are done, the VM has to be restarted to reflect changes. Once we logged in with User, the Visual Studio will look like a new application installed where we need re-login to enable source control. Once we login, we get all the earlier mappings again.
Lets understand the process!
Steps to add Admin Rights to User
1) In the VM, search for Computer Management or type Windows + R and then type compmgmt.msc and hit Enter.
2) Navigate to Local Users and Groups >> Groups and then Double Click the Administrators group or Properties or right click the Administrators group and select Add Group.
3) Click Add and type the User Account Name and hit Ok. This User Account will appear as a new record below Admin. Then click Apply to apply the changes.
4) Restart the VM from LCS or Azure to reflect the changes.
This simple piece of tweaks will save lot of time of developers increasing productivity.
PS: The Admin / User Name from those images are just for blog sake and doesn't exist in reality:)
Happy Learning!​​​​​​​