Author: Harri Jaakkonen

Force Full Password Sync with AAD Connect.

I think this was easier with Dirsync, but that product is history. Open Powershell as Administrator and modify this Powershell script: $Local = “Domain.local” $Remote = “tenant.onmicrosoft.com – AAD” #Import Azure Directory Sync Module to Powershell Import-Module AdSync $OnPremConnector =…

Continue Reading Force Full Password Sync with AAD Connect.

Remove SMTP address for a specific domain from all mailboxes.

Here is a handy script to remove obsolete proxyaddresses from all mailboxes. foreach($i in Get-Mailbox -ResultSize Unlimited) {   $i.EmailAddresses |     ?{$_.AddressString -like ‘*@domain.com’} | %{       Set-Mailbox $i -EmailAddresses @{remove=$_}     } } Just replace the domain.com with…

Continue Reading Remove SMTP address for a specific domain from all mailboxes.

Moving a Hybrid user back to Onprem Exchange.

The is a lot of blogs saying weird things on this particular Powershell command. Here the right one. $onrepm = get-credential ‘alias for the user’ | New-MoveRequest -OutBound -RemoteTargetDatabase ‘local database’ -RemoteHostName ‘ewsurl’ -RemoteCredential $onprem -TargetDeliveryDomain ‘localsmtpdomain’

Continue Reading Moving a Hybrid user back to Onprem Exchange.

Get Migration User statistics.

Here how you can get a listing of user statistics during migration: Get-MigrationUser UserPrincipalName | Get-MigrationUserStatistics | select identity,synceditemcount,percentagecomplete 

Continue Reading Get Migration User statistics.

Create UserPrincipalName attribute filter in AAD Connect.

In AAD Connect it’s possible to sync only users with specific UserPrincipalName. And here is how to do it. Open Synchronization Rules Editor Under Rule Types click on Outbound. Find the rule named Out to AAD – User Join. Click…

Continue Reading Create UserPrincipalName attribute filter in AAD Connect.

Lumia 950 XL

Hi, I Got my Microsoft Lumia 950XL today. Redeemed the offer for display dock and waiting it to arrive. Then you will get a blog post on how Continuum really works 🙂

Continue Reading Lumia 950 XL

420 4.2.0 RESOLVER.ADR.Ambiguous; ambiguous address

Today I got an error I have never seen before. 420 4.2.0 RESOLVER.ADR.Ambiguous; ambiguous address To fix it you need to: Go to Start, Control Panel, Administrative Tools Double-click Services Restart the Microsoft Exchange Transport Service And all is well.

Continue Reading 420 4.2.0 RESOLVER.ADR.Ambiguous; ambiguous address

Exchange Online EOP Block lists

Hi again, Note for my self and others. Office 365 user five RBL-lists to define what is spam and what is not. https://technet.microsoft.com/en-us/library/dn458545(v=exchg.150).aspx Cheers,

Continue Reading Exchange Online EOP Block lists

Add a PIN code to Windows 10.

Couldn’t do it, could you? Here is how to fix it. 1. Start > Run > gpedit.msc  Enter 2. Expand Computer Configuration >Windows Setting > Security Setting > Local Policy > user rights assignments > a) Double click Access this computer from the…

Continue Reading Add a PIN code to Windows 10.

User has db_owner my mistake.

Hi, When you are trying to remove user from a database, you will get: The database principal owns a schema in the database, and cannot be dropped. (Microsoft SQL Server, Error: 15138) There is a easy fix for this. First…

Continue Reading User has db_owner my mistake.