"Sorry, but we're having trouble signing you in" error when you click the Yammer tile in Office 365


You recently activated Yammer Enterprise by using the Office 365 admin center. The Yammer tile appears in the app launcher, but when you click it, you receive the following error message:
Sorry, but we're having trouble signing you in. We received a bad request.

Screen shot of the


To resolve this issue, the Yammer Service Principal must be enabled. To do this, follow these steps:

Note Before you follow these steps, make sure that the following prerequisites are met:
  1. Verify the Yammer Service Principal is currently disabled. To do this, open Azure Active Directory Module for Windows PowerShell, and then run the following cmdlets.

    Note Press Enter after you type each cmdlet. The response to the last cmdlet should be False.


    $MSP = Get-MsolServicePrincipal -AppPrincipalId "00000005-0000-0ff1-ce00-000000000000"

  2. Change the Account setting for this service principal to True. To do this, run the following cmdlet:
    Set-MsolServicePrincipal -AppPrincipalId $MSP.AppPrincipalId -AccountEnabled $true 
  3. Sign in to Office 365. Click the Yammer tile again to verify that you can sign in.
Still need help? Go to Microsoft Community.

Article ID: 3078123 - Last Review: Dec 29, 2016 - Revision: 1