Tag Info

New answers tagged

0

This is the default behaviour. You can change it using following command stsadm.exe –o setproperty –propertyname declarativeworkflowautostartonemailenabled –propertyvalue yes


1

The “SharePoint Active Directory Import” does not mark the profile to be deleted either with incremental or Full Import when they are disabled and only way to remove the obsolete users is as mentioned here Run Full Import Post that run Use SharePoint Management Shell to Run following $upa = Get-SPServiceApplication -id Set-SPProfileServiceApplication ...


0

Couple of things. if you have the User Profile Service enabled then setup a filer to exclude the disable /deleted account from importing.Creating User Profile Synchronization Exclusion Filters using the userAccountControl attribute If you want to remove the user from sharepoint then i recommend to use this powershell script. Funcations: Function ...


0

You can try implementing FBA with AD as the LDAP source for your authentication. This may solve the two identities issue. Check Mirjam's post on the topic: http://sharepointchick.com/archive/0001/01/01/configuring-claims-and-forms-based-authentication-for-use-with-an.aspx


1

For Office 365 Enterprise and MidSize Business you can set a users Password to never expire using Connect to Windows PowerShell by using your company admin credentials. Run the following cmdlet: Connect-MsolService Do one of the following: To set the password of one user to never expire, run the following cmdlet by using the UPN or the user ID of the ...


1

We can use the below command to find out the user AD groups. Run command promt as an admin. Run command - net user (userisid) /domain


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

Elevation of privilege, a feature that was added in Windows SharePoint Services 3.0, enables you to programmatically perform actions in code by using an increased level of privilege. The SPSecurity.RunWithElevatedPrivileges method enables you to supply a delegate that runs a subset of code in the context of an account with higher privileges than the current ...


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


2

I am going to have a guess here and say yes it can work if you install Active Directory without enabling Domain Controller, so if you don't change SharePoint's server domain, it won't affect SharePoint. If it's a virtual machine you can just have a snapshot and try it and see what happens. (That's just a guess, never tried it out. If am wrong please, ...


0

Using .Net 3.5 System.DirectoryServices.AccountManagement; you can query AD using below code string userName = SPContext.Current.Web.CurrentUser.UserName; PrincipalContext oPrincipalContext = new PrincipalContext(ContextType.Domain, "MyDomain","DC=MyDomain,DC=com"); UserPrincipal oUserPrincipal = UserPrincipal.FindByIdentity(oPrincipalContext, userName); ...


0

Never install SharePoint on a Domain Controler in Production environemnt as it is not supported. If it's DEV and you are trying to save resources, it will come with a cost: Workflow Development will not work, you'll loose lots of functions and there might be issues with services like User Profiles or Search. In other words it's not recommended. Resources: ...


0

1st thing if you have standalone installation of SharePoint(using SQL experss) on server then it is not supported. As this is single server install, i would disconnect the farm and then re run the config wizard and recreate the farm. this will save your time on installation part. I would recommend you to setup your dev farm like this: Setting Up an Awesome ...


0

I think you have two options, First Option - directly to query AD and get the required field. Second Option: Create new Property Mapping in the user profile Then run Full sync, it will populate the property in UPA. Now you can retrieve it from UPA.


0

You can add this as a property in User Profile Service Application, then get it synced as part of AD Synchronization. Now instead of querying AD you can query the User Profile Property and use that value. http://blogs.technet.com/b/zaquinn/archive/2012/03/02/custom-ad-schema-attribute-synchronizing-with-sharepoint-2010.aspx



Top 50 recent answers are included