20 votes

What is causing this error :- Restore-SPSite : <nativehr>0x80070003</nativehr><nativestack></nativestack>

I got this error when trying to do Restore-SPSite on a SharePoint Farm that did not match the schema version of the backed-up Site Collection. After installing the correct CU to my target ...
user avatar
  • 301
12 votes
Accepted

CurrentUser.IsSiteAdmin should be true but returns false

Probably it occurs since you are using App-only policy type for authorization . According to App authorization policy types in SharePoint 2013: App-only policy—When the app-only policy is used, ...
user avatar
12 votes
Accepted

Connect-SPOService : Could not connect to SharePoint Online

When trying to administer SharePoint Online (O365) via PowerShell through a proxy server the Connect-SPOService cmdlet connections fail. Perform these commands and retry Connect-SPOService $cred = [...
user avatar
10 votes
Accepted

Are there any risks of doing an Export/Import for a document library between 2 farms, where these 2 farms have different farm build numbers

First, you should specify what's the type of risk that you expect when you try to export and import a library from one farm to another with different build number Will the cmdlet be worked and ...
user avatar
9 votes

Site collection locked & stucked in read only mode

An alternate solution to the problem of not having upgraded to April 2013 CU is a simple powershell script that uses reflection to set the value of the internal 'MaintenanceMode' property:- $site = ...
user avatar
  • 4,019
9 votes
Accepted

Modern Site Page - Hiding total page Views and Like option in Office 365 SP Online

In my experience, it shows the total number of page views since page creation. Though, the method to calculate page views is not known to me, so it could be different. Its not stored in any hidden ...
user avatar
  • 30.3k
8 votes
Accepted

Recommended height and width for promoted links background images

The promoted links default size is 150x150 pixel. But you can always have bigger/smaller pictures and then manipulate the CSS for the promoted links if you want bigger/smaller tiles. Change the ...
user avatar
  • 9,501
8 votes

Why I should not perform a Restore-SPSite for a copy of a site collection on the same content database?

Just look at the code snippet below and try to imagine the scenario of what will happen: using(SPSite site = new SPSite("http://somesite")) { using (SPWeb web = site.OpenWeb(SameGuid)) { ...
user avatar
  • 4,466
8 votes
Accepted

Installing SharePoint Designer 32-bit versus 64-bit

Sharepoint designer consider as a part of the office family so that its version should match with other installed office products. In your case you have 64 bit of Windows and 32 bit of office so you ...
user avatar
  • 56.7k
8 votes
Accepted

Assigning "Contribute" permission instead of "Edit" to the SharePoint Modern Team site's Site members

The blog you linked to has the correct answer. It's not optimal, but it works. One source of confusion is that after creating a team site, there are two groups with the same name. For example, if you ...
user avatar
  • 7,930
7 votes

best appraoch to modify a site collection url inside sharepoint 2013

Source: http://www.sharepointrelated.com/2015/03/30/change-site-collection-url-sharepoint/ $site = Get-SPSite http://servername/customer/questions $site.Rename("http://servername/customer/...
user avatar
7 votes
Accepted

Register-SPWorkflowService : Failed to query the OAuth S2S metadata endpoint

I had this issue in past when configured the workflow manager. In my situation, I ends up doing the following. I removed the workflow manager service application using this command...Get-...
user avatar
  • 56.7k
7 votes
Accepted

Can i prevent global admins or other sharepoint admins from accessing our site collections

You cannot prevent SharePoint or Global Admins from gaining access to a Site Collection.
user avatar
  • 28.9k
6 votes
Accepted

unable to install SP1 for my sharepoint designer, error "The expected version of the product was not found on the system"

Open Command Prompt use below command C:\path_of_download_directory\spdsp2013-kb2817441-fullfile-x86-en-us.exe PACKAGE.BYPASS.DETECTION.CHECK=1
user avatar
  • 28.2k
6 votes
Accepted

inside my powershell script ,why i am able to reference a site column using its Display name , while can not reference it using its internal name

Because of the Powershell is not showing any description related to the data type of the value . so I tried to check the parameter type that should be passed to web.Fields in visual studio and I found ...
user avatar
6 votes

Sharepoint 2013 - List of Site Collection Administrator (JavaScript)

Users are not allowed to enumerate 'higher' permissions. So have your script (which only has to run when administrators havechanged) dump the info into a public List (or formatted HTML file)
user avatar
6 votes
Accepted

moving my site collection from root to a new managed path

Above scenario should work, as you are deleting the existing site collection then you will not see the Duplicate GUID problem. You may need to refresh the config db, in order to update the record ( ...
user avatar
  • 56.7k
6 votes
Accepted

How i can reset my list items IDs and remove all the list data

You can save the list as a template, then create it where you want. The updates on the list view won't be migrated, so what you can do is: Open the first list in SharePoint Designer, by clicking on ...
user avatar
6 votes

SharePoint certification 70-331 vs 70-448

70-331 (Core Solutions of Microsoft SharePoint Server 2013) is about installing, configuring and maintaining a SharePoint farm. It's not about developing solutions (despite the name); it's about ...
user avatar
  • 9,686
6 votes
Accepted

Can not access the value of a Calculated column inside my power-shell script

Your calculated field, even if defined as a number, isn't a full number - it's structured almost like a lookup - there a float;# in front of it. You can do a .split(';#')[1] to get the value. It ...
user avatar
  • 2,061
6 votes

Is there a way that can allow me to view who are the sharepoint online admins inside our office 365 server

If you are an Global Admin yourself, you can use the default User Management dashboard of Office 365. Navigate to: Admin -> Users -> Active Users -> Filter the view to view the users with the admin ...
user avatar
  • 313
6 votes
Accepted

Unlike on-premises i can not save a team sub-site as template when its root site have the Publishing features enabled

By default, if you enabled the SharePoint publishing feature in root site, then there is no “save the site as template” option in site settings. There is a workaround. You could save the site as ...
user avatar
  • 2,946
6 votes

Number of documents inside a document library will be different when viewed from "Site Content" & "Open with Explorer"

This is because, site contents shows count of all the documents and folders, but when you open document library it shows only documents and folders which you have permission to access. Also there ...
user avatar
  • 4,800
6 votes
Accepted

How i can verify that our migrated "Contribute" permission level is exactly the same as the source Contribute permission

I can show how to get this using JavaScript and REST: $.ajax({ url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/RoleDefinitions/getByName('Contribute')", async: false, headers: { ...
user avatar
  • 1,505
5 votes
Accepted

how I can know if I have missing CU using "get-spproduct -local" command

Get-SPProduct -local doesn't actually return whether you are missing some updates. Instead as described in the TechNet: Returns a list of the SharePoint-related products installed in the farm and ...
user avatar
  • 5,219
5 votes
Accepted

Is there any harm if I install SharePoint designer on live SharePoint server

As a recommended approach, you should not install the SharePoint Designer on the SharePoint server, reason is same as you mentioned. SharePoint Designer is client application and you can connect to ...
user avatar
  • 56.7k
5 votes
Accepted

Rest API stop working due to "minFreeMemoryPercentageToActivateService"

This issue occurs if the available memory on the web server is low So Try to restart Sharepoint search host controller in windows service to release all the leaked memory and consumed memory ! Or ...
user avatar
5 votes
Accepted

How i can increase the Storage Limit for my office 365 site collections

To Manage site collection storage limits you should be Global Admin or SharePoint Admin. Steps Sign in to Office 365 as a global admin or SharePoint admin. Open the Office 365 admin center. In the ...
user avatar
5 votes
Accepted

If I want to create Web Parts using SPFx, do I need to be an O365 Admin User?

Your administrator can give you permission to upload packages to the App Catalog. The permissions work the same way they do in any "normal" site collection.
user avatar
  • 11.5k
5 votes
Accepted

Prevent Site Collection Administrator from viewing library documents

Their is no way to block site collection administrators from viewing anything on that site collection. You have to think different strategy i.e. enabling auditing so that who ever access that ...
user avatar
  • 56.7k

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