Skip to main content

All Questions

1 vote
0 answers
1k views

SharePoint 2019: filter users and groups in People Picker with ActiveDirectoryCustomFilter

We are currently trying to filter the People Picker in SharePoint 2019 for users and groups, but we have a little bit of trouble. Currently, we have the following filter: (&(objectCategory=person)(...
Lancelot's user avatar
  • 175
1 vote
2 answers
1k views

AD powershell script to remove contact information [closed]

Is there a PowerShell script or some tool to help me remove additional Contact information from all/certain users in Active Directory. There is First name, Last name and Display name which is fine ...
Martin Kotrč's user avatar
0 votes
1 answer
8k views

SharePoint 2016 - How do you bulk add users to a new user group without AD or PowerShell that are already has users in SharePoint?

We have SharePoint Enterprise 2016 at my work. All users from all departments and units are already in the Global AD which is connected to SharePoint. I want to create a user group in bulk from a ...
rockower's user avatar
  • 103
2 votes
1 answer
935 views

Remove Inactive Admins from SharePoint site collection

Can anybody tell me how to identify and remove inactive administrators in a SharePoint site collection using power shell ?
Rohit Kharade's user avatar
2 votes
1 answer
5k views

Powershell script to get user permissions

I need a script that will list all sites within a web application with their users and given permission. I found this script which will do basically the same I need, with one problem. It won't get ...
ranbo's user avatar
  • 949
0 votes
1 answer
1k views

unable to update user profile properties with custom value

I am using a custom powershell script to update SharePoint Online user profile property (mobile number) with a custom value reading from a text file. but it is always throwing the error as ...
kesava's user avatar
  • 2,176
2 votes
1 answer
874 views

Using PowerShell with CSOM to grant permissions to AD security groups

I have been testing out the provisioning of team sites using Powershell CSOM calls working against an on premise SharePoint 2013 farm. Creating Team Sites this way is very easy. One of the great ...
westerdaled's user avatar
1 vote
1 answer
3k views

Deleting and creating the Domain Group "Everyone" in Sharepoint 2013 using Powershell CSOM

With Powershell CSOM and SharePoint 2013, I am trying to reset the permission to the domain group "Everyone", with the name "c:0(.s|true". Therefore I want to delete and recreate it, so that all the ...
Coder1234's user avatar
0 votes
1 answer
161 views

Update AD attribute from a data list

I'm new to SharePoint. We have a list of AD objects that we are looking for owners. We are using SharePoint to store the data and send email out to people to accept or deny ownership to the AD object (...
Nat's user avatar
  • 1
1 vote
0 answers
430 views

EnsureUser has a limitation?

We're converting all SP permissions into ActiveDirectory groups (one per uninherited object, per role level). I wanted the group names to reflect where the permissions were/are, so I assigned each ...
Christopher's user avatar
1 vote
1 answer
3k views

Set password policy for specific user in O365?

In Office 365, I have a workflow that runs in the context of another user - a service user. The service users password gets expired after 120 days and then has to be edited, like it does for all other ...
Ilyas's user avatar
  • 1,341
4 votes
5 answers
20k views

How to add AD Group to SharePoint Group using Powershell

I want to create a SharePoint Group named "SomeGroup" and then want to add crossponding Active Directory Group to this SharePoint Group "SomeGroup". I have searched but not found any good example to ...
SPBeginer's user avatar
  • 2,547
3 votes
2 answers
10k views

Powershell script to get list of AD groups used from site collections in SharePoint 2010

I need to list all the AD groups used in all the site collection. Can any one please help. $SPWebApp = Get-SPWebApplication https://*******.com/ foreach ($SPSite in $SPWebApp.Sites) { write-host ...
Rajeev K's user avatar
  • 331
1 vote
1 answer
3k views

Migrating user accounts from one AD domain to another AD Domain using Powershell

Is there any Powershell command to migrate all the 1000+ user accounts from old AD domain to new domain? If yes, what will be the possible powershell script? Any sample Powershell script or reference ...
SPBeginer's user avatar
  • 2,547
2 votes
2 answers
5k views

How to migrate AD domain groups in sharepoint 2010

I want to migrate AD domain group "old\abc" to "new\abc"" domain in sharpeoint 2010 using powershell. I am using powershell to run stsadm -o migrategroup –oldlogin old\abc –newlogin new\abc but I ...
SharePointMan's user avatar

15 30 50 per page