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
1answer
46 views

Adding Permissions for App to List

I created a list using a provider hosted app. I changed the permissions to that list for a specific usergroup: private void CreateList(string ListName) { Web web = clientContext.Web; ...
0
votes
0answers
518 views

Debug SharePoint Hosted and Provider hosted app

I am fighting with issues on apps ( SharePoint Provider & Hosted)models .Can any one guide me in knowing how do debug the apps.And what should i need to install if pre-requisite exists for ...
3
votes
2answers
1k views

Provider Hosted App Timing out after x minutes

I have a Provider hosted app which I use to enter quote data into Sharepoint Office 365. The Host is a MVC C# Webpage. The action in the controllers all have a similar format like this: [...
-1
votes
1answer
7k views

How to call code behind function from a html button click?

I am fighting with MVC in Provider hosted app and trying to implement code behind function for html input button. Below is the input button in .aspx page: <input type="button" runat="server" id="...
1
vote
1answer
425 views

SP.ClientContext is appearing undefined

I have below jquery code which in a sharepoint 2013 provider hosted app. // variable used for cross site CSOM calls var context; //Wait for the page to load $(document).ready(function () { //Get ...
0
votes
1answer
21 views

Create Website in Windows Azure

We had developed SharePoint Hosted app and as we knew the next step is to create site in Windows Azure for Appdomain. Due to it's new UI it's very hard to catch the website option . Can anyone help me ...
1
vote
2answers
509 views

How to Enable Custom Actions for all sub sites Document Libraries

I am developing a Custom Menu Item Action using provider hosted app for copying documents across sites collection for each listitem of Document Library Type. I need to enable the same custom action ...
1
vote
1answer
565 views

How to Access another Site Collection in Provider Hosted Apps

Iam developing a Custom MenuItemAction action so that each listitem in the Copy list of site collection (dev) will get an option for copying the documents to another list (Paste) in site collection(...
2
votes
2answers
156 views

Is it possible to Host Provider Hosted APP in Dedicated Server IIS and Consume in Office 365?

We need to setup provider hosted app in dedicated server and consume in Office 365. Is it possible? If yes, then how we can take "ClientContext" to read/write operation to Office 365 Web list?
1
vote
0answers
29 views

Hosting Provider Hosted App on SharePoint Application Server in a 3 tier farm

We are planning to host a provider hosted app on a SharePoint Application server in a 3 tier architecture. Assuming that my host web would be in SharePoint web server and app web would be in ...
2
votes
1answer
51 views

Security Issues with App-only policy

I have been working on a lot of applications with app-only policy and just wanted to make sure that I am not overlooking any security vulnerability. Below is a sample scenario for discussion: ...
2
votes
0answers
414 views

Is the OAuth implicit grant type supported for provider-hosted add-ins?

The provider of my provider-hosted add-in needs to ask for SharePoint (Online) permissions on the fly. OAuth can be used to achieve this, as documented here in MSDN. The authorization is low-trust ...
3
votes
2answers
320 views

Trace.Writeline() not working in Provider Hosted App

I have a created a SharePoint Provider Hosted Add-In and deployed the code on Azure. Trace.Writeline() doesnt seem to be working as I cant see anything in .../azurewebsite/trace.axd I am able to see ...
2
votes
3answers
1k views

Sometimes I got this error in my app part: The remote server returned an error (401) Unauthorized

I created an provider hosted app and use SP2013 on-prem and ADFS authentication. I have an app part with some form. This app part is added to a page in a webpart zone. Initial this app part is working....
3
votes
1answer
1k views

Provider Hosted APP with Azure & On-Premise Deployment Not able to take ClientContext

I am creating Provider Hosted APP and Deploying in Azure and Consuming in my SharePoint 2013 - On Premise. When I am using: var spContext = SharePointContextProvider.Current.GetSharePointContext(...
3
votes
1answer
175 views

How much do production Azure hosted add-ins cost?

After the add-in model has been in broad use for awhile, provider hosted seems to be the model of choice for SharePoint add-ins. I've never hosted one in Azure before. What are real world average ...
1
vote
0answers
31 views

FxCop Code analysis error for Provider Hosted App

I am running FxCop tool on my provider hosted app. But it is giving an error in web.config file like CA3116 DenyUnauthorizedUsers You are explicitly allowing all authenticated users for whom no ...
3
votes
1answer
374 views

How to Set Up SharePoint App development environment without configuring DNS

I set up SharePoint Stand-alone farm in a machine within organisation where DNS configuration is not control by us. So is there anyway we can skip this DNS or any workaround in SharePoint APP ...
2
votes
2answers
464 views

Provider Hosted APP with ADFS – Created By Issue

I have created one provider hosted app and have done ADFS configuration for SSO to SharePoint Site to SharePoint APP Site. But when I adding/updating list item created by user is “i:0i.t|00000003-...
1
vote
0answers
321 views

Provider hosted high trust add-in authentication with CNG key storage provider | Invalid provider type specified

I have the same problem as here, so I get the error: "Invalid provider type specified". However .NET 4.6 added support for CNG certificate handling so no need for additional libraries. What changes ...
8
votes
1answer
5k views

Interview Questions on SharePoint Apps which I could not answer [closed]

Question was : Where does the code lies for Provider Hosted App? does it lie in SharePoint server? if not can we make them lie in SharePoint server. How should we call the web services for Provider ...
1
vote
2answers
252 views

Provider host app getting windows logon prompt

I have converted my existing ASP.NET web application as a "Provider hosted app" as per the MSFT documentation and installed on my Sharepoint 2013 site. The moment I navigate from Sharepoint site to ...
0
votes
1answer
446 views

Provider hosted app with Sharepoint Master page

I have a ASP.NET Web application which I would like convert as a Provider hosted app and integrate with our corporate Sharepoint 2013 portal. Layout of ASP.NET Web Applications and Sharepoint Portal ...
4
votes
1answer
319 views

Create result source with CSOM

I am looking for a way to actually create a result source with C# CSOM. I only find examples where I specify an existing result source like this answer. I am developing a SharePoint provider hosted ...
3
votes
0answers
181 views

Get current page URL and Title from a Provider Hosted add-in Part?

I'm looking to see if there is a way to grab the current URL and title of the page that the add-in part is residing on. The add-in part is a Provider Hosted add-in with the main piece living outside ...
0
votes
1answer
387 views

Can I call Word Automation Service from Provider Hosted App - SharePoint 2013 On-Premises

I want to create Provider Hosted App for Convert Word document into PDF document. I have Created Provider Hosted App in SharePoint 2013 On-premises and it is hosted on Azure Hosting environment. Can I ...
2
votes
1answer
2k views

Provider Hosted App SharePoint 2013 On Premises - “You can't add this app here”

I have created a provider Hosted App for SharePoint 2013 On Premises. I have hosted my provider hosted app on Azure Server. And Add an app in App Catalog site. But I am not able add it on my site. I ...
2
votes
0answers
107 views

Provider Host App- App Domain

I am new to Provider Hosted App developement. I am planning to create a provider host app and while I was reading many articles , I got confused some terminologies like App-domain and Forward lookup ...
2
votes
0answers
637 views

How to perform a search query on behalf of a user from an app-only ACS context

We have a client requirement where we have a scheduled process that needs to perform a collection of search queries towards Office365/SharePoint Online on behalf of various users to ensuring that the ...
5
votes
3answers
224 views

Is it totally wrong or should be avoided to create farm solutions inside sharepoint 2013 on-premise

I started a new sharepoint 2013 enterprise server on-premise project for a customer, and on the first phase I want to do the following which requires me to create 2 farm solutions:- I need to add ...
3
votes
1answer
1k views

Pass authentication from provider hosted add-in to external web service

We are developing an low-trust provider hosted add-in which will be hosted in the cloud. We use Web API to retrieve data from the add-in. To ensure that only authenticated users can call the Web API ...
2
votes
1answer
904 views

Get custom columns from folder into document library C#

I'm doing a provider-hosted app and I'm trying to get custom column I've created in a content type that inherits from folder(parent) I get the folder like so: Folder folder = clientContext.Web....
1
vote
0answers
73 views

How to stop Authentication for Provider Hosted APP when its host to different domain IIS

I have hosted my Provider Hosted APP website to "Dedicated server domain IIS" and installed APP to SharePoint Site which is in different domain. Now when I open the APP, its promoting for the ...
0
votes
2answers
2k views

How to get the FileRef property of a document library file with CSOM

I'm implementing a RER (remote event receiver) in a provider-hosted app with CSOM, I need the FileRef property of the file which was just uploaded, so how can I get it? any help would be appreciated. ...
5
votes
2answers
214 views

Cannot publish my SharePoint MVC app project in VS

I created in VS2015 a new App. VS will create automatically an app project and an MVC web project. Inside my MVC web project I have an template xml file as follow: <?xml version="1.0"?> <pnp:...
1
vote
1answer
1k views

Are there real differences in App/Add-in development inside on-premise SP 2013, compared to on-premise 2016 and office 365

Our team have been working on app module inside SharePoint 2013 on-premise for many years and on many projects. Now as we got new projects that are:- -On- premise SharePoint 2016 Office 365 ...
3
votes
1answer
373 views

What is the best practice to get the context of subsite?

I have created a provider hosted app with adfs. In this app I have the SP clientContext of the site collection. I have a form in this app. When the user submits the form, there will be created a ...
5
votes
1answer
403 views

Is a ClientId and Certificate always needed for a Microsoft SharePoint Provider hosted app?

I do not understand the following thing in SharePoint Provider Hosted Add-In development: When you create a SharePoint Provider Hosted Add-In you create a ClientId/-Secret and also for High Trust ...
0
votes
1answer
43 views

What exactly has to be done on a SharePoint 2013 Installation to allow F5 - debugging for provider hosted AddIns?

I have a provider hosted App I want to (F5)-Debug directly on a SharePoint 2013 Installation on a different server. The Admins asked me what has to be done on the farm so they can decide if it even ...
1
vote
2answers
277 views

How to get SPContext in my custom class in my app

I created an provider hosted app in vs. In the app I have a mvc web project. In the controller I have the SPContext and can do SP logic. I created some helper class. In this helper class I would also ...
1
vote
0answers
158 views

provider hosted App that is hosted in local IIS websites and linked to SharePoint Online?

How to develop a provider hosted App that is hosted in local IIS websites and linked to Office 365 / SharePoint Online? can anybody provide me helpful links Any help would be appreciated, Thanks
1
vote
0answers
295 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 ...
2
votes
1answer
1k views

How to generate App Registration data in SharePoint Online through PowerShell

Is it possible to register app through PowerShell on SharePoint Online(Office 365)? i.e the conventional way where registering app data(Client Id, Client Secret..) is done on AppRegNew.aspx page. I ...
1
vote
1answer
244 views

Where SharePoint installed app located in server?

I need to view and edit the SharePoint installed app files which is installed from SharePoint store .please suggest the app files located path in server.
0
votes
0answers
48 views

Unable to write the custom CSS for sharepoint 2013 app

I have added the SharePoint app from SharePoint 2013 App store.Also added that app in the custom page. I need to write the external CSS for that APP part.I have added the custom style sheet in the ...
0
votes
1answer
152 views

Why is my form validation fired initial in my mvc app part?

I have created an SharePoint MVC provider hosted App Part. In my app part I have a form. This form has 2 actions. One is the httpget action and the other is the httppost action. It looks like the ...
0
votes
1answer
32 views

Website for provider-hosted app

Environment: SharePoint Web Applications: Configured appcatalog and app url. No issues adding SharePoint-hosted apps or apps from the store. They all go to http://prefix-587436.CustomName-apps.ml I ...
1
vote
0answers
137 views

Update value in custom list that exists on SPHost for the SharePoint Provider hosted App

I have a Provider Hosted App from where I need to update a list item in the SPHost i.e the site where I have added this App. I have written my code in the JavaScript file but when I try executing it, ...
0
votes
1answer
183 views

Sharepoint-hosted app (SharePoint-hosted add-in) and Create a custom list

There was a kind of question or confusion I always had with the definition of what is an app (now called add-in). Also this confusion happens to me because of the name changes. You can have two types ...
0
votes
1answer
127 views

Some questions about SharePoint 2013 provider hosted app

I started to study how we can reproduce our project in a SharePoint 2013 app. I've made some test and I saw that the provider hosted app generates a normal web application that will be hosted outside ...