Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
9 views

Provider hosted app cross domain call throws 401 error

I created provider hosted app using sharepoint add-in template from visual studio 2017, I have followed all process required for provider hosted app like creating certificate and generating client id ...
2
votes
1answer
177 views

Is there a way to attach a Remote Event Receiver to all the custom lists inside a site collection + can i test the RER without having Azure ServiceBus

I have the following:- Sharepoint Online. Visual Studio 2015. Azure free trial account. now i want to do the following:- Develop a remote event receiver which will get fired when items are added ...
1
vote
0answers
28 views

SP Host web look not propagated to chrome control in add-in web

I have a provider hosted add-in which uses chrome control. Previously, if I changed the look of SP host web, that change would propagate to add-in web too and chrome control would update. This is ...
0
votes
0answers
8 views

SharePoint Online Multi Geo SPAppWebUrl is not updated after moving site to a new geolocation

I am developing a provider hosted app on SharePoint Online. I move my site which has my app installed to a different geo location (eg: from US to Japan), I notice that the app is also moved to the ...
1
vote
0answers
19 views

Provider hosted app: TokenHelper not authorized to get context

I followed this tutorial to deploy Provider Hosted App to production environment. It has a proper SSL certificate installed, it's registered within SharePoint and TokenHelper class is modified. App ...
0
votes
0answers
14 views

Low Trust Add-ins in SharePoint 2016 Unauthorized for FBA Users

We have an on-premise SharePoint 2016 server and Low-Trust SharePoint Provider Hosted Add-in hosted in remote server. We referred the below article to configure the environment: https://docs....
0
votes
2answers
1k views

SharePoint Provider-hosted app: Can't call REST or use JSOM

I have an AngularJS web app that is registered as a Provider-hosted app on an on-premises SharePoint 2013 site (not Office 365 or SharePoint Online). The Provider-hosted app is hosted on a separate ...
6
votes
1answer
2k views

SharePoint App - Custom ribbon button enable/disable

I am deploying custom ribbon button using SharePoint provider hosted app. I was able to show button where I wanted but not able to control enable or disable state of the button. It remains active ...
1
vote
0answers
293 views

Deploy and host custom asp.net mvc applications in sharepoint 2016 intranet portal

we have developed some applications in asp.net mvc and trying to access these applicatons as from one sharepoint intranet portal that is for our organization - How can we deploye these applicaton in ...
1
vote
2answers
177 views

How to create site template with modern capabilities in SharePoint

I want to create a site template (lets say leave management system) with newly introduced "Site Design". With site design we can create lists, libraries with some set of columns, installing add-in etc....
2
votes
1answer
599 views

SharePoint Apps : Who can see it in “Site contents”?

Here is a good sample project that explains how to use APPS to provision custom components on sites in SharePoint online with custom fields, content types etc. In brief, the app explained in the video ...
1
vote
1answer
599 views

What Permission Level A Provider Hosted App Needs To Have To Access SharePoint Group Users

I need to access SharePoint User Group in the provider hosted app, but not sure what minimum permissions will be required to achieve it.
1
vote
1answer
631 views

How to make cross site collection call using CSOM for on premise provider hosted app

I have requirement that Provider hosted app is in in http://localhost:1234/site1 for example and I need to get the list items from the list in http://localhost:1234/site2 Uri hostWeb = new Uri(...
1
vote
1answer
639 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
637 views

Custom Ribbon Action always enabled? Logic to disable not working

I recently created a new Sharepoint App to add a custom ribbon action to my ribbon bar. I want to make sure the button is only enabled when at least one selection to a document selection is made. ...
1
vote
1answer
758 views

Not able to add an app part to the page with a shared provider hosted app

Situation: I created a SharePoint provider hosted app that contains an app part. I installed the app inside the app catalog. By using the deployment option on an app installed in the app catalog, I ...
0
votes
1answer
629 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 ...
5
votes
3answers
445 views

How do I give permission to app using CSOM?

I have a workflow in my subsite that is available when I activate a feature. The workflow has app step and also the workflow running on my list at subsite updates a list on my root site. To do so I ...
0
votes
1answer
657 views

App Installed Event Receiver -> Access Denied

I am using AppInstalled event receiver to create a list in host web and then breaking its role inheritance. The list is created successfully but I am getting "Access Denied" while breaking role ...
0
votes
1answer
635 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 ...
0
votes
1answer
665 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 ...
0
votes
0answers
47 views

The type of data at position 1206 is different than the one expected

I am using below code to access site/web but keep getting "The type of data at position 1206 is different than the one expected." error. We have two separate tenants and getting this error in one of ...
0
votes
1answer
702 views

How to write Join 4 lists using CAML Query (CSOM)

I have four lists in my site. I need to get data from all these lists in CSOM (Provider hosted app). All these lists are connected linearly (one to one). List 1 -> List 2 -> List 3 -> List 4. for eg ...
3
votes
1answer
742 views

Low-Trust Provider Hosted App Unauthorized for FBA users

I configured my on-premise SharePoint environment for Low-Trust provider hosted apps as per below article "https://msdn.microsoft.com/en-us/library/dn155905.aspx" My SharePoint web application ...
0
votes
0answers
31 views

SharePoint Provider Hosted App for US Government Cloud

We have a standard provider hosted app that works in normal SharePoint online tenancies. We need to use the same for a US Gov customer and their SPOnline tenancy is in gov cloud. Currently we get (401)...
0
votes
1answer
721 views

