How to sync ENTRA ID Custom extension to SPO Custom Property

RajKumar 86 Reputation points
2024-11-15T00:56:45.09+00:00

Is there a proper way to sync extension attribute from ENTRA ID to SPO user profile Custom Property? 

As per Microsoft I created Custom Property with name called "JobLocation". Microsoft is saying that I can use pnp command called Sync-PnPSharePointUserProfilesFromAzureActiveDirectory -UserProfilePropertyMapping @{"JobLocation"="Extension attribute 6"}

But it's not working for me and I don't see my latest PNP powershell has this command available.

 

Is there another way to bulk sync this information from ENTRAID to this custom property?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,386 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,904 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,071 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 36,406 Reputation points Microsoft Vendor
    2024-11-15T02:51:31.66+00:00

    Hi @RajKumar,

    SharePoint Online user profile syncs properties from Azure AD. There are fixed set of properties that it syncs which cannot be changed. See this link for list of properties that SharePoint online syncs from Azure AD. If you would like to sync additional properties you will have to sync manually using a custom application. There is a user profile bulk import API that you can use to import required properties in a scheduled fashion.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.