Wednesday, June 15, 2022

Sync Local Active Directory Updates to Azure

Manual Azure AD Connect Syncing 



With an Azure AD connect server on site in your data center or in your server closet, you'd expect syncing to Azure from your local Microsoft AD would be quick. It is for password changes which are nearly instantaneous however other Active Directory property changes to user properties or group membership are not synced so quickly. Microsoft has restricted syncing to the lowest available frequency of 30 minutes.  

Update Azure AD by syncing manually

Logon to your Azure AD connect sync server and open a n elavated PowerShell command prompt. As shown in the image, enter the command Start-ADSyncSyncCycle -PolicyType -Delta

                             C:\>Start-ADSyncSyncCycle -PolicyType -Delta

the command when run will output a simple line indicating it ran successfully. If an error appears, search on the keywords or error code. The error will also be logged in the local Azure Sync server's Windows Eventlog.  So look in the windows log for more details if needed.  Common errors are related to  accounts used for the local system to interact with Azure. Issues with the Azure Sync server or other applications on servers and desktops can be resolved with support software. Software for Online computer support is commonly used over the Internet to access systems remotely and give technical support on-demand full access to the remote system to troubleshoot and resolve application problems. Online desktop support software is not limited to desktop computers but can be utilized to access servers remotely and even enable maintaining network devices. 

When the command is run , it will execute immediately and provide a success result as output. the changes on Azure however may take a few seconds to appear.  If the updates made in the local Active Directory don;t appear in Azure after waiting a long 15 minutes, there is another issue. You may try running the command again to accommodate slow local AD replication or force local AD replication. 

Speed-up Local AD Sync 

The following command will speed-up local Active directory replication. i sue it all the time on client domain controllers when i suspect a low replication process is preventing changes or additions to propagate through the domain. 
                                  repadmin /Syncall / APeD




Share/Save/Bookmark



.

Friday, April 29, 2022

No Access to vCenter VAMI UI


      No Access to vCenter VAMI



Share/Save/Bookmark

If the the UI (the vcenter FQDN hostname:5480) loads but you cannot login knowing the password is 100% accurate because for example you can login to the console or using SSH tool like Putty for remote access. 

The UI loads but login attempts fails to VAMI. This could be caused by the application service not being started.


Using the console or putty for access, login and run the following command to start the service. 

              # service-control --start applmgmt 

From the screen shot you could see that the command runs, starts the application management service and indicates the status as STARTED. 

This process worked for me perfectly however, during the process the root user for vcenter had been locked out do to too many failed login attempts. of course because repeated attempts to access VAMI UI, thinking it was the incorrect password or the password had been changed for root access, incorrect passwords were entered. 

The root account will lockout after 3 bad login attempts .  The default timeout before the account unlocks is 5 minutes for the root account of vcenter.  As long as the default has not been changed, wait another five minutes before trying to login even to the console for access or through Putty for access. 

You may also try the following command to reset the root password lock or wait 5 minutes. 

              pam_tally2 -–user=root --reset
                               

You can check if the default is still the lock out value. 

cat the file . 

      /etc/pam.d/system-auth




Look for root_unlock_time=300 in the output . The value of 300 means five minutes so just be patient. 

      

Sorry I don't have a screen shot for that step.  My session had timed out and it was lost. I know, i could have just re-created the problem to get the screen shot but didn't want to lock my root account again for a screen shot and i had to move on. It safe to say that readers of this post will have the technical experience to manage without that screen capture.  

The following is a great instructional document for installing vCenter vSphere by Dell EMC. Dell EMC PowerEdge Servers Installation Instructions and Important Information Guide



Provide better support to your end users and clients. Whether you're a one person business servicing your clients from small office or home, or a mid-sized to large MSP provider of remote IT services, 4RemoteSupport software for online desktop support  improves the level of service. Most MSP and and individual tech support services provide remote access support using more than one support software. 
Remote access software that requires an agent installed on remote computers for re-connections often costs more than software for online desktop sharing when required only. Agent based keeps a service running and usually incurs a charge per remote desktop. Non-agent based remote desktop client  software permits remote desktop connections when needed and usually and triggered by the remote desktop user. Most providers have both types of support tools used for different situations. 4RemoteSupport online desktop support software doesn't require any software or framework services preinstalled. It works with all browsers. No browser extensions or plugins needed.