Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException

I already wrote about this topic in the past (http://blog.riccardocelesti.it/an-update-conflict-has-occurred/ – Italian only, sorry guys). If you missed my previous post It was about the SPUpdatedConcurrencyException and how to avoid it. My suggestion was to add a farm property, command-line-upgrade-running and set its value to No. (more…)

Azure RMS Document Tracking

Azure RMS Document Tracking

As part of its continue investments in security Microsoft recently released the public preview (at the moment of this writing) of a new feature of the Azure Rights Management called Document Tracking.

In a few words sharing a document you can now “monitor the use, and thus abuse, of each of these documents shared using a variety of views. If the senders does not like what they see, they can (now) revoke access to the document regardless of where it is stored” (taken from http://blogs.technet.com/b/rms/archive/2015/05/04/doctracking.aspx).

(more…)

Enabling content type on multiple SharePoint lists with PowerShell

Enabling content type on multiple SharePoint lists with PowerShell

In a new project I’m working on I had to create a new Content Type and make it available on all the document libraries in the site collection. I had to choices: browse each document library’s settings page and enable the content type via the UI or let PowerShell do it for me. Since I’m really lazy I chose the scripting way.

A few days ago I published the script on TechNet Gallery,Enabling content type on multiple lists with PowerShell. As you can imagine the script enables a content type on each document library in a site collection. It takes three parameters: site, name and list.

(more…)

Populate SharePoint group from User Profile using Powershell

Populate SharePoint group from User Profile using Powershell

Happy new year everyone!! A few days before the end of the year I published a new script on TechNet Gallery about how to populate a SharePoint group reading from User Profiles using Windows Powershell.

I chose to read from User Profiles instead of querying Active Directory because user profiles could have more information than AD since we could add a synchronization connection that reads from BCS or other sources. (more…)