Windows Live Error: "Error retrieving AzureAD profile"

Problem statement

The following error is received in the tenant logs when users are creating the account during login via WindowsLive social login.

"description": "Error retrieving AzureAD profile"

Solution

On October 26th, 2017 Microsoft announced the deprecation of the Live Connect API and Live SDK. This is a Microsoft deprecation that will affect Auth0 customers using the Microsoft social connection. Affected customers were notified at the time.

These are the steps required to fix the problem:

  1. Open the Microsoft Account connection in the Dashboard.
  2. Select “Azure AD (personal accounts)” in the ‘Strategy Version’ field. Once this step has been completed, user authentication will be performed using Azure Active Directory v2.
  3. If calling Microsoft’s APIs from applications, Migrate from Live SDK to Microsoft Graph.