Forcing Azure AD Connect Sync
Aug29

Forcing Azure AD Connect Sync

KB ID 0001590 Problem If you are using Azure AD Connect, (AAD Connect) to sync your on-premise Active Directory with Azure AD (i.e. for Office 365), then there may be times when you need to manually ‘force a replication’ because by default it’s going to take 30 minutes between each normal ‘delta replication’ Solution If you are directly on the server that’s running Azure AD connect, then use the...

Read More
PowerShell: Add All Members of an OU to a Security Group
Aug28

PowerShell: Add All Members of an OU to a Security Group

KB ID 0001589 Problem I’ve written in the past about ‘Bulk Adding Users from CSV files, into Groups’. But what if you want to add ALL users in a particular OU into a security group? Solution The syntax is; Get-ADUser -SearchBase ‘OU=Source-OU,OU=PNL,DC=pnl,DC=com’ -Filter * | ForEach-Object {Add-ADGroupMember -Identity ‘SG-Test-Group’ -Members $_ } Here I’ve got 20 users that need adding to a group, in this...

Read More
DC Promotion fails ‘FRS is Depreciated’
Aug13

DC Promotion fails ‘FRS is Depreciated’

KB ID 0001579 Problem Error seen when attempting to add a new domain controller to an existing domain; Verification of replica failed. The specified domain {Domain-Name} is still using the File Replication Service (FRS) to replicate the SYSVOL share. FRS is depreciated. The server being promoted does not support FRS and cannot be promoted as a replica into the specified domain. You MUST migrate the specified domain to use DFS...

Read More
Exchange: Hide All Contacts From Global Address List
May30

Exchange: Hide All Contacts From Global Address List

KB ID 0001564 Problem I saw this on EE this evening, so I thought I’d work it out, what if your Global Address List is full of external ‘contacts’, and you want to remove/hide them? Solution First take a look at them, to see you’re not about to cause any damage! Get-MailContact | Where-Object {$_.HiddenFromAddressListsEnabled -eq $false} If you are happy, to remove/hide them from the GAL, simply do the...

Read More
Exchange: ‘Can’t find the Organizational Unit that you specified’
May30

Exchange: ‘Can’t find the Organizational Unit that you specified’

KB ID 0001561 Problem I’ve not actually seen this myself, but it was asked on a forum, and I managed to replicate it on the bench. When working on a user or mailbox in Exchange  you may see the following error; Error Can’t find the organisational unit that you specified, Make sure that you have typed the OU’s identity correctly Solution This happens because you have a ‘Slash’ ‘/’in the...

Read More
ADFS Logon Page: Change Images and Logos
May22

ADFS Logon Page: Change Images and Logos

KB ID 0001556 Problem There are a lot of things that can be customised on the ADFS logon page, but most people just want to change the image, and the ‘Company Logo’. Note: By default the company logo is just the Federation Service Display Name but you can replace that with a logo of you own. Replace ADFS Logon Page Main Image As per Microsoft recommendations; “We recommend the dimensions for the illustration to be...

Read More