Integrate LinkedIn account connections in Azure Active Directory

You can allow users in your organization to access their LinkedIn connections within some Microsoft apps. No data is shared until users consent to connect their accounts. You can integrate your organization in the Azure Active Directory (Azure AD) admin center.

Important

The LinkedIn account connections setting is currently being rolled out to Azure AD organizations. When it is rolled out to your organization, it is enabled by default.

Exceptions:

  • The setting is not available for customers using Microsoft Cloud for US Government, Microsoft Cloud Germany, or Azure and Office 365 operated by 21Vianet in China.
  • The setting is off by default for tenants provisioned in Germany. Note that the setting is not available for customers using Microsoft Cloud Germany.
  • The setting is off by default for tenants provisioned in France.

Once LinkedIn account connections are enabled for your organization, the account connections work after users consent to apps accessing company data on their behalf. For information about the user consent setting, see How to remove a user’s access to an application.

Enable LinkedIn account connections in the Azure portal

You can enable LinkedIn account connections for only the users you want to have access, from your entire organization to only selected users in your organization.

  1. Sign in to the Azure AD admin center with an account that's a global admin for the Azure AD organization.

  2. Select Users.

  3. On the Users blade, select User settings.

  4. Under LinkedIn account connections, allow users to connect their accounts to access their LinkedIn connections within some Microsoft apps. No data is shared until users consent to connect their accounts.

    • Select Yes to enable the service for all users in your organization
    • Select Selected group to enable the service for only a group of selected users in your organization
    • Select No to withdraw consent from all users in your organization

    Integrate LinkedIn account connections in the organization

  5. When you're done, select Save to save your settings.

Important

LinkedIn integration is not fully enabled for your users until they consent to connect their accounts. No data is shared when you enable account connections for your users.

Assign selected users with a group

We have replaced the ‘Selected’ option that specifies a list of users with the option to select a group of users so that you can enable the ability to connect LinkedIn and Microsoft accounts for a single group instead of many individual users. If you don’t have LinkedIn account connections enabled for selected individual users, you don’t need to do anything. If you have previously enabled LinkedIn account connections for selected individual users, you should:

  1. Get the current list of individual users
  2. Move the currently enabled individual users to a group
  3. Use the group from the previous as the selected group in the LinkedIn account connections setting in the Azure AD admin center.

Note

Even if you don’t move your currently selected individual users to a group, they can still see LinkedIn information in Microsoft apps.

Get the current list of selected users

  1. Sign into Microsoft 365 with your administrator account.
  2. Go to https://linkedinselectedusermigration.azurewebsites.net/. You will see list of users who are selected for LinkedIn account connections.
  3. Export the list to a CSV file.

Move the currently selected individual users to a group

  1. Launch PowerShell
  2. Install Azure AD module by running Install-Module AzureAD
  3. Run the following script:
$groupId = "GUID of the target group"

$users = Get-Content 
Path to the CSV file

$i = 1
foreach($user in $users} { Add-AzureADGroupMember -ObjectId $groupId -RefObjectId $user ; Write-Host $i Added $user ; $i++ ; Start-Sleep -Milliseconds 10 }

To use the group from step two as the selected group in the LinkedIn account connections setting in the Azure AD admin center, see Enable LinkedIn account connections in the Azure portal.

Use Group Policy to enable LinkedIn account connections

  1. Download the Office 2016 Administrative Template files (ADMX/ADML)

  2. Extract the ADMX files and copy them to your central store.

  3. Open Group Policy Management.

  4. Create a Group Policy Object with the following setting: User Configuration > Administrative Templates > Microsoft Office 2016 > Miscellaneous > Show LinkedIn features in Office applications.

  5. Select Enabled or Disabled.

    State Effect
    Enabled The Show LinkedIn features in Office applications setting in Office 2016 Options is enabled. Users in your organization can use LinkedIn features in their Office 2016 applications.
    Disabled The Show LinkedIn features in Office applications setting in Office 2016 Options is disabled and end users can't change this setting. Users in your organization can't use LinkedIn features in their Office 2016 applications.

This group policy affects only Office 2016 apps for a local computer. If users disable LinkedIn in their Office 2016 apps, they can still see LinkedIn features in Office 365.

Next steps