Skip to main content
CallTower Solutions Center

Adding Skype for Business Meeting Icon to Outlook Online

This article will walk a user who has admin rights to Exchange through adding the Skype for Business meeting icon to Outlook Online

Prerequisites:

  1. Locally stored version of the environment OAuth Certificate.
  2. Administrator rights
  3. Azure Active Directory Module for Microsoft Online

OAuth certificate:

Steps:

  1. Launch PowerShell as an administrator
  2. Connect to the MSOnline session
  3. Run the below PowerShell script in order. (The section in bold represents the physical path on the local machine where the downloaded OAuth certificate is located.)

Get-MsolServicePrincipal

$certificate = New-Object System.Security.Cryptography.X509Certificates.X509Certificate

$certificate.Import("C:\Temp\ct950oauth.cer")

$binaryValue = $certificate.GetRawCertData()

$credentialsValue = [System.Convert]::ToBase64String($binaryValue)

New-MsolServicePrincipalCredential -AppPrincipalId 00000004-0000-0ff1-ce00-000000000000 -Type Asymmetric -Usage Verify -Value $credentialsValue

Set-MSOLServicePrincipal -AppPrincipalID 00000002-0000-0ff1-ce00-000000000000 -AccountEnabled $true 

$lyncSP = Get-MSOLServicePrincipal -AppPrincipalID 00000004-0000-0ff1-ce00-000000000000

$lyncSP.ServicePrincipalNames.Add("00000004-0000-0ff1-ce00-000000000000/s4b.ct950.com") ​

Set-MSOLServicePrincipal -AppPrincipalID 00000004-0000-0ff1-ce00-000000000000 -ServicePrincipalNames $lyncSP.ServicePrincipalNames 

  1. Verify the script completed successfully by running the following command

Get-MsolServicePrincipal -AppPrincipalId 00000004-0000-0ff1-ce00-000000000000​​​​​​​

Updating the OAuth certificate:

  1. Download a copy of the new OAuth certificate from the link above.
  2. Launch PowerShell as an administrator
  3. Connect to the MSOnline session
  4. Run the below PowerShell script in Order. (The section in bold represents the physical path on the local machine where the downloaded OAuth certificate is located.)

​​​​​​​Get-MsolServicePrincipal

$certificate = New-Object System.Security.Cryptography.X509Certificates.X509Certificate

$certificate.Import("C:\Temp\ct950oauth.cer")

$binaryValue = $certificate.GetRawCertData()

$credentialsValue = [System.Convert]::ToBase64String($binaryValue)

New-MsolServicePrincipalCredential -AppPrincipalId 00000004-0000-0ff1-ce00-000000000000 -Type Asymmetric -Usage Verify -Value $credentialsValue

Set-MSOLServicePrincipal -AppPrincipalID 00000002-0000-0ff1-ce00-000000000000 -AccountEnabled $true