sharepoint-2013

Several Azure AD. New-MsolServicePrincipal : Access Denied

馋奶兔 提交于 2019-12-01 09:22:50
问题 I want to set my Azure Active Directory as an identity provider for SharePoint 2013 Foundation. I activated Azure trial from account that is a part of another infrastructure (my company's infrastructure). So what i have now: Azure VM with SharePoint 2013 Foundation installed. Created by me for testing purposes Azure Active Directory that is a part of my company's infrastructure. I don't have any permissions even to view it. But I see it since my company uses it Azure Active Directory with me

How to send NTLM authenticated post request using jersey?

北战南征 提交于 2019-12-01 04:03:58
I am making rest api calls to Sharepoint 2013 using Java. How can I connect to the sharepoint 2013 using jersey rest client? Note: currently I am using apache http components and NTCredentials class Credentials credentials=new NTCredentials(username, password, workstation, domain); AuthScope authScope=new AuthScope(AuthScope.ANY); CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials(authScope,credentials); CloseableHttpClient httpclient = HttpClients.custom().setDefaultCredentialsProvider(credsProvider).build(); How to adopt this to Jersey framework?

Sharepoint 2013: EnsureUser via REST API

风流意气都作罢 提交于 2019-12-01 01:12:05
I'm trying to ensure some users automatically via REST API. My REST call: $.ajax({ url: "blablabla/_api/web/ensureuser", type: "POST", data: "{ 'logonName': 'i%3A0%23.w%7Cdomain%09logonName' }", headers: { "X-RequestDigest": $("#__REQUESTDIGEST").val(), "accept": "application/json;odata=verbose" }, success: function () { console.log("done!"); }, error: function (err) { console.log(JSON.stringify(err)); } }); Now when sending this call I get the following error; "Bad Request: Microsoft.Data.OData.ODataContentTypeException A supported MIME type could not be found that matches the content type of

How can I customize windows authentication pop up in sharepoint 2013?

北战南征 提交于 2019-12-01 01:09:57
As before I post question to stack here : How Can I pass EffectiveUserName to SSAS through Excel Service using FBA(Forms based authentication) in SharePoint 2013 Finally I decided to use claim based windows authentication, because this mode send EffectiveUserName to ssas from excel service. Now we need to create a custom claim based windows authenticated login page in SharePoint 2013 without another authentication method. picture below shows popup window: I exactly want to create a custom aspx page that works like this popup page. when users want to login , this aspx shows instead of pop up

How can I customize windows authentication pop up in sharepoint 2013?

别说谁变了你拦得住时间么 提交于 2019-11-30 20:29:22
问题 As before I post question to stack here : How Can I pass EffectiveUserName to SSAS through Excel Service using FBA(Forms based authentication) in SharePoint 2013 Finally I decided to use claim based windows authentication, because this mode send EffectiveUserName to ssas from excel service. Now we need to create a custom claim based windows authenticated login page in SharePoint 2013 without another authentication method. picture below shows popup window: I exactly want to create a custom

how to connect sharepoint with php

走远了吗. 提交于 2019-11-30 09:25:20
Do anyone know how to integrate Sharepoint and Php. I am trying to develop php app which can connect to Sharepoint.In particular since basically I am website developer, I want my all websites to be connected with Sharepoint. So, simply I want to create Php app such that it works for all the websites. I don't know is it possible or not but I want to give it a try but don't know how to proceed. Any idea/suggestions is welcome. Thanks in advance. Try this API In SharePoint Download the WSDL. Usually at this location: <sharepoint.url>/subsite/_vti_bin/Lists.asmx?WSDL Download the API Make sure to

How to send NTLM authenticated post request using jersey?

十年热恋 提交于 2019-11-30 03:47:12
问题 I am making rest api calls to Sharepoint 2013 using Java. How can I connect to the sharepoint 2013 using jersey rest client? Note: currently I am using apache http components and NTCredentials class Credentials credentials=new NTCredentials(username, password, workstation, domain); AuthScope authScope=new AuthScope(AuthScope.ANY); CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials(authScope,credentials); CloseableHttpClient httpclient =

SharePoint 2013 get current user using JavaScript

时光怂恿深爱的人放手 提交于 2019-11-29 23:01:01
How to get current user name using JavaScript in Script Editor web part? Here is the code that worked for me: <script src="/SiteAssets/jquery.SPServices-2013.02a.js" type="text/javascript"></script> <script src="/SiteAssets/jquery.js" type="text/javascript"></script> <script type="text/javascript"> var userid= _spPageContextInfo.userId; var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/getuserbyid(" + userid + ")"; var requestHeaders = { "accept" : "application/json;odata=verbose" }; $.ajax({ url : requestUri, contentType : "application/json;odata=verbose", headers :

SharePoint 2013 add javascript after whole page load

耗尽温柔 提交于 2019-11-29 20:11:04
Disclaimer: I have no experience with SharePoint2013. I have problem - I must include/fire some javascript functions after the whole page has been loaded. I tried listening to DOMDocumentReady and window.load events, but sharepoint render the rest of page after those events. My question is: what I should do to be able to run script after whole page with ajax is rendered. Also I noticed that page navigation is based on hash (#) part. Obviously I must detect that moment also. Any help or even link to right page in documentation would be great! You are right, MANY things happen on page after $

FBA User in FBA role is not taking permission from SharePoint Group

折月煮酒 提交于 2019-11-29 18:11:45
I've configured FBA with Sharepoint 2013 on my development machine (one server). I'm able to create FBA Roles and FBA users and i can connect using FBA users. The problem is when it comes to permission. I'm adding the FBA Roles to SharePoint Group but the permission is not being granted to the User inside the FBA Role. I've reviewed the configuration several time, and checked the below: web.config of the web application web.config of central admin and STS Checked the security on the FBA database and giving the application pool account the necessary security on the database. The web application