Friday, July 10, 2015

Office 365 Confirm last password change time for users

Open Powershell as Administrator

Run the following:



Get last password change time:
get-msoluser |fl displayname,lastpasswordchangetimestamp


You can export it to a file as well:
get-msoluser |fl displayname,lastpasswordchangetimestamp >c:\passchange.txt

Office 365 Force Password Sync for accounts not updating

Copy and Past the following into notepad and revise the “yourdomain” fields and Save the file as c:\PassSync.PS1

Import-Module ADSync

$adConnector  = "yourdomain.local"

$aadConnector = " - AAD"

$c = Get-ADSyncConnector -Name $adConnector

$p = New-Object Microsoft.IdentityManagement.PowerShell.ObjectModel.ConfigurationParameter "Microsoft.Synchronize.ForceFullPasswordSync", String, ConnectorGlobal, $null, $null, $null

$p.Value = 1



$c = Add-ADSyncConnector -Connector $c

Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConnector $aadConnector -Enable $false

Set-ADSyncAADPasswordSyncConfiguration -SourceConnector $adConnector -TargetConnector $aadConnector -Enable $true

Open Powershell as Administrator

Run the following:



Then either run the PassSync.PS1:


or cut and paste the contents of the script with your revisions into the powershell window and press enter:


You can confirm the password sync details using Event Viewer Application Viewer Event ID’s 657 and 656:


Wednesday, July 1, 2015

Veeam Backup and Replication on Hyper-V backup failure “user-mapped section open” ‘32768,

Problem: Processing configuration Error: Job failed (''_replica' failed to remove resources. (Virtual machine ID 2A4925C2CD25) The Virtual Machines configuration -2A4925C2CD25 at 'E:\HyperV\Replicas\a4a4fe50e973' is no longer accessible: The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8).'). Error code: '32768'.

Solution: Temporarily disable your Anti-Virus and retest the replication. Add Anti-Virus exclusions for Veeam and the Hyper-V Configuration file and virtual disk locations and retest.