An object (User, Group, or built-in security proncipal) with the following name cannot be found

When you are creating a Windows Login in SQL Server go to search and you type in name and click check names and you end you with error something like below.

An object (User, Group, or built-in security proncipal) with the following name cannot be found.

This might happen when the login you are trying create is a Windows Group and you have not selected "GROUPS" in the type Object Types.

To have this done, click on Object Types as shown below.

The check the GROUPS checkbox, click ok and click search again. Your group name will be resolved and will be able to create the login for Windows AD Group.