Category Archives: Office 365

Lync Room System (LRS) Setup with Hybrid Exchange Online Deployment

I’ve found a number of articles that discuss setting up Lync Room System (LRS) with Exchange and Lync On-Premise and with Exchange Online but none that dealt with a Hybrid Exchange deployment.  Below are the steps I used to get LRS configured with Skype for Business Online and Exchange Online with a Hybrid deployment.  For more information on Lync Room System, check on the following link…

https://blogs.technet.microsoft.com/lync/2013/02/19/the-lync-room-system-lrs/

Create Room Mailbox in Office 365

  1. Connect to Exchange Online via PowerShell
  2. To create the Room Mailbox, run “New-Mailbox -room -name “Skype Room Test” -RoomMailboxPassword (ConvertTo-SecureString ‘Password’ -AsPlainText -Force) -EnableRoomMailboxAccount $true”
  3. To configure the required calendar processing, run “Set-CalendarProcessing “Skype Room Test”  -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -DeleteSubject $false”
  4. Log into the Office 365 Portal.  Click on Active Users and find the Skype Room Test.
  5. Change the accounts Email Address / UPN to be “skyperoomtest@domain.com” (where domain.com is your primary UPN suffix).
  6. Assign both a license for Both Exchange and Skype for Business to the account

Create Remote Mailbox On-Premise

  1. Log into the Exchange Admin Center on-premise
  2. Click on Recipients –> Mailboxes
  3. Click on the drop down next to the + sign and select “Office 365 mailbox”
  4. Enter the appropriate account information
  5. Open the new account in AD Users and Computers and verify that the UPN and the primary Mail value match what you set in Office 365
  6. Force or wait for a directory synchronization to run
  7. Verify that the account in the Office 365 Portal shows as “Synced” versus “Cloud”

Enable Lync Room Account

  1. Connect to Skype for Business via PowerShell
  2. Determine an existing accounts Registrar Pool by running “Get-CSOnlineUser user@domain.com | FL Name,RegistrarPool”
  3. To enable LRS, run “Enable-CsMeetingRoom –Identity skyperoomtest@domain.com -SipAddressType EmailAddress –RegistrarPool pool.infra.lync.com” where “pool.infra.lync.com” is the RegistrarPool value determined in Step 2

Fix Skype for Business Integration with Outlook

Verify Presence is Enabled

  1. In Outlook click File à Options à People
  2. Verify that “Display online status next to name” is checked

  3. If this option is greyed out launch Regedit and browse to HKEY_CURRENT_USER à SOFTWARE à IM Providers. Verify that DefaultIMApp is set to “Lync” (this is still the current value even with Skype for Business).

  4. Once this is set close and relaunch Outlook. The “Display online status next to name” should no longer be greyed out and presence information should show up in Outlook.

Steps for Renewing ADFS 3.0 Certificate

The following steps should be performed when the SSL certificate on your ADFS Server is close to expiring…

Preliminary Steps

  1. Make sure you know the username and password for the main domain.onmicrosoft.com Administrator account.
  2. Install the new certificate on the ADFS Server.  If you have a primary and secondary ADFS Server, make sure to install the certificate on both servers.

PowerShell Commands

  1. Launch the standard “blue” PowerShell on the ADFS Server as an Administrator.
  2. Run “Get-ChildItem -path cert:\LocalMachine\My” to determine the Certificate Thumbprint.  Make a note of the thumbprint value.
  3. Run “Set-AdfsSslCertificate -Thumbprint Thumbprint” where Thumbprint is the value from Step 2.
  4. Run “Update-AdfsCertificate –Urgent”.
  5. Run “Connect-MsolService” and enter your Office 365 credentials from Step 1 in the Preliminary Steps section.
  6. Run “Update-MsolFederatedDomain -DomainName “domain.com”” where domain.com is the appropriate domain name. Note you may need to add the “-SupportMultipleDomain” if you have multiple federated domains.

Restart Services

  1. Restart the “Active Directory Federation Service” service.

Test

  1. Attempt to login with an ADFS account and verify the certificate warning is gone.

New Azure AD PowerShell Module and Windows Server 2008 R2

A new version of the Azure Active Directory Module for PowerShell was released in mid September 2014.  You can find the link to it here…

http://aka.ms/aadposh

That’s great except if you are trying to install it on Windows Server 2008 R2.  If you read the link it looks like all you need is the version of .NET and PowerShell that comes with Windows 2008 R2 (3.51 and 2.0 respectively).

When you install the updated version of the AAD Module for PowerShell on a vanilla machine and launch it though you are greeted with this message…

AAD

That doesn’t look good!  I could never find any official support article but I found a couple of hints that it needed PowerShell 3.0.  So I installed Windows Management Framework 3.0 on my system and tested again and it worked.  You can download it here…

http://www.microsoft.com/en-us/download/details.aspx?id=34595

Note, if you are installing this on a production server, make sure you aren’t running any of the unsupported products listed under the System Requirements section.

Hope this helps!

Steps for Renewing ADFS Certificate

The following steps should be performed when the SSL certificate on your ADFS Server is close to expiring. You will start to receive a warning in the Office 365 Portal about 30 days prior to expiration…

Preliminary Steps

  1. Make sure you know the username and password for the main domain.onmicrosoft.com Administrator account
  2. Install the new certificate on the ADFS Server
  3. Make a note of its thumbprint value
  4. Bind the new certificate to the Default Web Site in IIS

PowerShell Commands

  1. Launch the “Microsoft Online Services Module for Windows PowerShell” PowerShell
  2. Run “Add-PSSnapin Microsoft.Adfs.Powershell”
  3. Run “Set-ADFSCertificate -CertificateType Service-Communications -Thumbprint ThumbPrint” where ThumbPrint is the value from Step 3 in the Preliminary Steps section
  4. Run “Update-AdfsCertificate –Urgent”
  5. Run “Connect-MsolService” and enter your Office 365 credentials from Step 1 in the Preliminary Steps section
  6. Run “Update-MsolFederatedDomain -DomainName “domain.com”” where domain.com is the appropriate domain name. Note you may need to add the “-SupportMultipleDomain” depending on how things were initially setup

Restart Services

  1. Restart the AD FS 2.0 Windows Service
  2. Run “IISRESET” to restart IIS and its services

Test

  1. Attempt to login with an ADFS account and verify the certificate warning is gone

Reset ADFS IIS Permissions

If you receive the error “Not Authorized: HTTP Error 401. The requested resource requires user authentication” when trying to connect to your ADFS Server from inside the network here’s what you need to do to reset permissions in IIS…

  1. Launch the IIS Management Console and browse to Default Website
  2. Disable all Authentication options for the Default Web Site as well as the ADFS and LS Virtual Directories
  3. Enable Windows Authentication on the Default Web Site.  Set Extended Protection to “Accept”
  4. Enable Anonymous Authentication on the ADFS Virtual Directory
  5. Enable Windows Authentication on the LS Virtual Directory.  Set Extended Protection to “Accept”
  6. Run an IISRESET

To setup your browser to automatically authenticate you while connected to the internal network do the following…

  1. Open Internet Options in IE and click on the Security tab
  2. Click Local Intranet
  3. Click Custom
  4. Under the User Authentication section enable “Automatic logon with current user name and password”
  5. Click on the Advanced tab
  6. Under the Security section enable “Enable Integrated Windows Authentication”

More information on this can be found at the following Office 365 Forum post…

http://community.office365.com/en-us/f/178/p/6460/30698.aspx