Get document from Document Library using Javascript

I am trying to get a document from document library.I am getting the file but I can't get its binary value. $.ajax({ url: fileUrl, binaryStringResponseBody: true, headers: { "...
0
votes
0answers
23 views

How to troubleshoot why my provider hosted app won't upload

I have followed some directions exactly on a youtube video for deploying a provider hosted add in from visual studio 2017. The youtube video also matches the Microsoft docs. I signed up for a new O365 ...
0
votes
1answer
727 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 ...
0
votes
0answers
12 views

provider hosted Add-Ins and provisioning modern pages

I am doing a a review on various (classic) sites, to see how much work is needed to migrate these to modern communication, team and hub sites. I found a load of provider hosted apps available for the ...
0
votes
0answers
19 views

Error while uploading a file in a provider hosted app using SP.RequestExecutor.js

I am trying to make cross domain calls and use REST API in SharePoint provider hosted app but to no luck. Below are few things i tried. I have tried implementing the following sample code to validate ...
4
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 ...
0
votes
1answer
840 views

How to get ProductID for provider hosted app?

There is ProductID mentioned in the AppManifest.xml as a GUID. How can I get that ID using Client object model?
0
votes
3answers
866 views

how to add a Content Editor WebPart on a page using CSOM by Provider Hosted App

I am creating a Provider Hosted App. USing the App, i would create a subsite.I want to add a Content Editor Webpart on the homepage of a newly created subsite using CSOM. Can anyone suggest how to do ...
0
votes
1answer
860 views

Provider hosted app ERROR:“delopyment not performed..”

I am new to Provider Hosted apps, I have just created a small application for Provider Hosted App by follwing the steps on msdn here I have successfully built the application with no errors however ...
1
vote
1answer
10k 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 (...
4
votes
1answer
1k views

Enable External Sharing Programmatically

We have a scenario on which we are creating site collections from a provider-hosted app. Some of these site collections will be used by external users. Is there a way from CSOM (server-side) to enable ...
1
vote
1answer
21 views

External data move to Azure cloud and call web API through Sharepoint online, Please suggest approach

I want to move external data to Azure through web API. I am able to deploy web API in Azure but how to call web API through SharePoint online? Or can we use SharePoint hosted apps for entire scenario ...
0
votes
0answers
10 views

Document Sets in Provider hosted apps

I am currently migrating some old SP solutions to provider hosted apps. The original solution has document sets, meaning that I need to create a method that can create new document sets in the app. I ...
3
votes
2answers
55 views

How to move SharePoint Provider Hosted App from development environment to production environment?

I'm using SharePoint server 2013 along with SQL server 2012, I have developed a provider hosted app in my development environment. Can anybody tell me how to move my app from development to production ...
0
votes
0answers
20 views

S2S authorization only working when user has an active session in SharePoint?

I am working on a provider-hosted app that uses high-trust S2S authorization (please pardon me if my terminology isn't quite right) to access SharePoint on the user's behalf. In my test environment, ...
3
votes
4answers
4k views

“sorry something went wrong with adding the app”

I am trying to add a provider hosted app in office 365 I have deleted the app from site content. I have deleted the app from the AppCatalog. Again I have uploaded same app in AppCatalog. Then I am ...
0
votes
1answer
56 views

AppPrincipals in SharePoint Online with Powershell

An app that installs without issues manually via UI needs to be installed automatically. It's a provider-hosted app with Azure website. The solution here: Office 365: Publish and deploy .app ...
0
votes
0answers
8 views

Securing SPO Provider Hosted Add-in

Before i start implementing my own custom security i thought i'd ask around perhaps you guys have any tested approach. I have a SPO Provider hosted add-in (hosted in azure) and i need to secure it. ...
0
votes
0answers
173 views

The remote server returned an error: (401) Unauthorized while deploying app via visual studio

I have to give support on SharePoint 2013 app solution. Since the certificate had expired I used the instructions in this article from Microsoft to create a certificate and run the app from Visual ...
2
votes
1answer
43 views

how to handle write to file system, use local folders etc in azure web apps

i am migrating provider hosted app to SharePoint online by deploying it to Azure Web apps. How to handle write to file system and local folder access as we will not have file system in azure web apps? ...
1
vote
1answer
561 views

access another site collection with client ID and client secret

I am trying to access another site collection with client Id and secret, I want to retrieve a list on another website, currently I tried using this method string siteUrl = "https://xyz.sharepoint.com/...
7
votes
2answers
2k views

Debugging remote event receiver - no context token

I am trying to use the MS supplied BasicDataOperations provider hosted app to play around with and learn about remote event receivers. I was following the instructions from this blog post by Chris O'...
1
vote
1answer
58 views

hosting provider hosted apps in azure web apps or in azure virtual machines having IIS?

we are migrating to sharepoint online. Can you please suggest that we should host provider hosted apps in azure web apps or in azure virtual machines having IIS? which one will be the good approach?
0
votes
1answer
24 views

Unable to view provider hosted app (Server to Server)

I published an app on my dev server to be installed in sharepoint 2013, but I can not view the default.aspx page, invalid certificate prompts
0
votes
1answer
45 views

Sharepoint Online Provider Hosted App not working with On Prem Server

We are creating sharepoint online provider hosted app with our on prem servers. When creating and hosting in local PC its working fine. Also hosted in Azure Web Apps worked fine. When we tried to ...