Questions tagged [provider-hosted-app]

A SharePoint 2013 App that is not hosted in SharePoint, but rather by the developer of the app. This hosting is not necessarily done in SharePoint.

Filter by
Sorted by
Tagged with
6
votes
0answers
362 views

How to set HTML field security using CSOM

Is there a way to set the HTML field security using CSOM? I already found a way to use PowerShell Scripts but i wondering if there is also a way to use CSOM. PowerShell: $web.ScriptSafeDomains.Add("...
2
votes
2answers
223 views

SharePoint's controls or web parts in a full-trust provider hosted app (SharePoint 2013)

Ladies and gents I've been looking for some time but haven't found any definitive answer. Is it possible to use SharePoint UI (either controls or web parts) in a provider hosted application [MVC 5, ...
0
votes
0answers
72 views

SharePoint App - Pressing Refresh opens resend Information dialog

I'm doing a sharepoint provider hoster app. When I'm pressing refreh (F5 or in the browser) after the webapplication has loaded I'm getting a dialog for resending information. ("To display the webpage ...
3
votes
1answer
2k views

Why am i unable to debug an Provider Hosted SharePoint app?

I have a method which checks valid session which gets triggered in page load,I have placed break points in it for debugging purpose.When I run my provider hosted sharepoint app it does not hit the ...
0
votes
1answer
348 views

How to Access Provider-Hosted App programmaticly

I have a (working) provider hosted app that mainly acts as a REST-Service (MVC5). I want to unit test my Rest-Controllers but can't find out how to give the right credentials. I already got the URL ...
3
votes
0answers
953 views

{StandardTokens} token in CommandAction Url does not get replaced

I have a provider hosted add-in running on a SharePoint Online development site that has several lists as part of the solution. My goal is on when somebody clicks a Ribbon CustomAction associated ...
3
votes
0answers
132 views

Is there a unique ID for add-in instance?

I'm developing a SharePoint add-in with provider hosted app. One requirement is to uniquely identify add-in instances. The user can install add-in multiple times. Provider hosted app stores mapping ...
2
votes
0answers
624 views

Rest API calls from provider hosted apps

Here is the scenario. We have a product built on linux systems and the data is available through REST API. The web application which is built on JAVA is also hosted on the same environment. Few of ...
2
votes
0answers
186 views

Add-in web (app web) authentication using credentials from Trusted identity provider

I have set up a SharePoint web application with custom Trusted identity provider: I have built provider hosted add-in (app) and successfully deployed it to a site within aforementioned web ...
0
votes
0answers
264 views

Sharepoint Provider Hosted App with Angular JS for document retrieval

I need to create SharePoint Provider Hosted App with Angular JS & MVC for SharePoint Online. That app should perform CRUD Operations on Document Library. When I searched for this, all I got is ...
0
votes
1answer
21 views

SPOnline: Sandox event receiver inconsistent behavior

I have following 3 components: Provider hosted App having full control on web and using App only permissions (App) List-A: This custom list has a sandbox event receiver on item creation. App creates ...
0
votes
1answer
340 views

Access Denied when executing a CAML query

I am running a SharePoint Online provider-hosted app, and via CSOM, I am loading the contents of a list with the following code: var items = List.GetItems(CamlQuery.CreateAllItemsQuery()); ...
5
votes
2answers
2k views

Error while installing SharePoint Provider hosted app “”The remote event receiver callout failed."

We have developed a provider hosted app by pointing to SharePoint online which holds a simple logic in the app installed event. The remote web component of the app is deployed to an on-permises ...
4
votes
1answer
2k views

SharePointContextProvider not found when Creating a provider hosted app with VS2015

I try to create a provider hosted app (MVC) with VS2015. I use the standard template-approach like described there: http://chakkaradeep.com/index.php/building-apps-for-sharepoint-with-mvc/ (Or many ...
1
vote
0answers
56 views

Can I use Microsoft.SharePoint.Client.User.LoginName as login for custom Identity authentication?

As the title suggests, I am doing a SharePoint Provider-hosted app that will be deployed to Microsoft Azure. I implemented security with custom Authentication class which references Owin namespaces. ...
1
vote
0answers
34 views

Getting User Information with Add-In-Only-Authentication

I need to write a SharePoint Add-In (provider-hosted, CSOM) that has the permission to write entries in the hosts' SharePoint-List even if the user has no permission to do that. That's why I want to ...
2
votes
0answers
69 views

Is cross-site lookup possible with a provider-hosted app?

I have following problem. I got two projects, one sharepoint-hosted app and another provider hosted app. Both contain a couple of lists. So far so good. Now I need the data from the sharepoint-hosted ...
1
vote
0answers
79 views

How to know if Sharepoint 2013 List is registered to Remote Event Receiver in Provider Hosted App?

I have multiple list in SharePoint 2013 and some of the lists are attached to ListEvent.svc service. I would like to know which specific lists are registered to that particular Remote Event Receiver? ...
3
votes
1answer
225 views

SP2013 - Failed to call, back to back executeQueryAsync() functions

This is exactly what I want to accomplish, given below are the steps I'm performing. Update sub task status based on subTaskId (SP Task List), using executeQueryAsync() Get all sub tasks based on ...
1
vote
1answer
235 views

Where is the certificate location to be stored?

I created a sample provider hosted app as per microsoft's tutorial using my local box as the remote web server. I am now trying to deploy this project to our staging web server and keep getting the "...
2
votes
0answers
95 views

Deploying default mvc provider hosted app

I am trying to test provider hosted apps. I created the default MVC application with no changes. The issue I am running into is permissions for the app. When I deploy with AppPermissionsRequests in ...
1
vote
2answers
375 views

Font issue with Sharepoint add-in part

I am developing a provider hosted SharePoint add-in part. I am using the SharePoint site's stylesheet in the add-in part to make it look similar to the site. I have followed the example provided in ...
2
votes
1answer
1k views

SharePoint 2013 App domain/subdomain

I have a question regarding subdomain usage when configuring a SharePoint App domain. If I have a farm at spfarm.companyname.com, would it be safe to use an app domain of apps.companyname.com? This is ...
0
votes
1answer
493 views

Remove user with CSOM C# gives System.UnauthorizedAccessException

With the following code I'm trying to remove an external user programmatically from a Provider Hosted App: Context.Web.SiteUsers.RemoveById(userId); Context.ExecuteQuery(); This is giving me a ...
1
vote
2answers
2k views

Calling WebApi in provider hosted add-in from SharePoint javascript

We are developing an on-premise provider hosted add-in. We would like to call the add-ins WebApi from JS code on a SharePoint page, avoiding app-parts (app part have several limitations). We are ...
0
votes
1answer
670 views

Could not establish trust relationship for the SSL/TLS secure channel. SP Provider hosted

im trying to configure my sharepoint server to rung sharepoint provider hosted apps. i followed this article on msdn to cinfigure the machine and then configured IIS to run site run over https. ...
1
vote
1answer
52 views

Provider hosted app and another server

I have a task: Do a Sharepoint Provider-hosted app. I work/develop locally, on a single machine. From MSDN : Provider-hosted SharePoint Add-ins include components that are deployed and hosted ...
0
votes
1answer
461 views

Develop a provider hosted app from host machine visual studio

I've windows server 2012 in my oracle virtual box VM with sharepoint 2013 and Visual Studio 2013 installed. I've setup my SharePoint server to develop apps, I created a provider hosted app from visual ...
1
vote
1answer
2k views

editDocumentWithProgID2 in CSOM

I need to Open/Download Word or PowerPoint Document directly from Provider Hosted SharePoint App. We can perform easily in on-premise using editDocumentWithProgID2 Tried with getting CORE.js, SP.js ...
0
votes
1answer
237 views

SharePoint Online Turn off customErrors to view more about the error not working

When deploying a provider hosted SharePoint App on SharePoint online via an Azure web page, I get a Runtime error message, instructing me to turn off customErrors to view more about the error. I have ...
1
vote
1answer
14k views

How To Get User Id Using Login Name in Share Point Provider Hosted App

We are using people picker (jQuery autocomplete) in a SharePoint Provider hosted app for binding the data of AD users. We are using predefined web service Interface (...
2
votes
1answer
178 views

Provider Hosted App vs BCS

I'm new to Office 365/2013 but I've been working with on-prem SharePoint 2007/2010 for a while. I've mostly setup some simple webparts to pull data out of SQL/WCF and display it. I'm wondering what ...
1
vote
1answer
454 views

Access List on Sub-site of Host Web (using a Provider Hosted App)

When creating a provider hosted app/add-in, how would you access a list located on a sub-site of the page it was installed on? I can access lists at the top-level of the Host web using the below ...
1
vote
0answers
349 views

SharePoint provider hosted app and form based authentication: the resource cannot be found

I followed the following article, to change the web.config to use provider hosted apps in combination with fba. http://www.sharepointpals.com/post/How-to-create-a-Provider-Hosted-Application-on-Form-...
2
votes
1answer
670 views

ServerUnauthorizedAccessException Getting the Term Store in Office 365 CSOM

I have a Sharepoint provider hosted app and it get the term store in Office 365, It worked well for all users until a few days ago. Now fot the site collection administrators work fine but the others ...
1
vote
1answer
679 views

Provider Hosted App stuck on installation

I'm working on provider hosted app in visual studio C#. But the project stuck on while installation. 3> Installation is in progress (00:13:09) 3> Installation is in progress (00:13:11) 3> ...
0
votes
1answer
469 views

Sharepoint Online Provider Hosted App on Azure, HTTP 500 during the provisioning

I have an MVC site hosted on Azure and a SharePoint App on Office 365. This Office App open the MVC Site that provide a button to make the provisioning. When I start the provisioning the Mvc ...
0
votes
1answer
2k views

Search User within multiple SharePoint Group using ClientPeoplePickerWebServiceInterface.ClientPeoplePickerSearchUser()

I have created a People Picker control for SP Hosted App using CSOM and below API ClientPeoplePickerWebServiceInterface.ClientPeoplePickerSearchUser I have to search for user within multiple ...
6
votes
0answers
861 views

SharePointContextProvider.Current.GetSharePointContext(Context) returns null on postback - provider hosted app

I have a provider hosted app hosted on Azure and installed in SharePoint Online (Office 365). While testing the app, I found a strange issue, where if the page remains idle for around 10 mins and then ...
4
votes
0answers
570 views

Remote Event Receivers not firing in case of Service to Service authentication scenario using Azure AD

I have created a SharePoint app(Add in) with a RemoteEventReceiver subscribed to Item Added Event on a custom list. After installing app in office 365 I can log into portal and add item to list and it ...
0
votes
1answer
389 views

Clientcontext for FBA in provider hosted app

I am using Forms Based authentication in provider hosted app. Once FBA user is logged in SharePoint site, I need to get the clientcontext in my app web (which is an MVC application) to check if the ...
1
vote
1answer
700 views

SharePoint Online Provider Hosted Low Trust Apps hosted on IIS not working

I am trying to create a provider hosted app in SharePoint Online trial tenant with the remote web of the app hosted in IIS of an on premise server. It is a simple Hello World app, with the remote web ...
2
votes
0answers
812 views

SharePoint 2013: Retreving the list of files on a List I always get an empty result

I have a list in SharePoint on Premise in which I know there are 2 files and a folder. If I try to get the list of files from it I always get an empty response like in the example: GET :url/web/...
1
vote
1answer
777 views

Developing a provider-hosted app which contains remote event receiver on a local client

I develop a provider-hosted app for our SharePoint 2013 on-premise environment, which has an app installed event receiver. Is there any way to develop an app, which includes event receivers on a ...
1
vote
1answer
212 views

Provider hosted app lauched from outside of Sharepoint

In the past months i was developing provider hosted apps for Sharepoint 2013 online. Everything worked fine until i run into the following problem: in some cases for my customer it's not acceptable to ...
0
votes
1answer
333 views

user profile creation no CSOM/REST

I have a SharePoint application with a provider hosted app. User's can access Provider hosted app URL directly provided they have access to App and their user profile is created already. I have a ...
0
votes
1answer
455 views

Prevent creation of AppWeb in provider hosted app

I have a full screen provider hosted app (.NET MVC 5) with chrome control (to implement styles of the host web) which uses CSOM to make requests to the host web. Weeks ago I thought I would need a ...
1
vote
1answer
910 views

Querying share point online Search via CSOM in provider hosted app using App only Access Token

The Scenario I am developing a Sharepoint provider hosted app. the Sharepoint app web is only used as a repository for storing documents in document libraries and The web application use O365 ...
0
votes
1answer
682 views

Http GetResponse Forbidden (403) : Provider-Hosted App after restore

I come here as a last resort, I don't know what the hell happened. I restored my server battery and I've got the whole thing working, besides a provider hosted app that I made before. when I deployed ...
2
votes
1answer
867 views

SharePoint Online Event Receiver not always firing?

Hello, I have an event receiver set up on a list in SharePoint online. I have a provider-hosted SharePoint Add-In running in Azure, which hosts a remote event receiver service that is called when an ...

1
3 4
5
6 7
9