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
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
315 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
68 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
78 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
213 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
175 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
94 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
320 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
972 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
448 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
604 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
459 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
211 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
12k 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
169 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
437 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
341 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
613 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
651 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
448 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
1k 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
784 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
552 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
374 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
679 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
748 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
750 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
203 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
319 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
450 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
852 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
642 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
734 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
vote
1answer
595 views

Provider Hosted high trust App- 400 Bad request

I am getting 400 bad request when provider hosted app is trying to connect to SharePoint.Below is the stacktrace: System.Net.WebException: The remote server returned an error: (400) Bad Request. ...
0
votes
1answer
408 views

SharePoint Hosted App wrong URL

Right now i am working on SharePoint Hosted App. I have create one SharePoint Hosted App in my on-premise environment. But my App URL is like https://localhost:44305/Pages/Default.aspx?SPHostUrl=...
0
votes
0answers
434 views

How to add Site columns, Content Type and List Definition In Provider Hosted App in SharePoint

I've created my Provider Hosted App in SharePoint App. Now I want to add site columns, Content types and List Definition in Host Web. When I create site columns and add in feature then run app it ...
2
votes
0answers
981 views

Access Denied Error with Provider Hosted App (MVC/CSOM)

I built a PHA using MVC a little while ago. I'm receiving "Access denied. You do not have permission to perform this action or access this resource." error when trying to update or even access simple ...
2
votes
0answers
1k views

How to get a new refresh token after it expires?

How to get a new refresh token after it expires? We have a scenarios in provider-hosted app which require to cache the refresh token in db, and we were reusing it to generate client context. It was ...
0
votes
0answers
92 views

create a total SharePoint application through Provider hosted app

I have a question if we are able to create a total SharePoint application (e.g. Help desk.. raising help desk tickets) through Provider hosted app. Till now what we have done is created different ...
2
votes
3answers
844 views

Having problem using IIS 8 Self Signed Certificate for SharePoint 2013 High Trust Provider Hosted App

During development we were using the Self Signed Certificate from IIS 8 for developing/testing Provider Hosted App we are working on. Now we need to make changes to the app for Packaging and ...
0
votes
1answer
665 views

High trust provider hosted app vs SharePoint hosted app

We know that we can create both SharePoint hosted app and high trust provider hosted app in on-prem i.e. non-cloud environment. But in which scenario we should for high trust provider hosted app and ...
3
votes
3answers
3k views

SharePoint Context is null in MVC HttpGet request

I am new to MVC development, however, I current have a requirement to build an application for a SharePoint app. It is currently hosted on our Azure server and is up and running fine. My problem lies ...