Insights Configure URLs for Office 365 Using Group Policy and the Registry

Configure URLs for Office 365 Using Group Policy and the Registry

Single Sign On with Office 365 requires that users’ domain joined workstations trust certain URLs.  Otherwise the ADFS server can’t log the user in with the Windows Session credentials and will prompt them to re-enter their username and password.  The solution to configuring this in a larger environment is to use Group Policy to push these URLs out to workstations automatically. The best way to configure the Intranet and Trusted Site zones in Internet Explorer is through the use of Group Policy Preferences.  The problem with Group Policy Preferences is that Domain Controllers on Server 2008 R2 and below can’t configure them for Windows 8 workstations.  When there are many Windows 8 workstations and older domain controllers the Group Policy settings become a little trickier.  Instead of using group Policy Preferences we will have to configure the Intranet Zone using registry entries.

  • Log onto a Domain Controller or another workstation with the Group Policy Management Console installed.  Open the console and expand out your domain
  • You need to create a new Group Policy Object.  I put mine on the OU my user accounts are in, but you could put it at the root of the domain if you have user accounts all over the place
  • hoose a name and click OK.  I chose “Office 365 URLs”
  • Right click the new GPO you created and choose Edit.  This will open the Group Policy Management Editor console.
  • Go to User Configuration –> Preferences –> Windows Settings –> Registry.  Right click in the Registry menu and select New –> Registry Item.
  • In the New Registry Properties menu set Action as Update.
  • Set Hive as HKEY_CURRENT_USER
  • Set Key Path as SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZoneMapDomainsmicrosoftonline.com
  • Set the Value Name as *
  • Set the Value type as REG_DWORD
  • Set the Base as Hexadecimal
  • Set the Value data as 00000001
  • Click OK.  Now any Authenticated Users in the OUs that your policy applies to will have

*.microsoftonline.com put into their Intranet Zone when they receive their next Group Policy update

Now that these have been added these URLs will be added to the Intranet Zone in IE for users regardless of IE version, allowing for the configuration of zones on Windows 8 without Server 2012 Domain