Skip to main content
13 votes

The property '__metadata' does not exist on type 'SP.Data...'

One case when this error often happens is when you set ContentType request header as "application/json" instead of "application/json;odata=verbose".
Jan Slodicka's user avatar
9 votes

Redirect HTTP to HTTPS

There are some online-tipps which recommend the use of the IIS Rewrite module. I do not prefer this way. My preferred way is done with SharePoint AAMs and IIS-Bindings: Alternate Access Mappings: ...
MHeld's user avatar
  • 5,123
5 votes
Accepted

Send an email with SPHttpClient

You need to add an additional header, odata-version and set it to 3. This error happens because SPFx's built-in SPHttpClient uses the odata-version header whose value is set to 4. So, simply ...
Gautam Sheth's user avatar
  • 30.9k
3 votes

Using Linux Shell scripting to upload a document to SharePoint

From what I could find, in order to perform operations on Office 365, we need to authenticate using claims-based authentication, which is done in not one, but a series of sequential steps. build a ...
Tiago Duarte's user avatar
  • 5,477
3 votes
Accepted

Wildcard certificate for apps

It should not work, as wild card works on 1st level. i.e *.domain.com is good sub1.domain.com and sub2.domain.com but not for *.app.domain. You need a wild certificate for this "*.apps.domain.com" ...
Waqas Sarwar MVP's user avatar
  • 56.9k
2 votes

How to configure WebApp to use SSL

Https is requirement for the ADFS authentication. to configure the SSL, here are the steps. create a new SSL certificate which has url in the subject name Update the IIS Bindings with port 443 and ...
Waqas Sarwar MVP's user avatar
  • 56.9k
2 votes

SharePoint Workflow doesn't work. (Call HTTP Web Service) Sie haben diesen Thread abonniert. System.ApplicationException HTTP 500

I believe your problem is in the web service call URL, can you test that directly in the browser? Looking at a custom list in SharePoint here I can see that the custom columns of the User type (...
Martin Laukkanen's user avatar
2 votes

Can I switch SharePoint to https and do not enforce TLS 1.2?

Even in SharePoint/Windows 2016, TLS1.2 is not enforced by default, TLS1.0 TLS1.1 and TLS1.2 are available to clients. If you want to restrict to TLS1.2 only, you must configure some stuff. I ...
MHeld's user avatar
  • 5,123
2 votes

The property '__metadata' does not exist on type 'SP.Data...'

What are you sending as the header? Here's an example usable with JavaScript: URL: /sites/workflowtest/_api/web/lists/GetByTitle('Announcements')/Items(26) Header: { "accept": "application/json;...
Mike Smith - MCT's user avatar
2 votes

SharePoint people picker communication with active directory, was it http or tcp?

For full-functionality, PeoplePicker requires the following ports to all DomainControllers on the same ActiveDirectory Site: TCP/UDP 135, 137, 138, 139 (RPC) TCP/UDP 389 by default, customizable (...
MHeld's user avatar
  • 5,123
2 votes

SharePoint people picker communication with active directory, was it http or tcp?

Hello here is great article about ports: Conceptually the port requirements become clear, we know we are executing an LDAP query against a directory source impersonating an account with access to ...
Zdeněk Vinduška's user avatar
2 votes

Authenticate to SharePoint using Client Id and Client Secret with python Requests module

If you want to access SharePoint Online using Python and use client_id and client_secret to pass the authentication, here is a project from GitHub for your reference. O365 - Microsoft Graph and ...
LZ_MSFT's user avatar
  • 6,219
1 vote
Accepted

Set new FQDN to access Sharepoint, but shortcuts link to NetBIOS name

Found the solution! For other people who may run into this issue: Login to the Sharepoint Central Administration Portal. Then go to: Application Management --> Manager service applications --> User ...
mg20023's user avatar
  • 21
1 vote

Is it possible to use a SharePoint login session from JavaScript?

Ok, the bad news is, there is no way to share credentials between two browser tabs that are connected to two distinct applications. There is also no way to authenticate to the REST services using just ...
Joe McShea's user avatar
  • 1,525
1 vote
Accepted

SP2013 : Alternate Acces Mapping not working on the entirety of the url

The best option for you would be to set up the IIS URL Rewrite Module as explained in the article below- https://www.sharepointdiary.com/2015/02/redirect-http-to-https-in-sharepoint-2013.html I have ...
Yash Kamdar's user avatar
  • 1,118
1 vote

When opening a file, a warning 'insecure or coming from untrusted source' appears

It is very difficult to say what is wrong from your description you are not specifying what ssl error you are having. Below you have option how to get to the detail of the error, but what I would ...
Marek Sarad's user avatar
  • 3,540
1 vote
Accepted

Sharepoint Online: How to display internal corporate websites, without HTTPS?

Even if it will be just usual site I guess that browsers will alert the users, that some part of content goes through http on https page, here is an example - [https://stackoverflow.com/questions/...
von Brausen's user avatar
1 vote
Accepted

Microsoft flow gateways issue using HTTPS

Unfortunately, it don't support HTTPS, it's a clear statement Microsoft SharePoint data gateways only support HTTP traffic; they do not support HTTPS traffic Meanwhile, I think extending the ...
Mohamed El-Qassas MVP's user avatar
1 vote

Open web in privileges mode and use it outside

It's not a good practice at all to open an SPWeb in an elevated context with RunWithElevatedPrivileges, close the elevated context and then continue using he SPWeb. A much more simple approach is to ...
Evariste's user avatar
  • 9,731
1 vote
Accepted

Sharepoint with WCF Service HTTP request

Assuming that you are on SharePoint 2013- I had to create a custom WCF service as well and there is good guidance for doing that in this article You will not need to rely on a web.config file for ...
HarryB's user avatar
  • 1,755
1 vote

SharePoint 2013 search not working in https site

I know this is an old post, but I wanted to comment in the event other people come across this. I am a support engineer at Microsoft and have seen this on several occasions. The reason dismounting ...
Anthony Casillas's user avatar
1 vote

SharePoint 2013 search not working in https site

Finally got a solution for my search issues. Dismounting and Mounting the MySite content DB again fixed the issue for me.Not sure what was the issue exactly but this solved it for me. I expect some my ...
George's user avatar
  • 1,522

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