Tag Info

Hot answers tagged

2

I have a Powershell function in my profile (it also handles loading all the CSOM modules too) that looks like this: #This will handle iterating through all the OD4B sites that have been provisioned #and setting an eDiscovery SCA and any other SCAs as necessary $sca = "user@domain.com" $Password = Read-Host -Prompt "Please enter your password" ...


2

You can expand the user field using following code CAMLQueryOptions: "<QueryOptions><ExpandUserField>True</ExpandUserField></QueryOptions>" Now you can extract username in success method by using string manipulation.


1

This is very much common error but differnt reason cause this. You should Check the ULS logs, Event Logs(Application, System, setup). that will help to identify the issue. Here are couple of things to check: Make sure you are farm admin account(under which Sync Service is being started) is part of local admin on the sync servers. Reboot the Server after ...


1

when you map property, then you have to make sure following things. properly mapped the property then run full user profile sync followed by incremental sync( as recommended). You can also check the MIISClient while Sync is running, if new property being imported or not.


1

try this one: #PowerShell Script - List All User Profiles - SharePoint 2010 #The scripts is distributet "as-is." Use it on your own risk. The author give no warranties, guarantees or conditions. #Add SharePoint PowerShell SnapIn if not already added if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { ...


1

If it's in a database why not use the BCS to create an External Content Type? Then create a secondary import connection in the User Profile Service and have the properties updated when the Synchronization Timer Job runs? If not then you could just run it as a Windows scheduled job. Heck, you could even ditch the C# for PowerShell.


1

If your VM on the domain then you can configure the User Profile services and create the sync connection. Here are few guidline for you: https://sharepointumar.wordpress.com/2012/12/23/configure-user-profile-service-application-in-sharepoint-2013/ Synchronize user and group profiles in SharePoint Server 2013


1

sorry, too less reputation to add a comment... Answer for: Nice suggestion but the Show Field doesn't contain all properties from the user profile service. I can't see any settings within the user profile property settings page to get extra options to appear. if you want to show custom properties in "Show Field" section of an SPUser field, you ...



Only top voted, non community-wiki answers of a minimum length are eligible