Project saving on GCP
Needed a server on for about 4 hours a day to do some Google Drive operations, needs to be on Google Cloud Platform (GCP) to save on egress. Brushed up on my GCP skills, used GCP preemptive Virtual Machine (VM) Instance, Google Cloud Functions and Google Cloud Scheduler to completed a weekend project in 2 hours. Even had enough time to document it and write this blog page. ENJOY!!
This article covers the automation of fixing a common DirSync/AADConnect issue with duplicate cloud account. The duplicate error, which should look like something below means the Local AD account and the cloud account did not merger due to Immutable ID mismatch. The script will update the Cloud Immutable ID to match the local and accounts will merged
Syntax:
.\UpdateImmutableID -UPN
Example:
.\UpdateImmutableID -UPN bhazeley@techs.o365tech.us