MIM AD Sync Error: Unable to update the password – Another POV

So we sync AD users from cross-domain (not a single forest). So say from “DC=contoso,DC=com” to “DC=fabrikam,DC=com”. Not getting too much into it, we do some matching and rules extension to convert a few value to match the destination domain. Have recently been seeing the following error when sync engine is trying to enable a […]

Powershell Tip: Send quick Email when a service goes down [Update: And bring it back up]

Yes we have SCOM monitoring and stuff, but if some testing or debugging is going on and do don’t want to do down the hassle of setting up alerts and just simply want to get notified when a service goes down, here is a simple script  

It’s pretty self explanatory. You can also […]

AzureAD: Get List of all users with a particular license

You might have to do reporting and want a list of all users in Azure AD which have a particular license.. Following is an easy way to do so

Get-MsolAccountSku will give you a table of all the License Types you have and count AccountSkuId ActiveUnits WarningUnits ConsumedUnits TENANTNAME:AAD_BASIC 300000 0 1 TENANTNAME:AAD_PREMIUM 300000 […]

Quick Tip: Get local time for next AzureAD Sync

When you run the command

You get an output similar to AllowedSyncCycleInterval : 00:30:00 CurrentlyEffectiveSyncCycleInterval : 01:00:00 CustomizedSyncCycleInterval : 01:00:00 NextSyncCyclePolicyType : Delta NextSyncCycleStartTimeInUTC : 18/05/2017 10:55:42 PM PurgeRunHistoryInterval : 7.00:00:00 SyncCycleEnabled : True MaintenanceEnabled : True StagingModeEnabled : False SchedulerSuspended : False SyncCycleInProgress : False You will notice that the time is in […]