In SharePoint many times you give users permission but you would not be able to access them when using with custom app or custom component you build until user access the site once. This is because SharePoint maintains the list of all the users under User Information List. This list is hidden list that you cannot access from the user interface. Even if you go to this list it will only show you the users but not allow you to add users to the list.
Following PowerShell will add users to list without them accessing the site. the following code only adds one user but you can get creative and read the users from CSV or XML and add them in the loop.
$site = Get-SPSite https://SiteCollectionURL/
$web = $site.OpenWeb()
$user = $web.EnsureUser(“DOMAIN\user”)
$web.AllUsers.Add($user.LoginName,$user.Email, $user.Name,“Added Using PowerShell”)
I am pretty excited to mention that I have been selected to speak at Collab365 event. For anyone who does not know Collab365 is an online 24 hour conference covering nothing but Microsoft Office365, SharePoint and Microsoft Azure. It’s free, global and will feature many known speakers, including me. 😉
I will be presenting two sessions. One on Directory Synchronization and another on setting up SharePoint 2013 environment in MS Azure.
For anyone who is interested in an Agenda it can be accessed below.
You can watch entire conference on-deman now by registering for free.
I would like to thank Organizers, Sponsors and everyone who attended my sessions.
Today I am going to talk about this SharePoint behavior which is by design and does seem to confuse some users.
When you create groups under Peoples Groups you have an option to specify Group Owner. Now you would think making someone a Group Owner would allow them to add users to that group.
But this is not how it works. For any group owners to be able to add users in the group they need to have Manage Permission permission level assigned to them.
To create custom permission level and assign that to SharePoint group you can follow the steps mentioned below.
How to create and manage permissions level
When you creating a new Site Collection in SharePoint Online using Admin interface you will see it asks you to provide two settings. i.e. Storage and Resource Quota.
For the resource quota many times this question comes about what are they and how does they get calculated. Resource quotas are used to limit the risk that sand-boxed custom code can have on your site collection quota i.e. CPU and Memory.
If you are using sandbox custom solutions then the resource quota will be used based on whatever amount of resources it will consume. If you do not have any sandbox solutions then increasing or decreasing the resource on your site collection should not have any performance issue.
Marc posted a really good blog post on how to manager your resources with Office 365.
Last week on April 22, 2015, I was presented at Toronto SharePoint User Group (TSPUG).
I presented on Directory Synchronization in Office 365. Microsoft has been continuously adding new features to their Directory Synchronization tool aka DirSyn.
There is also another tool AADSync that is going to be replacing DirSync.
My session included overview of DirSyn and system requirements for running DirSync and comparing different options available when using different tools.
I would like to thank everyone who attended my session. Please find my presentation slides below.
I hope you find this valuable.