Home

SharePoint User profile country property

%3CLINGO-SUB%20id%3D%22lingo-sub-1393809%22%20slang%3D%22en-US%22%3ESharePoint%20User%20profile%20country%20property%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1393809%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20want%20to%20be%20able%20to%20sync%20the%20user%20profile%20%22country%22%20property%20from%20Azure%20AD%20to%20SharePoint%20online%20user%20profile.%20I%20believe%20%22Country%20is%20not%20a%20default%20set%20of%20s%3CSPAN%3Eynchronized%20attributes%20from%20Azure%20AD%20to%26nbsp%3BSharePoint%20Online%20user%20profile.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20know%20I%20have%20to%20use%20a%20script%20(%3CA%20href%3D%22https%3A%2F%2Fwww.tatvasoft.com%2Fblog%2Fsync-azure-ad-extension-attribute-with-user-profile-service-custom-property-in-office-365%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.tatvasoft.com%2Fblog%2Fsync-azure-ad-extension-attribute-with-user-profile-service-custom-property-in-office-365%2F%3C%2FA%3E)%20to%20sync%20the%20custom%20property%20from%20Azure%20AD.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EDoes%20anyone%20know%20what%20is%20the%26nbsp%3BAzure%20Directory%20attribute%20for%20%22Country%22%20so%20I%20can%20use%20to%20sync%20up%20to%20the%20User%20profile%20via%20script%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eor%20if%20anyone%20know%20a%20better%20method%20of%20getting%20the%20user%20%22country%22%20field%20into%20the%20SharePoint%20user%20profile.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECurrent%20environment%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EUser%20attributes%20from%20AD%20FS%20sync%20to%20Azure%20AD%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESharePoint%20online%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1393809%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1394700%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20User%20profile%20country%20property%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1394700%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EPlease%20check%20the%20below%20URL%20of%20a%20'SPUPSProperty%20Sync'%20web%20part%20that%20provides%20various%20options%20to%20sync%20the%20properties%20from%20Azure%20AD%20to%20SharePoint%20UPS.%20Please%20check%20it%20out%20and%20let%20me%20know.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-spupsproperty-sync%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fpnp%2Fsp-dev-fx-webparts%2Ftree%2Fmaster%2Fsamples%2Freact-spupsproperty-sync%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20it%20helps%2C%20please%20like%20it%20or%20mark%20it%20as%20a%20solution%20if%20it%20resolves%20ur%20clarification%20or%20issue%3CBR%20%2F%3E-Sudharsan%20K...%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hello,

I want to be able to sync the user profile "country" property from Azure AD to SharePoint online user profile. I believe "Country is not a default set of synchronized attributes from Azure AD to SharePoint Online user profile.

 

I know I have to use a script (https://www.tatvasoft.com/blog/sync-azure-ad-extension-attribute-with-user-profile-service-custom-pr...) to sync the custom property from Azure AD.

 

Does anyone know what is the Azure Directory attribute for "Country" so I can use to sync up to the User profile via script?

or if anyone know a better method of getting the user "country" field into the SharePoint user profile.

 

Current environment

User attributes from AD FS sync to Azure AD

SharePoint online 

1 Reply
Highlighted
Hi,
Please check the below URL of a 'SPUPSProperty Sync' web part that provides various options to sync the properties from Azure AD to SharePoint UPS. Please check it out and let me know.
https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-spupsproperty-sync

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...